views:

40

answers:

1

Hello,
in iPhone I do UIViewController viewDidLoad and write some setup code to setup the view.
But how can I do that in NSViewController?
I've tried with loadView but it doesn't work... Maybe I do something wrong I don't know...

PS: I've just started with OSX / iOS programming, so sorry if I ask something stupid :(

+1  A: 

http://developer.apple.com/mac/library/releasenotes/Cocoa/AppKit.html

Search for "viewDidLoad"

Mike Abdullah
ok thanks :) I'll use -(void)loadView
TesX