Goals
- Learn to develop complete applications in Objective-C
Program
History,
Kinship C and Smalltalk versions IDE
development environment
and tools (Compiler, debugger)
Documentation
Workshop: Install Xcode
Code organization
The different files (* .h, * .m)
Main () method
Conventions
Pointers
Foundation framework
Variables: declaration, use
Operators
Constants
Booleans
Conditional
instructions Iteration instructions, loops
The generic object id
Memory allocation and initialization Memory
management
Objects: NSString, NSNumber, NSMutableString, etc …
Interfaces
Encapsulations and accessors
Instance and class methods
Keywords super and self
Inheritance
Workshop: Realization of a mini game
Arrays: NSArray, NSMutableArray
Dictionaries: NSDictionnary, NSMutableDictionnary
Initialization, memory allocation
Browse an array quickly: NSEnumerator
Definition of a protocol
The advantages
Creation and application (delegate)
The optional and required methods
The NSURL class
Read and write to a file
Manage errors
Archiving and Unarchiving an object
The NSCoding protocol
The NSCoder, NSKeyedArchiver, NSKeyedUnarchiver classes
Workshop: Save our data in a file
The AppKit framework
Presentation of Interface Builder
The * .xib files
IBAction and IBOutlets
The graphic objects: NSTextField, NSButton, etc.
Workshop: Create a graphical interface with Cocoa
Duration
5 days
Price
£ 2565
Audience
Developers – Project managers
Prerequisites
Programming concepts
Reference
PRO731-F
Sessions
Contact us for more informations about session date