Core Data & Bindings & dynamic contents - newbie question
Core Data & Bindings & dynamic contents - newbie question
- Subject: Core Data & Bindings & dynamic contents - newbie question
- From: Frank Fenn <email@hidden>
- Date: Sat, 02 Jul 2005 18:17:54 -0600
Hi list,
I'm in the process of writing (or better learning) my first Core Data
app.
I've created my data model in Xcode and created my test GUI via drag
and drop of the entities from the model.
So far pretty easy without one line of code :)
No I have for example in one entity an attribute "Character Type" which
can be set via an NSPopupButton to "Letter", "Number", "Operator".
Now I would like to preset a second NSPopupButton with values based
on the first selection. For example if the "Character Type" is set to
"Number"
I would like to show in the second NSPopupButton (bound to the attribute
"Character") all numbers like "0","1"...etc.
And here I'm lost. What is the best approach here? Where can I create
the
dynamic content when the "Character Type" value changes? Do I have to
subclass the NSArrayController or can this be done on the Entity level
(NSManagedObject)?
A push in the right direction would be very helpful, since I've spent
all
afternoon reading docs, and sample code, but could not find any hint
where
to start.
Sincerely
Frank Fenn
_______________________________________________
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