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

Invalid bundle error while upload the app to the app Store

Saved Image in document directory and save path in coredata not able to fetch the image file iOS swift