Interviewer And Interviewee Guide

iOS Developer Interview Question:

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

Submitted by: Muhammad
☛ 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.
Submitted by: Muhammad

Read Online iOS Developer Job Interview Questions And Answers
Copyright 2007-2024 by Interview Questions Answers .ORG All Rights Reserved.
https://InterviewQuestionsAnswers.ORG.