Core OS
                OSX Kernel
   iOS          Mach 3.0
 Cocoa Touch    BSD
                Sockets
   Media        Security
                Power
Core Services   Management
                Keychain Access
  Core OS       Certificates
                File System
                Bonjour
Core Services
   iOS          Collections
                Address Book
 Cocoa Touch
                Networking
                File Access
   Media        SQLite
                Core Location
Core Services
                Net Services
  Core OS       Threading
                Preferences
                URL Utilities
Media
   iOS          Core Audio
                OpenAL
 Cocoa Touch
                Audio Mixing
                Audio Recording
   Media        Video Playback
                JPEG, PNG, TIFF
Core Services
                PDF
  Core OS       Quartz (2D)
                Core Animation
                OpenGL ES
Cocoa Touch
   iOS          Multi-Touch
                Core Motion
 Cocoa Touch    View Hierarchy
                Localization
   Media        Controls
                Alerts
Core Services   Web View
                Map Kit
  Core OS
                Image Picker
                Camera
MVC
                                       How your Model is presented
                                       to the user (UI logic)




What your application is (but         Your Controller’s minions
not how it is displayed)
Objective C
• Superset of the ANSI version of the C
• .h Header files
• .m Source files
• .mm Source files. A source file with this
  extension can contain C++ code in addition to
  Objective-C and C code
• #import Include header files in your source
  code
A class declaration
Methods




  - (void)insertObject:(id)anObject between:(id)aObject and:(id)bObject

[[myObject theArray] insertObject:[myAppObject objectToInsert] atIndex:0];
Class Defination
@implementation MyClass

- (id)initWithString:(NSString *)aName
{
   self = [super init];
   if (self) {
      name = [aName copy];
   }
   return self;
}

+ (MyClass *)createMyClassWithString: (NSString *)aName
{
   return [[self alloc] initWithString:aName];
}
@end

xCode presentation

  • 1.
    Core OS OSX Kernel iOS Mach 3.0 Cocoa Touch BSD Sockets Media Security Power Core Services Management Keychain Access Core OS Certificates File System Bonjour
  • 2.
    Core Services iOS Collections Address Book Cocoa Touch Networking File Access Media SQLite Core Location Core Services Net Services Core OS Threading Preferences URL Utilities
  • 3.
    Media iOS Core Audio OpenAL Cocoa Touch Audio Mixing Audio Recording Media Video Playback JPEG, PNG, TIFF Core Services PDF Core OS Quartz (2D) Core Animation OpenGL ES
  • 4.
    Cocoa Touch iOS Multi-Touch Core Motion Cocoa Touch View Hierarchy Localization Media Controls Alerts Core Services Web View Map Kit Core OS Image Picker Camera
  • 5.
    MVC How your Model is presented to the user (UI logic) What your application is (but Your Controller’s minions not how it is displayed)
  • 6.
    Objective C • Supersetof the ANSI version of the C • .h Header files • .m Source files • .mm Source files. A source file with this extension can contain C++ code in addition to Objective-C and C code • #import Include header files in your source code
  • 7.
  • 8.
    Methods -(void)insertObject:(id)anObject between:(id)aObject and:(id)bObject [[myObject theArray] insertObject:[myAppObject objectToInsert] atIndex:0];
  • 9.
    Class Defination @implementation MyClass -(id)initWithString:(NSString *)aName { self = [super init]; if (self) { name = [aName copy]; } return self; } + (MyClass *)createMyClassWithString: (NSString *)aName { return [[self alloc] initWithString:aName]; } @end