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

  • Home
  • SEARCH
  • 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 6025485
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T04:18:28+00:00 2026-05-23T04:18:28+00:00

I am new to Xcode and iOS development. when I create a new project,

  • 0

I am new to Xcode and iOS development. when I create a new project, automatically Xcode create many files ended with:
AppDelegate.h
AppDelegate.m
mainwindow.xlib
ViewController.h
ViewController.m
ViewController.xlib

What are these files?

  • 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-23T04:18:28+00:00Added an answer on May 23, 2026 at 4:18 am

    You should reference The Core Application Objects section of the Core Application Design.

    The role of objects in an iOS
    application

    UIApplication object (AppDelegate Related)

    The UIApplication object manages the
    application event loop and coordinates
    other high-level behaviors for your
    application. You use this object as
    is, mostly to configure various
    aspects of your application’s
    appearance. Your custom
    application-level code resides in your
    application delegate object, which
    works in tandem with this object.
    Application delegate object The
    application delegate is a custom
    object that you provide at application
    launch time, usually by embedding it
    in your application’s main nib file.
    The primary job of this object is to
    initialize the application and present
    its window onscreen. The UIApplication
    object also notifies this object when
    specific application-level events
    occur, such as when the application
    needs to be interrupted (because of an
    incoming message) or moved to the
    background (because the user tapped
    the Home button). For more information
    about this object, see “The
    Application Delegate.”

    Data model objects (These will be available when you include CoreData in your project)

    Data model objects store your
    application’s content and are
    therefore specific to your
    application. For example, a banking
    application might store a database
    containing financial transactions,
    whereas a painting application might
    store an image object or even the
    sequence of drawing commands that led
    to the creation of that image. (In the
    latter case, an image object is still
    a data object because it is just a
    container for the image data. The
    actual rendering of that image still
    takes place elsewhere in your
    application.)

    View controller objects (ViewController.h and ViewController.m are your source files and ViewController.xib is your interface builder file)

    View controller objects manage the
    presentation of your application’s
    content. Typically, this involves
    creating the views to present that
    content and managing the interactions
    between the views and your
    application’s data model objects. The
    UIViewController class is the base
    class for all view controller objects.
    It provides default functionality for
    animating the appearance of views,
    handling device rotations, and many
    other standard system behaviors. UIKit
    and other frameworks also define other
    view controller classes for managing
    standard system interfaces, such as
    navigation interfaces or the image
    picker. For detailed information about
    how to use view controllers, see View
    Controller Programming Guide for iOS.

    UIWindow object (mainwindow.xib is the interface builder file that links your window and other objects together with your AppDelegate)

    A UIWindow object coordinates the
    presentation of one or more views on
    the device screen or on an external
    display. Most applications have only
    one window, the content of which is
    provided by one or more views. An
    application changes the content of
    that window by changing the current
    set of views (usually with the help of
    a view controller object). In addition
    to hosting views, windows are also
    responsible for delivering events to
    those views and to their managing view
    controllers.

    View, control, and layer objects (These will belong to your view controllers)

    Views and controls provide the visual
    representation of your application’s
    content. A view is an object that
    draws content in a designated
    rectangular area and responds to
    events within that area. Controls are
    a specialized type of view responsible
    for implementing familiar interface
    objects such as buttons, text fields,
    and toggle switches. The UIKit
    framework provides standard views for
    presenting many different types of
    content. You can also define your own
    custom views by subclassing UIView (or
    its descendants) directly. In addition
    to incorporating views and controls,
    applications can also incorporate Core
    Animation layers into their view and
    control hierarchies. Layer objects are
    actually data objects that represent
    visual content. Views use layer
    objects intensively behind the scenes
    to render their content. You can also
    add custom layer objects to your
    interface to implement complex
    animations and other types of
    sophisticated visual effects.

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

Sidebar

Related Questions

Baby new to Xcode, Cocoa touch and iOS development in general. And am taking
I'm new to development using Xcode, and am having trouble using the built-in Leaks
I'm new to iOS development. From the book I'm reading, I understand that Outlets
I'm new to ios development and to stackoverflow. I did try searching both stackoverflow
fairly new to Objective-C and iOS development (coming from PHP) and I have a
Whenever I make a new file in xcode, it puts something like this at
When building a new iPhone app in Xcode, I'm getting this error: codesign error:
How would I change the initial templates created by Xcode when creating a new
I am new to iOS developement, and i am trying to understand the whole
I'm writing an app in XCode 3.2.3 for iOS 4. In my code, I

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.