www.itgalary.com Homepage
Forum Home Forum Home > Programming > iPhone Development
  Active Topics Active Topics
  FAQ FAQ  Forum Search   Register Register  Login Login

Getting started - iPhone Application Development

 Post Reply Post Reply
Author
Message
  Topic Search Topic Search  Topic Options Topic Options
Jijo View Drop Down
Admin Group
Admin Group
Avatar

Joined: 31 Dec 05
Location: United Kingdom
Posts: 495
  Quote Jijo Quote  Post ReplyReply Direct Link To This Post Topic: Getting started - iPhone Application Development
    Posted: 13 Jan 09 at 4:07pm

Getting started with iPhone Application Development
Development for iPhone has been made very similiar to Desktop development in Mac. The operating system on iPhone is derived from Mac OS 10.5. Just like Mac OS it provides a rich set of framework to use.

Cocoa Touch
Cocoa touch refers to combination of two frameworks, UI kit and foundation. It provides aObject oriented environment, touch based user interface, events and gestures. This framework is written in object oriented c based language called Objective-C.

Objective-C
Its a slim superset on top of ANSI C with some syntax extensions that offers Object Oriented programming. Its dynamic, so can add methods and extend system classes at runtime. We can mix this with C++ in same file and its called objective-C++. The file uses a .mm extension which can be overrided in Xcode. It has a unified exception model which allow as to catch exception across language boundaries.

Cocoa Touch Design Patterns
It uses Model, view, controller. Controller handles actions and passes informations between model and view. You can use C, C++ or objective-C to code the model. Cocoa touch uses a delegation design pattern. categories help to add methods to an existing class. Categories applies to methods only, means you won't be able to add new variables to a class. Subclassing also is a feature of Cocoa Touch. UIKit of Cocoa touch includes

Gestures
Touch events
Windows
Controls
Views
Animation

UIKit also includes builtin controls like UIButton, UIControl, UIView, UIDatePicker, UINavigationBar, UIPageControl, UISegmentedControl, UIToolbar, UITableView, UIPicker and many more..All this has builtin support for touch, swipe and finger gestures. UIKit framework is completely localizable. It uses ICU unicode engine to attain this.



Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

.