Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

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.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3786222
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T11:38:58+00:00 2026-05-19T11:38:58+00:00

this is a quite general question but i want to understand this please –

  • 0

this is a quite general question but i want to understand this please –

I usually build my apps without using IB.

  1. what are, the cons and pros of using IB vs. creating interface programmatically?
  2. what oppressions/code fits the init method and what is for the loadView method?
  3. is there any difference between loadView an ViewDidLoad or do i need to use only one of them?

thanks
shani

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-19T11:38:59+00:00Added an answer on May 19, 2026 at 11:38 am
    1. Pros are it’s quicker to get off the ground, you can adjust the positions of subviews usually quicker and definitely easier. Cons: You are limited to what you can do in Interface Builder, which is less than you can achieve in code almost always. Plus the interaction between how some views behave out of IB can catch new users.
    2. init and its namesakes should only be used for setting sane defaults of ivars. loadView is used for setting up the view hierarchy, starting with the backing view of your view controller. I.e., a special note; don’t reference the self.view property unless you are setting it, this will cause an infinite loop. Just a friendly protip.
    3. As mentioned before loadView is used to set up your backing view (it must be created by you if you override it), and viewDidLoad is called after the view has been loaded (after loadView is called). You do the appropriate items in the appropriate spots.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using ASP.NET MVC2 and C#, but this question applies to ASP.NET in general.
this is a general question regarding XSLT, but since I could not find an
I'm working in AS3, but I guess this could be a general question, so
This is a cgal related question, but I think it is also a general
I've seen this quite a few times while using Office Interop classes this.CustomXMLParts.Add(MyResources.Data, new
I have this quite popular problem, but have failed to find a solution that
I've edited this quite a bit and bolded my question at this point. I
I know I'm not asking this quite right, either. Please help me better form
This could quite possibly be the dumbest question ever asked. Our client wants us
This is quite weird but my search function can search for any word except

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.