What is strong and weak properties in iOS ?

Solution:

Strong:

Strong is used to describe a property that will never be return nil.It must had an amount of data.For example if you referred the Employer to employee you can do it as strong relationship.


Weak:

Weak is used to describe a property that if it returns nil or it will returns a data.It will never be a strong value.You can refer from employee to employer it will be less connected.

Comments

Popular posts from this blog

How to blink a button iOS swift?

Convert NsNumber, NSDate to String in iOS Swift

Parse the value from string value iOS swift