iOS Developer Question:
Download Job Interview Questions and Answers PDF
What is difference between "assign" and "retain" keyword?
Answer:
☛ 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.
☛ Assign - Specifies that the setter uses simple assignment. Uses on attribute of scalar type like float,int.
Download iOS Developer Interview Questions And Answers
PDF
Previous Question | Next Question |
Who invented Objective c? | What is difference between "protocol" and "delegate"? |