Mobile Software Engineering Crash Course - C05 iOS Intro

894 views

Published on

0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
894
On SlideShare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
27
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Mobile Software Engineering Crash Course - C05 iOS Intro

  1. 1. Mobile SoftwareEngineering L05 - iOS Mohammad Shaker FIT of Damascus - AI dept.MohammadShakerGtr@gmail.com Mobile SE – August 2012
  2. 2. iOS frameworks• Address Book UI Framework• Event Kit UI Framework• Game Kit Framework• iAd Framework• Map Kit Framework• Message UI Framework• UIKit Framework• ...
  3. 3. MVC
  4. 4. iOS Dev Centerhttps://developer.apple.com/devcenter/ios/
  5. 5. C
  6. 6. printf
  7. 7. Data Structure• pointers• Struct• Enum• arrays
  8. 8. Objective-C
  9. 9. Data TypesBOOLidnil...
  10. 10. Foundation Data Types• NSInteger• NSPoint• NSRect• NSSize• NSUInteger• ...
  11. 11. .h, Define a class – interface
  12. 12. .m, Implementation
  13. 13. Instance Variables
  14. 14. Class Methods+alloc;
  15. 15. Funcation Calls - Messages
  16. 16. Instance Methods
  17. 17. Messages
  18. 18. @property
  19. 19. @synthesize
  20. 20. Collections• NSArray• NSMutableArray• NSDictionary• NSMutableDictionary• NSSet• NSMutableSet• …https://developer.apple.com/documentation/Cocoa/Reference/Foundation/Classes/NSMutableArray_Class/
  21. 21. Fast Enumeration
  22. 22. Localization• Multi language• Android, iPhone, iPad.
  23. 23. The iPad
  24. 24. Specs• 1st generation • 1st generation 1 GHz Apple A4 256 MB DDR RAM• 2nd generation • 2nd generation 1 GHz Apple A5 512 MB DDR2 RAM• 3rd generation • 3rd generation 1 GHz Apple A5X 1 GB DDR2 RAMhttp://en.wikipedia.org/wiki/IPad
  25. 25. Core Graphics
  26. 26. Core Graphics The bad way :D
  27. 27. Core GraphicsXcode OpenGL template
  28. 28. Resolution• iPhone, iPod touch 320 x 480• iPad – 1st & 2nd generation 1024 × 768 px – 3rd generation 2048×1536 px (Way better than your laptop)
  29. 29. Done,Feel free to ask

×