Home > DeveloperSection > Interviews > Explain the correct way to manage Outlets memory

Posted on    July-31-2015 11:28 PM

 iPhone iPhone  Ios  Objective C 
Ratings:
 1 Answer(s)
  401  View(s)
Rate this:

Tarun Kumar

Total Post:107

Points:535
Posted on    July-31-2015 11:28 PM

To manage Outlets memory at first create them as properties in the header that are retained and after In the viewDidUnload: method set the outlets to nil...

Ex:  self.outlet = nil;

Finally in dealloc make sure to release the outlet.


Modified On Jul-31-2015 11:34:30 PM

Don't want to miss updates? Please click the below button!

Follow MindStick