際際滷

際際滷Share a Scribd company logo
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)
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

More Related Content

FAST-NUCES Apps/Games presentation by Husyn 2012

Editor's Notes

  • #5: 2 fb games to ESPN Android app for Sony Media morph for Apple
  • #10: Anonymous Category sub-divide class @interface but not its @implementation. Useful for excluding method types from class public interface (Method hiding ) Method declared in extension must be implemented in the class's @implementation
  • #11: readwrite is default copy makes copy and pass by value nonatomic is not threadsafe assign is in GC objects retain is non GC objects
  • #12: Sample of serialization of class