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:

#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

//set properties of the varable
@property (nonatomic, retain) UIWindow *window;



//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;

//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];

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.