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.
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
Post a Comment