Difference between retain and assign ?
Answer / babu
Assign and retain was used in manual memory management (MRC) environment.
assign to set a property’s pointer to the address of the object without retaining it. use weak to have the property point to nil automatically if the object assigned to it is deallocated .
Use retain by default and will manage the object’s reference count automatically whether another object is assigned to the property or it’s set to nil; In ARC you will use strong instead of retain.
| Is This Answer Correct ? | 0 Yes | 0 No |
Procedure to push the app in appstore?
When was ios invented?
How to download images in ios?
Differentiate between ‘assign’ and ‘retain’ keyword.
What are the popular apps of iphone?
Name and explain the iOS app states.
What manual memory management?
What is an NSOperationQueue and how/would you use it in iOS operating system?
What is notification in iOS?
0 Answers TryTechnicals Pvt Ltd,
What is nsmanagedobjectcontext? What are the different concurrency types? Explain them.
What is uiviewcontroller in ios?
Is it safe to update to ios 13?