I os2 2


Published on

This is the first lecture in the iPhone Course in FCI - Cairo University by PiTechnologies

This is part two of the first day about "Introduction to iOS"

Published in: Education
  • Be the first to comment

  • Be the first to like this

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide

I os2 2

  1. 1. iOS 2 A H M E D Y O S S E FPiTechnologies
  2. 2. AgendaiOS ArchitectureCocoa Touch LayerMedia LayerCore Services LayerCore OSMost Used WWW.PITECHNOLOGIES.NET
  3. 3. iOS Architecture
  4. 4. iOS Layers Cocoa Touch Layer Objective-C Media Layer Objective-C Core Service Layer C Core OS Layer C WWW.PITECHNOLOGIES.NET
  5. 5. What is LayerLayer is a group of frameworks, has commonpurpose.In general you don’t use all layers, you also don’tuse all frameworks in certain used layer. WWW.PITECHNOLOGIES.NET
  6. 6. What is Framework ?Framework: is a directory that contains a dynamicshared library and the resources (such as headerfiles, images, helper applications, and so on)needed to support that library.Framework: helps you to write applicationsindependent of the hardware. WWW.PITECHNOLOGIES.NET
  7. 7. Core OS Layer
  8. 8. Layer RoleThe Core OS layer contains the low-level featuresthat most other technologies are built upon. Evenif you do not use these technologies directly inyour applications, they are most likely being usedby other frameworks. And in situations where youneed to explicitly deal with security orcommunicating with an external hardwareaccessory, you do so using the frameworks in thislayer. WWW.PITECHNOLOGIES.NET
  9. 9. Main FrameworksAccelerate.frameworkExternalAccessory.frameworkSecurity.frameworkSystem.framework Threading, Networking, Files IO, Standard IO, Memory and Math WWW.PITECHNOLOGIES.NET
  10. 10. Core Service Layer
  11. 11. Layer RoleThe Core Services layer contains the fundamentalsystem services that all applications use. Even ifyou do not use these services directly, many partsof the system are built on top of them. WWW.PITECHNOLOGIES.NET
  12. 12. Main FrameworksAddress Book framework (AddressBook.framework)CFNetwork Framework (CFNetwork.framework)Core Data Framework (CoreData.framework)Core Foundation Framework(CoreFoundation.framework)Core Media Framework (CoreMedia.framework)Core Telephony Framework (CoreTelephony.framework) WWW.PITECHNOLOGIES.NET
  13. 13. Main FrameworksEventKit Framework (EventKit.framework)Foundation Framework (Foundation.framework)Core Location Framework (CoreLocation.framework)Mobile Core Services Framework(MobileCoreServices.framework)Store Kit Framework (StoreKit.framework)SQLite librarySystem Configuration Framework (SystemConfiguration.framework)Quick Look Framework (QuickLook.framework) WWW.PITECHNOLOGIES.NET
  14. 14. Media Layer
  15. 15. Layer RoleThe Media layer contains the graphics, audio, andvideo technologies geared toward creating thebest multimedia experience available on a mobiledevice. The technologies in this layer weredesigned to make it easy for you to buildapplications that look and sound great. WWW.PITECHNOLOGIES.NET
  16. 16. Main Frameworks -VideoCore Video (CoreVideo.framework)Core Text Framework (CoreText.framework)Image I/O Framework (ImageIO.framework)Assets Library Framework (AssetsLibrary.framework)Core Graphics Framework (CoreGraphics.framework)Quartz Core Framework (QuartzCore.framework)OpenGL ES framework (OpenGLES.framework) WWW.PITECHNOLOGIES.NET
  17. 17. Main Frameworks -AudioAV Foundation framework(AVFoundation.framework)Core Audio Frameworks (CoreAudio.framework,AudioToolbox.framework and AudioUnit.framework)Open Audio Library (OpenAL)Media Player framework (MediaPlayer.framework)Core Midi Framework (CoreMIDI.framework) WWW.PITECHNOLOGIES.NET
  18. 18. Cocoa Touch Layer
  19. 19. Layer RoleThe Cocoa Touch layer contains the keyframeworks for building iOS applications. Thislayer defines the basic application infrastructureand support for key technologies such asmultitasking, touch-based input, pushnotifications, and many high-level system services.When designing your applications, you shouldinvestigate the technologies in this layer first tosee if they meet your needs. WWW.PITECHNOLOGIES.NET
  20. 20. Main FrameworksAddressBookUI.frameworkEventKitUI.frameworkGameKit.frameworkiAd.frameworkMapKit.frameworkMessageUI.frameworkUIKit.framework WWW.PITECHNOLOGIES.NET
  21. 21. Most Used
  22. 22. Most Used FrameworksDuring development you mainly need twoframeworks: UIKit framework - Cocoa framework Foundation framework - Core service framework WWW.PITECHNOLOGIES.NET
  23. 23. UIKit.framework The UIKit framework (UIKit.framework) provides the key infrastructure for implementing graphical, event-driven applications in iOS Main Features: User interface, Graphics Touch events WWW.PITECHNOLOGIES.NET
  24. 24. Foundation.frameworkThe Foundation framework (Foundation.framework) provides Objective-Cwrappers to many of the features found in the Core Foundation frameworkMain Features: Collection data types (arrays, sets, and so on) String management, Date and time management Raw data block management Preferences management URL and stream manipulation Threads and run loops WWW.PITECHNOLOGIES.NET