What is the difference between using xib and adding page elements via code?
How the memory is allocated if I am using an xib?
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.
The only real difference I know about is that using code is awesome and is recommended for beginners in order them to understand how UIKit works.
Just like as if you were creating the objects manually, except that, for example, it won’t be your view controller that performs
[[UIImageView alloc] init]but a default factory class in UIKit (most likely some private subclass ofNSCoder).