0
Presented by Vu Tran Lam
Introduction to
iPhone Programming
Thursday, March 21, 13
The Beginning of Apple’s Story
From This Man...
Thursday, March 21, 13
...in 1980 Steve Jobs Recounted
The Following Story...
a few years before the Macintosh…
Thursday, March 21, 13
released 1984
...and That’s Exactly What We’re Doing Here
Thursday, March 21, 13
The Computer Was Just
The Beginning...
Thursday, March 21, 13
6
Steve Timeline...
Thursday, March 21, 13
Steve Timeline...
Thursday, March 21, 13
8
Steve Timeline...
Thursday, March 21, 13
Steve timeline...Steve Timeline...
Thursday, March 21, 13
To Be Continue...
Thursday, March 21, 13
Thursday, March 21, 13
welcome to the future
Thursday, March 21, 13
Yesterday
“Go to the computer”
to use the web/Internet
Thursday, March 21, 13
Yesterday
“Go to the computer”
to use the web/Internet
Today
“Use the mobile”
to use the web/Internet
Thursday, March 21, ...
Thursday, March 21, 13
...in The Old Days
Thursday, March 21, 13
...in The Old Days
Thursday, March 21, 13
...in The Old Days
Thursday, March 21, 13
...in The Old Days
Thursday, March 21, 13
Mobile Development...
Thursday, March 21, 13
iOS Developers
Mobile Development...
Thursday, March 21, 13
...Develop Mobile App
IMPOSSIBLE
Thursday, March 21, 13
iPhone app development
Really Bloody Difficult...
This Technique is
Thursday, March 21, 13
23
Ways...?
Thursday, March 21, 13
24
...Ask Guru?
Thursday, March 21, 13
Apple Developer Center
Thursday, March 21, 13
Thursday, March 21, 13
Mac OS X
Thursday, March 21, 13
Unix History
Thursday, March 21, 13
Apple OS History
Thursday, March 21, 13
• Mac OS X is the first real replacement for the older Mac
OS, based on the OPENSTEP (NEXTSTEP) from NeXT.
• NeXT Computer ...
Mac OS X Family
10.6 10.7 10.8
Thursday, March 21, 13
Mac OS X Architecture
Thursday, March 21, 13
Mac OS X Architecture
Thursday, March 21, 13
Mac OS X Architecture
Thursday, March 21, 13
Mac OS X Architecture
Thursday, March 21, 13
Mac OS X Architecture
Thursday, March 21, 13
Mac OS X Architecture
Thursday, March 21, 13
Mac OS X Architecture
Thursday, March 21, 13
With easy-to-use interface, amazing features, and rock-solid stability,
iOS is the foundation of iPhone, iPad, and iPod to...
iOS Architecture
Thursday, March 21, 13
iOS Family
Thursday, March 21, 13
iOS Architecture
Thursday, March 21, 13
Cocoa Fundamentals
Thursday, March 21, 13
• Cocoa is an application environment for both the OS X
and iOS, the operating system used on Multi-Touch
devices such as ...
• Two core Objective-C frameworks:
• AppKit: provides the user interface objects and defines the
structure for application ...
• Application framework layer of iOS is called Cocoa Touch.
• Cocoa Touch frameworks that drive iOS apps share many
proven...
• General migration notes
• Migrating your data model
• Migrating your user interface
• Memory management
• Framework diff...
• Provides the classes
needed to construct
and manage GUI for iOS
• Provides an application
object, event handling,
drawin...
• Define a base layer of Objective-C
classes
• Provide a small set of basic utility
classes
• Make software development eas...
iOS Developer Tools
Thursday, March 21, 13
Xcode
Xcode is the complete toolset for building
OS X and iOS applications. Xcode 4 has been
redesigned to be faster and e...
iOS SDK
The iOS Simulator runs your application
in much the same way as an actual iOS
device.
iOS 6 SDK provides support f...
iOS Simulator
Thursday, March 21, 13
Instruments
To ensure that you deliver the best user
experience, the Instruments lets you analyze
the performance of your ...
Thursday, March 21, 13
Thursday, March 21, 13
Thursday, March 21, 13
Thursday, March 21, 13
Thursday, March 21, 13
Thursday, March 21, 13
Thursday, March 21, 13
Thursday, March 21, 13
Thursday, March 21, 13
64
Thursday, March 21, 13
Thursday, March 21, 13
Setup Windows Environment
Thursday, March 21, 13
CPU: Core i5
RAM: 4GB
OS: Windows 7
HDD: Free 20GB
Setup Windows Environment
Install VMware Workstation 8 to
create a virt...
Start Your First iPhone App
Thursday, March 21, 13
Thursday, March 21, 13
Thursday, March 21, 13
Next...
Thursday, March 21, 13
Objective-C...
Thursday, March 21, 13
many thanks
to
Thank you
lamvt@fpt.com.vn
please
say
Stanford University
https://developer.apple.com
Developer Center
http...
Upcoming SlideShare
Loading in...5
×

Introduction to iPhone Programming

463

Published on

Introduction to iPhone Programming

Published in: Technology
0 Comments
3 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
463
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
26
Comments
0
Likes
3
Embeds 0
No embeds

No notes for slide

Transcript of "Introduction to iPhone Programming "

  1. 1. Presented by Vu Tran Lam Introduction to iPhone Programming Thursday, March 21, 13
  2. 2. The Beginning of Apple’s Story From This Man... Thursday, March 21, 13
  3. 3. ...in 1980 Steve Jobs Recounted The Following Story... a few years before the Macintosh… Thursday, March 21, 13
  4. 4. released 1984 ...and That’s Exactly What We’re Doing Here Thursday, March 21, 13
  5. 5. The Computer Was Just The Beginning... Thursday, March 21, 13
  6. 6. 6 Steve Timeline... Thursday, March 21, 13
  7. 7. Steve Timeline... Thursday, March 21, 13
  8. 8. 8 Steve Timeline... Thursday, March 21, 13
  9. 9. Steve timeline...Steve Timeline... Thursday, March 21, 13
  10. 10. To Be Continue... Thursday, March 21, 13
  11. 11. Thursday, March 21, 13
  12. 12. welcome to the future Thursday, March 21, 13
  13. 13. Yesterday “Go to the computer” to use the web/Internet Thursday, March 21, 13
  14. 14. Yesterday “Go to the computer” to use the web/Internet Today “Use the mobile” to use the web/Internet Thursday, March 21, 13
  15. 15. Thursday, March 21, 13
  16. 16. ...in The Old Days Thursday, March 21, 13
  17. 17. ...in The Old Days Thursday, March 21, 13
  18. 18. ...in The Old Days Thursday, March 21, 13
  19. 19. ...in The Old Days Thursday, March 21, 13
  20. 20. Mobile Development... Thursday, March 21, 13
  21. 21. iOS Developers Mobile Development... Thursday, March 21, 13
  22. 22. ...Develop Mobile App IMPOSSIBLE Thursday, March 21, 13
  23. 23. iPhone app development Really Bloody Difficult... This Technique is Thursday, March 21, 13
  24. 24. 23 Ways...? Thursday, March 21, 13
  25. 25. 24 ...Ask Guru? Thursday, March 21, 13
  26. 26. Apple Developer Center Thursday, March 21, 13
  27. 27. Thursday, March 21, 13
  28. 28. Mac OS X Thursday, March 21, 13
  29. 29. Unix History Thursday, March 21, 13
  30. 30. Apple OS History Thursday, March 21, 13
  31. 31. • Mac OS X is the first real replacement for the older Mac OS, based on the OPENSTEP (NEXTSTEP) from NeXT. • NeXT Computer Inc. is named the company that was set up by Steve Jobs in 1985 is taken by Apple completely for 400 million dollars in 1997. Mac OS X History Thursday, March 21, 13
  32. 32. Mac OS X Family 10.6 10.7 10.8 Thursday, March 21, 13
  33. 33. Mac OS X Architecture Thursday, March 21, 13
  34. 34. Mac OS X Architecture Thursday, March 21, 13
  35. 35. Mac OS X Architecture Thursday, March 21, 13
  36. 36. Mac OS X Architecture Thursday, March 21, 13
  37. 37. Mac OS X Architecture Thursday, March 21, 13
  38. 38. Mac OS X Architecture Thursday, March 21, 13
  39. 39. Mac OS X Architecture Thursday, March 21, 13
  40. 40. With easy-to-use interface, amazing features, and rock-solid stability, iOS is the foundation of iPhone, iPad, and iPod touch. Thursday, March 21, 13
  41. 41. iOS Architecture Thursday, March 21, 13
  42. 42. iOS Family Thursday, March 21, 13
  43. 43. iOS Architecture Thursday, March 21, 13
  44. 44. Cocoa Fundamentals Thursday, March 21, 13
  45. 45. • Cocoa is an application environment for both the OS X and iOS, the operating system used on Multi-Touch devices such as iPhone, iPad, and iPod touch. • Cocoa consists of a suite of object-oriented software libraries, a runtime system, and an integrated development environment. What is Cocoa? Thursday, March 21, 13
  46. 46. • Two core Objective-C frameworks: • AppKit: provides the user interface objects and defines the structure for application behavior, including event handling and drawing • Foundation: defines the basic behavior of objects, establishes mechanisms to manage and provide objects for primitive data types, collections, and operating-system services How Cocoa Fits into OS X? Thursday, March 21, 13
  47. 47. • Application framework layer of iOS is called Cocoa Touch. • Cocoa Touch frameworks that drive iOS apps share many proven patterns found on Mac OS, but it has special focus on touch-based interfaces and optimization. • UIKit provides the basic tools you need to implement graphical, event-driven applications in iOS. • UIKit builds on the same Foundation framework infrastructure found on the Mac OS X, including file handling, networking, string building, and more. How Cocoa Fits into iOS? Thursday, March 21, 13
  48. 48. • General migration notes • Migrating your data model • Migrating your user interface • Memory management • Framework differences • UIKit versus AppKit • Foundation framework differences • Changes to other frameworks Migrating from Cocoa to Cocoa Touch Thursday, March 21, 13
  49. 49. • Provides the classes needed to construct and manage GUI for iOS • Provides an application object, event handling, drawing model, windows, views, and controls specifically designed for a touch screen interface UIKit Framework Thursday, March 21, 13
  50. 50. • Define a base layer of Objective-C classes • Provide a small set of basic utility classes • Make software development easier by introducing consistent conventions for things such as deallocation • Support Unicode strings, object persistence, and object distribution. • Provide a level of OS independence, to enhance portability. Foundation Framework Thursday, March 21, 13
  51. 51. iOS Developer Tools Thursday, March 21, 13
  52. 52. Xcode Xcode is the complete toolset for building OS X and iOS applications. Xcode 4 has been redesigned to be faster and easier to use. Thursday, March 21, 13
  53. 53. iOS SDK The iOS Simulator runs your application in much the same way as an actual iOS device. iOS 6 SDK provides support for developing iOS apps, and it includes the complete set of Xcode tools, compilers, and frameworks for creating apps for iOS and OS X. Thursday, March 21, 13
  54. 54. iOS Simulator Thursday, March 21, 13
  55. 55. Instruments To ensure that you deliver the best user experience, the Instruments lets you analyze the performance of your iOS applications while running in Simulator or on a device. Thursday, March 21, 13
  56. 56. Thursday, March 21, 13
  57. 57. Thursday, March 21, 13
  58. 58. Thursday, March 21, 13
  59. 59. Thursday, March 21, 13
  60. 60. Thursday, March 21, 13
  61. 61. Thursday, March 21, 13
  62. 62. Thursday, March 21, 13
  63. 63. Thursday, March 21, 13
  64. 64. Thursday, March 21, 13
  65. 65. 64 Thursday, March 21, 13
  66. 66. Thursday, March 21, 13
  67. 67. Setup Windows Environment Thursday, March 21, 13
  68. 68. CPU: Core i5 RAM: 4GB OS: Windows 7 HDD: Free 20GB Setup Windows Environment Install VMware Workstation 8 to create a virtual machine, and perform common virtual machine operations Install OS X Mountain Lion on VMware Workstation 8 to deploy iOS development environment Thursday, March 21, 13
  69. 69. Start Your First iPhone App Thursday, March 21, 13
  70. 70. Thursday, March 21, 13
  71. 71. Thursday, March 21, 13
  72. 72. Next... Thursday, March 21, 13
  73. 73. Objective-C... Thursday, March 21, 13
  74. 74. many thanks to Thank you lamvt@fpt.com.vn please say Stanford University https://developer.apple.com Developer Center http://www.stanford.edu/class/cs193p xin chào References http://az4you.wordpress.com https://www.slideshare.net/vutlam9083/introduction-to-iphone- programming/ Thursday, March 21, 13
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×