How to initialize window of my application?

Joined
Nov 9, 2009
Messages
2
Reaction score
0
Points
1
Hello

I'm a newbie in a cocoa development. I'm trying to write my first application.
My application window have one Button, one NSComboBox and one NSTextField.

I define action to my controller class from button.
Also defines outlets from controller class to NSComboBox and NSTextField.

But.... I don't understand - how write initial values to combo and textfield when my application startups? I wrote method 'init'. But it isn't helps to me.

At this moment I have following behavior of my app:

1. Init of controller class (there I'm trying to initialize outlets fields)
2. applicationDidFinishLaunching from ...AppDelegate.m
3. EventLoop of my Application.

I need some tips to resolving my problem....
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top