狠狠撸

狠狠撸Share a Scribd company logo
iPhone OS

 Beta
   http://club.blogbeta.com
        twitter: @betasalon

            Tinyfool
    http://tinydust.net/dev
iPhone OS

            Tinyfool@gmail.com
            http://tinydust.net/dev

            http://twitter.com/tinyfool
Keynote
?

?          iPhone

? iPhone
iPhone OS
iPhone
?         : ARM 11, DSP,baseband chip
? 3D
?         128M. 8G/16G Flash

? Multi-touch
? Wi-Fi
iPhone OS
?   2007   6        iPhone

?   2007   8   -9             SDK

?   2008   1                 Macworld2008        iPhone
    SDK

?   2008   3        iPhone SDK Beta

?   2008   7        iPhone Developer Program AppStore
Vs

?
?
?
? App Store
SDK
? Intel     Mac

? Mac OS X 10.5.5
? iPhone SDK Xcode, Interface Builder,
    Instruments

?                 iPhone   iPod Touch
Xcode   Interface Builder   Instruments
iPhone OS


?          Mac OS X
Mac OS X

                             Cocoa

                             Media

                          Core Services

                            Core OS




Thursday, April 2, 2009
Mac OS X

                   Cocoa                                   iPhone OS

                   Media                                  Cocoa Touch

                Core Services                                Media

                  Core OS                                 Core Services

                                                            Core OS




April 2, 2009
                                Thursday, April 2, 2009
iPhone OS
                OS X
Cocoa Touch
                Mach 3.0
   Media
                BSD
Core Services   Socket
  Core OS                  Bonjour
iPhone OS
Cocoa Touch

   Media

Core Services

  Core OS
                SQLite
iPhone OS
                         JPG,PNG,TIFF
Cocoa Touch
                OpenAL   PDF
   Media                 Quartz(2D)
Core Services

  Core OS                OpenGL ES
iPhone OS
                Multi-Touch
Cocoa Touch
                Multi-Touch   Web
   Media

Core Services

  Core OS
iPhoneOS
?   Core OS Layer
    System, Security, External Accessory*, CFNetwork

?   Core Services Layer
    System Con?guration, Store Kit*, Mobile Core Services,
    Foundation, CoreData*, Core Location, Core
    Foundation, Address Book

?   Media Layer
    Audio Toolbox, Audio Unit, AV Foundation, Core Audio,
    Core Graphics, Media Player, OpenGL ES, Quartz Core

?   Cocoa Touch Layer
    UIKit, Message UI, Map Kit*, Game Kit*, Address Book UI
iPhone OS 3.0

   app


   Apple



            iPod
Objective-C
?
? ANSI C
? Next
? Mac
?
Objective-C
? .h
? .m
  Objective-C C

? .mm             Objective-C C
                  C++
Objective-C

?   C

?        NSString

?       @ NSString *test=@”test”;
iPhone Os开发介绍
iPhone Os开发介绍
? MyClass* myObject1; //
? id       myObject2;//
?        -(void)insertObject:(id)anObject atIndex:
    (NSUInteger)index;

?        [myArray insertObject:anObj atIndex:0];

?        [[myAppObject getArray] insertObject:
    [myAppObject getObjectToInsert] atIndex:0];
iPhone Os开发介绍
Demo

More Related Content

iPhone Os开发介绍

  • 1. iPhone OS Beta http://club.blogbeta.com twitter: @betasalon Tinyfool http://tinydust.net/dev
  • 2. iPhone OS Tinyfool@gmail.com http://tinydust.net/dev http://twitter.com/tinyfool
  • 3. Keynote ? ? iPhone ? iPhone
  • 5. iPhone ? : ARM 11, DSP,baseband chip ? 3D ? 128M. 8G/16G Flash ? Multi-touch ? Wi-Fi
  • 6. iPhone OS ? 2007 6 iPhone ? 2007 8 -9 SDK ? 2008 1 Macworld2008 iPhone SDK ? 2008 3 iPhone SDK Beta ? 2008 7 iPhone Developer Program AppStore
  • 8. SDK ? Intel Mac ? Mac OS X 10.5.5 ? iPhone SDK Xcode, Interface Builder, Instruments ? iPhone iPod Touch
  • 9. Xcode Interface Builder Instruments
  • 10. iPhone OS ? Mac OS X
  • 11. Mac OS X Cocoa Media Core Services Core OS Thursday, April 2, 2009
  • 12. Mac OS X Cocoa iPhone OS Media Cocoa Touch Core Services Media Core OS Core Services Core OS April 2, 2009 Thursday, April 2, 2009
  • 13. iPhone OS OS X Cocoa Touch Mach 3.0 Media BSD Core Services Socket Core OS Bonjour
  • 14. iPhone OS Cocoa Touch Media Core Services Core OS SQLite
  • 15. iPhone OS JPG,PNG,TIFF Cocoa Touch OpenAL PDF Media Quartz(2D) Core Services Core OS OpenGL ES
  • 16. iPhone OS Multi-Touch Cocoa Touch Multi-Touch Web Media Core Services Core OS
  • 17. iPhoneOS ? Core OS Layer System, Security, External Accessory*, CFNetwork ? Core Services Layer System Con?guration, Store Kit*, Mobile Core Services, Foundation, CoreData*, Core Location, Core Foundation, Address Book ? Media Layer Audio Toolbox, Audio Unit, AV Foundation, Core Audio, Core Graphics, Media Player, OpenGL ES, Quartz Core ? Cocoa Touch Layer UIKit, Message UI, Map Kit*, Game Kit*, Address Book UI
  • 18. iPhone OS 3.0 app Apple iPod
  • 19. Objective-C ? ? ANSI C ? Next ? Mac ?
  • 20. Objective-C ? .h ? .m Objective-C C ? .mm Objective-C C C++
  • 21. Objective-C ? C ? NSString ? @ NSString *test=@”test”;
  • 24. ? MyClass* myObject1; // ? id myObject2;//
  • 25. ? -(void)insertObject:(id)anObject atIndex: (NSUInteger)index; ? [myArray insertObject:anObj atIndex:0]; ? [[myAppObject getArray] insertObject: [myAppObject getObjectToInsert] atIndex:0];
  • 27. Demo

Editor's Notes