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 8700597
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T02:12:08+00:00 2026-06-13T02:12:08+00:00

Im starting iPhone developpement on Xcode and I don’t get what the difference between

  • 0

Im starting iPhone developpement on Xcode and I don’t get what the difference between a View and a View Controller is or between a Table View and a Table View Controller. Does anyone have a simple explanation?

  • 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-06-13T02:12:09+00:00Added an answer on June 13, 2026 at 2:12 am

    Lets get to the UIView and the UIViewController class first

    UIViewController is a Cocoa Touch class built for the purpose of managing UIViews. It expects to have a view hierarchy, but you don’t “automatically” get a view (this is slightly inaccurate; see edit below). Usually you will obtain views by calling initWithNibName on your view controller.

    There is some built-in magic in Interface Builder which knows that if File’s Owner is a UIViewController (or subclass), there is a property called view. That’s about it.

    Once you have linked a view controller and a view, the view controller does a fair amount of work for you: it registers as a responder for view touch events, registers for device rotation notifications (and handles them automatically, if you wish), helps you take care of some of the details of animation, and handles low-memory conditions semi-automatically.

    If you don’t call initWithNibName or set the view property manually, the view property getter will invoke loadView if view is nil. The default implementation of loadView will see if you’ve set nibBundle and nibName and attempt to load the view from there (which is why you don’t have to call initWithNibName, most of the time), but if those properties aren’t set, it will instantiate a UIView object with default values. So technically, yes, it does automatically come with its own UIView, but most of the time that’s of little value.

    Now coming to the TableView and the UITableViewController class

    A TableViewController is a ViewController with a TableView built in. This will have the delegate methods needed already declared and setup. This VC is already a TableView delegate and datasource. It cannot be resized. Upside is ease of use, downside is very limited flexibility.

    A TableView is just that a TableView (subclass of UIView). It can be added to a ViewController and resized, used alongside another view based object, etc. The upside is the flexibility, the downside is that you have to setup the delegate and datasource methods yourself (in my opinion, well worth the time to get the flexibility).

    One other note is that when using the new Static TableView cells (part of iOS5), you have to use a TableViewController.

    Also please check the following links for a detailed explanation of the methods.

    view and viewcontroller

    What are controller classes?

    What is the difference between UIView and UIViewController?

    What's the difference between the RootViewController, AppDelegate and the View Controller classes that I may create?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Does anyone have any good starting points for me when looking at making web
I'm starting out in iPhone development, and I'm trying to do a Contacts-style controller
I'm just starting out with Core Data and I have an iPhone Core Data
I'm somewhat familiar with Cocoa, Objective-C and iPhone Development using Xcode. I'm starting to
I am starting iPhone Development, I have already made 1 app with c and
Currently, I'm starting an iphone application development. So, I have to retrieve my C
I'm starting to develop for the iPhone. I have a beginner-type question, I'm sure:
I have made the mistake when starting the coding an iPhone App of not
Since starting with iPhone app development (last 9 months) I have only used IB.
I'm just starting iPhone development (coming fron a .Net world) and have been going

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.