Explain difference between mrc and arc?



Explain difference between mrc and arc?..

Answer / Babli Kumari

The main difference between Manual Reference Counting (MRC) and Automatic Reference Counting (ARC) in Apple iOS is how they manage memory. MRC is the traditional method where developers manually manage memory using retain, release, and autorelease methods. ARC, introduced in Xcode 4.2, automatically manages memory by adding and removing retain and release messages for objects as they are created, assigned, and released.nnMRC provides more control over the memory management process but requires more effort from developers, while ARC simplifies the process and reduces the chance of memory leaks.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Apple iOS Interview Questions

What is didreceivememorywarning method in you viewcontroller?

1 Answers  


What are most ios apps written in?

1 Answers  


Define cocoa?

1 Answers  


How would you create your own custom view?

1 Answers  


What is datasource in ios swift?

1 Answers  


What is the mean of not running state in ios?

1 Answers  


. Name the app sate which it reaches briefly on its way to being suspended

1 Answers  


Explain the difference between developer and enterprise developer accounts?

1 Answers  


What is lazy loading?

1 Answers  


Explain the difference between frame and bounds?

1 Answers  


Explain shallow copying and depth copying.

1 Answers  


What are ios apps written in?

1 Answers  


Categories