ios-mobile-app-development-intro

  • 730 views
Uploaded on

Presentation on iOS App developement by Remesh Govind - Manager and Real Consulting ( http://www.rekonsult.com )

Presentation on iOS App developement by Remesh Govind - Manager and Real Consulting ( http://www.rekonsult.com )

More in: Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
730
On Slideshare
0
From Embeds
0
Number of Embeds
4

Actions

Shares
Downloads
5
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. Mobile AppDevelopmentWith Apple iOS-Presented By Remesh Govind.
  • 2. Mobile History● Mobiles have moved up with capabilities● Simple Mobile● To More Compact● To Smart Phones● Operating Systems ○ Embedded (custom) ○ J2ME ○ Android ○ Apple iOS ○ Symbian ○ BlackBerry OS
  • 3. J2MEJava BasedPortable (based on version) -- Connected Limited Device Configuration (CLDC)Does not have many classes from J2SE● JVMs● Brew● Sun● Other Vendor
  • 4. AndroidGoogle TechOpen Handset Alliance based ( AT&T, Verizonetc)Open SourceJava and Non Java based development.Java - SDKNon-Java- NDK ( Native Development Kit )
  • 5. SymbianSymbian ( 2009 - Royalty Free - SymbianFoundation)Symbian acquired by Nokia- Nokia acquires QT.- Adds QT Support to SymbianExcellent Platform- J2ME Support- C/C++ based development
  • 6. BlackBerryBlackberry.Excellent Devices for Business.- IMHO this is a panic reaction- Not doing so well ( BB tab was being sold a15 K INR last XMas)- Java Based development- Limited API- Need you to consume BB service.
  • 7. Apple ( iOS 5.x)Apple uses ARM based ProcessorsOperating System is called iOS.Current Major Version 5.xLast hardware released- The New iPad.-- Has more resolution than a HD TV !!-- Same from factor( almost ) !!
  • 8. Devices that can be usediPhone 3- iPhone 3 arm v6,- 3GS armv7iPhone 4iPad ( iPad , iPad 2 the new iPad) - Ax- new iPad uses Arm A5X processor- iPod - 4th Gen +
  • 9. What is needed● Apple Mac Box● Apple iOS Device● Apple Xcode
  • 10. Tools● XCode ○ IDE● Instruments ○ Testing and Analytics Tool● Interface Builder ○ User To build UI ( .xib ) files● Language Objective C
  • 11. ApplicationEntry Point-main()● Create Applciation Class Object● Create Delegate to manage Application Events● Create Views ( Screens) ○ Manage Event Life cycles
  • 12. Views - Life Cycle● init /initWithNibName● didLoad● willAppear● didAppear● shouldAutorotateToInterfaceOrientation● viewWillDisappear● viewDidUnload● didReceiveMemoryWarning ( any time !)
  • 13. Fences● Application load ○ Has 20 secs to start ○ Any Later - App will be Killed/ operation stopped.● Forbes 214 Million app launch tests ○ iOS Likely to crash more often than Android.
  • 14. Crash Reports on StartSource : Forbes
  • 15. Plan for crashesSave User Data.- Database- App Storage ( NSUserDefaults / AndroidSharedPreferenes )
  • 16. DemoCreation of Simple App- Tool XCode- Lets Watch the demo
  • 17. DataTypesCommon (C / C++)intlongfloatdoublechatObjects:NSStringNSArray/ NSMutableArrayMore .....
  • 18. Hello World- (void)viewDidLoad{ [super viewDidLoad]; // Release any retained subviews of the mainview. NSLog( "Hello World");}
  • 19. Interface BuilderCreate UI ● Different For iPad and iPhone ● App needs to detect current device & orientationOrientation : Human Interface Guidelines -Support Both versions of same orientationatleast. ● LandscapeLeft/LandScapeRight ● Portrait / PortraitUpsideDown
  • 20. Orientation Demo-(BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation{ return (interfaceOrientation == UIInterfaceOrientationPortrait ||interfaceOrientation == UIInterfaceOrientationPortraitUpsideDown );}
  • 21. Button ClickHello World ButtonButton Types Image[btnSend setImage:[UIImage imageNamed:@"home.png"] forState:UIControlStateNormal];Rounded Rect:[btnSave setTitle:@"Go" forState:UIControlStateNormal];DEMO !
  • 22. Universal Apps● Universal AppsDemo !
  • 23. Load a new ViewDemo!
  • 24. More Demos and Discussions if time permits!