Get Started
633

Q: Explain the correct way to manage Outlets memory?

  • Show Answer
  • Workspace

Answer :
Explanation :

Create them as properties in the header that are retained. In the viewDidUnload set the outlets to nil(i.e self.outlet = nil). Finally in dealloc make sure to release the outlet.

The Most Comprehensive Exam Preparation Platform

Get the Examsbook Prep App Today