MCQs > IT & Programming > IOS Technical Test > Difference between assign and retain in Objective-C?

IOS Technical Test MCQs

What is the difference between assign and retain in Objective-C?

Answer

Correct Answer: assign - Specifies that the setter uses simple assignment. This is the default. retain - Specifies that retain should be invoked on the object upon assignment. The previous value is sent a release message.

Explanation:

Note: This Question is unanswered, help us to find answer for this one

IOS Technical Test Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

IOS Technical Test Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it