11-09-2009, 04:46 AM #1
How to initialize window of my application?
- Member Since
- Nov 09, 2009
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....
11-09-2009, 08:04 AM #2
- Member Since
- May 02, 2009
- MBP 2.33 4GB: MacPro 8 Core 2.8, 16GB: MacMini 2.26 4GB: MacMin 2.53 4GB: iPhone3GS 32GB
11-09-2009, 12:48 PM #3
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
By AwesomeAttorney in forum OS X - Apps and GamesReplies: 0Last Post: 08-30-2012, 09:10 PM
By GMCometh in forum OS X - Apps and GamesReplies: 2Last Post: 05-28-2012, 03:22 AM
By beanlynch in forum OS X - Apps and GamesReplies: 1Last Post: 11-02-2010, 09:17 PM
By Grimwell in forum OS X - Operating SystemReplies: 1Last Post: 11-08-2008, 06:25 PM
By Pailong in forum OS X - Operating SystemReplies: 3Last Post: 03-04-2008, 02:55 PM