Is anybody know, how nib controls is deallocated if they has no IBOutlets?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Anything in a nib that is not at the top level (e.g. a button inside a view) and has no outlet will be deallocated when the superview is deallocated.
In an ARC project outlets should be weak anyway, so they will revert to nil when the superview is deallocated.
You don’t need outlets just for the purpose of deallocation.