Upload
husyn-raj
View
66
Download
0
Tags:
Embed Size (px)
DESCRIPTION
Presentation on mobile applications and games both iOS and Android and basic comparison between them
Citation preview
iOS Apps/Cocos2d Games
Hussain Mansoor
BS from FAST in ’11
App/Game Dev (Folio3)
Folio3 (Mobile) Clients• SAP
• Standard Chartered
• Wanna Play
• Secret Builders (Game Pub. / 4rth largest Virtual world)
• First Republic Bank
• Net Suite (ERP)
Other Few..
• Apple iTunes
• MySQL
• Sony
• Hiplink
• ESPN
Comparison
• Intents / Broadcast Listeners / Background Services/ Content Providers Vs Delegate (Protocol)
• Manifest File Vs plist
• Activities / Widgets Vs Views
Any Issues?• Macintosh is must! (no escape )
• XCode is the IDE
• Objective C (variant of C with OOP)
• Like C++? (its also a var. with OOP)
• Memory Management
• Everything is pointer (except some)
• Need iOS dev account $100/year
Objective C
• Cocoa touch
• Core Animation,Core Data, Quartz...
• 2 part to write Classes (Declare & Implement)
• #import is used. @Class is dynamic
Memory Management
• As you sow, so shall you reap!
• GC (garbage collector) is missing
• Profit?
• Managed Code
• Faster, more responsive apps
• More control
Some Theory
• Protocols / Delegates
• Categories
• Extensions
• Properties
• Reflection
Properties
• @property
• Attributes
• readonly, readwrite, copy, nonatomic, assign, retain, getter & setter
Handling Data
• Sandboxed file system
• plist/XML/JSON/Serialized Code
• Sqlite3
• CoreData (ORM)
• Preferred and Very Advanced
• https://developer.apple.com/
• http://www.raywenderlich.com/
• http://imamraza.wordpress.com/
• http://www.cocos2d-iphone.org/
• http://allseeing-i.com/ASIHTTPRequest/
References