Summary
(2 days)
Objective-C is a powerful, easy-to-learn, object-oriented extension to C. Unlike in C++, advanced object-oriented features like dynamic binding, run-time type identification, and persistence are standard features in Objective-C which apply universally and work well together. Moreover, the support for descriptive message names (a la SmallTalk) makes Objective-C code easy to read and understand. Objective-C is supported by the GNU and NeXTSTEP C compilers.
Objective-C is the primary language used for Apple's Cocoa API, and it was originally the main language on NeXT's NeXTSTEP OS. Generic Objective-C programs that do not utilize these libraries can also be compiled for any system supported by gcc , You can use Objective C to develop full fledge applications. Apple has selected Objective C as primary programming language for Mac machine and iPhone. So, you can use Objective C to develop applications for these devices.
Prerequisites
- familiarity with C Programming or have taken course PR001 C Programming
Course Outline
Module 1: Introduction What is Objective C? Why we use Objective C? Objective C Compiler “Hello World” Example Downloads
Module 2: Introducing OOAD Defining OOAD Methodology The Analysis and Design Stage Defining the Analysis Phase Defining the Design Phase Characteristics of OOP Objects Classes Features of OOP Abstraction Encapsulation Association Aggregation Composition Inheritance Polymorphism Overview of Development Process Lifecycle of Projects Major Phases of Lifecycle of Projects The Inception Phase The Elaboration Phase The Construction Phase The Transition Phase Workflow Within Phases Benefits
Module 3: Classes And Objects Classes and Objects Declaring Classes Declaring Attributes Declaring Methods Example Definition of declared class Referring to Instance Variables Referring to Other Classes Instantiating Objects The Returned Object Example Calling Methods Example
Module 4: Inheritance Inheritance Example Reuse Methods: “as-is” Reuse Methods” “Redefine” Example Single Inheritance Polymorphism Method Invocation Access Control The super Keyword
Module 5: Advanced Class Concepts The Class Methods Protocols Optional Protocols Methods Example Properties Property Declaration and Implementation Synthesizing properties Property Attributes Property Names vs. Instance variables Categories How To Use Categories Dynamic Binding And The id Type
Module 6 : Memory Management Memory Managment Reference Counting Object Ownership Returning a newly created object Example Methods Names & Autorelease Hanging Onto an Autoreleased Objects Example
Module 7: Foundation Framework Introduction Number Objects String Objects Mutable vs. Immutable Objects Mutable Strings Array Objects |