• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Bindings between nib files?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Bindings between nib files? (From: Michael Carter <email@hidden>)

  • Prev by Date: Re: id type field of an attribute ?
  • Next by Date: Re: NSBezierPath intersection
  • Previous by thread: Re: Bindings between nib files? <solved>
  • Next by thread: launchin .Mac Prefs on 10.2.8
  • Index(es):
    • Date
    • Thread