Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Mockup & CodeGen, iPhone & iPad
($9.99)

Make your own iPhone apps
and run them live!
(free)

Manu
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 08-20-2008, 08:33 AM   #9 (permalink)
Jume
Registered Member
 
Jume's Avatar
 
Join Date: Jul 2008
Location: Slovenia, EU
Posts: 264
Send a message via Skype™ to Jume
Default

These are basics roli that apply to almost any language. Class is a structure that defines particular object. In Objective-C syntax class is defined by 2 separate files:

a) Header file .h
b) implementation file .m

In .h file you define an interface for this class. You make a description of class (define it's properties, it's methods, etc...). In .m file you just implement these methods. The variables that you define in .h files are called instance variables and can be accessed from outside world. The variables you define in .m file are temporary local variables.

This Wikipedia article might give you some better understanding of the OOP terms.

Make sure you get them right otherwise it will be really hard for you to start with Cocoa programming. Make first some basic OOP examples in any language and then try with iPhone programming.

Good luck
Jume is offline   Reply With Quote
 

» Advertisements
» Stats
Members: 158,836
Threads: 89,209
Posts: 380,642
Top Poster: BrianSlick (7,129)
Welcome to our newest member, abbylowin
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 03:26 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.