Re: Function calls
Re: Function calls
- Subject: Re: Function calls
- From: daniel <email@hidden>
- Date: Sat, 22 Jan 2005 11:31:00 -0800
It's not clear from the second part of your question when the
functionName" function gets called, but to answer your first question:
You cannot access the nib elements until they've been unarchived. They
are not unarchived when the nib owner's "init" method is called. You
need to wait until the "awakeFromNib" method is called.
Daniel
On Jan 21, 2005, at 8:18 PM, Sharayu Puranik wrote:
Hi
I have one NSTableView and one List control on nib file.....
If I try to put values in these controls (either supply data source
for table or put
value in List control) in
'- (id)init' function, I m not able to access these controls, means
they do not
respond to code I write to insert values to them
I write some function which is not called by clicking of any button
or any control
Fiunction is not of type
'- (IBAction)functionName:(id)sender;'
but is '-(void)functionName'
Again if I try to access any control from '-(void)functionName' , I
can not access
any control from this function means the controls do not respond, and
I do not
get any warning or error
Why is it so? If I want to call function depending on some condition
can't I
access List, Table, Textbox or Popup controls from such functions???
Thanx
<image.tiff> _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
sweater.com
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden