Answers

Question and Answer:

  Home  iOS Developer

⟩ What is difference between "assign" and "retain" keyword?

☛ Retain -Specifies that retain should be invoked on the object upon assignment. takes ownership of an object

☛ Assign - Specifies that the setter uses simple assignment. Uses on attribute of scalar type like float,int.

 151 views

More Questions for you: