Re: Bindings between nib files?
Re: Bindings between nib files?
- Subject: Re: Bindings between nib files?
- From: Frederick Cheung <email@hidden>
- Date: Fri, 29 Apr 2005 13:21:16 +0100
On 28 Apr 2005, at 23:20, Michael Carter wrote:
Hello all.
I'm writing a Cocoa app (non-Document) in which I'll be maintaining a
list of Employee objects which will be associated later to a task
object. In order to add/edit employees I decided to create a separate
nib file. There is an array in my app controller that contains Employee
objects. This separate nib has a table view on the left where I show
all
the employee objects in the array. Selecting a name on the left will
display details on the right, which has 8 NSTextFields to hold the data
which pertains to the employee.
[snip]
How best would I handle communicating between the nib and the *emps
array in my app controller? I have a popup in my main window which I'd
like to have all the employees show up in. I'm having trouble binding
that to the *emps array as well.
You could set the content of the NSArrayController to your array at
runtime.
Fred
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden