Hey, I´m a new developer in iphone´s world, develop in actionScript (flash OOP) and build adGames and python too.
I always wanted to develop for mobile plataform, and now, with the iphone, wich is a good gadget, I decided to join in new and long journey. I´m studying objective-C around one month and have some doubts. Follows the code with the doubts: *Classe.h *#import <UIKit/UIKit.h> //importa a classe UIKit //constuctor of the class with type NSObject that extends a UIApplicationDelegate, it is right? @interface Classe : NSObject <UIApplicationDelegate> { //variable type UIWindow (I think that create a screen application) IBOutlet UIWindow *window; //I don´t know what id IBOutlet } //I don't understand this line @property (nonatomic, retain) UIWindow *window; @end *Classe.m* //importa o header (que seria o contructor da classe certo?) //import the header (is that a constructor of the class?) #import "teste2AppDelegate.h" //implement the interface in content @implementation teste2AppDelegate; //instance window in content? @synthesize window; //metodo chamado quando o aplicativo é executado e não retorna nada(void), ele recebe como parâmetro um UIApplicaton (pq?) //metod called when the application run, don´t return nothing(void), recives one parameter UIApplicaton - (void)applicationDidFinishLaunching:(UIApplication *)application { //create a textField //Is it the same that "var _txt:UITextField = new UITextField()" ??? UITextField *_txt = [[UITextField alloc] init]; [_txt setTextColor:[UIColor redColor]]; //set color in red color, this color return from UIColor class [_txt setText:@"teste"]; //set text } //Why do is metod ? - (void)dealloc { [window release]; [super dealloc]; } @end In my journey I understand that execute one function I use [nameFunction:param1, p:param2. Pp:param3], right? When compiling this script don't show error and open iPhone emulator, but show a whit screen and not show the text. Ok, any help will be good help. Thanks… _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]