Explain the correct way to manage Outlets memory?5
633 5b5cc7d6e4d2b419777514f9
Q: Explain the correct way to manage Outlets memory?
- Show Answer
- Workspace
- Discuss
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.
Similar Questions
Since Nithya and Suganya exchange places, so Rita’s new position is the same as Monika’s earlier position. This position is 17th from the right and 10th from the left. Therefore Number of girls in the row = (16 + 1 + 9) = 26.