Home » Interview » Technology

Explain the correct way to manage Outlets memory?

Correct Answer: Create them as properties in the header that are retained In the viewDidUnload set the outlets to nil(ie selfoutlet = nil) Finally in dealloc make sure to release the outlet

← Previous Question Next Question→

Discussion & Comments

No comments yet. Be the first to comment!
Join Discussion