Re: Core Data Document based app need some help
Re: Core Data Document based app need some help
- Subject: Re: Core Data Document based app need some help
- From: Quincey Morris <email@hidden>
- Date: Mon, 11 Jan 2010 12:11:34 -0800
On Jan 10, 2010, at 16:15, Pavel V Subach wrote:
> How to create Entity with next content:
>
> schema:
> Center of telecommunication | City
>
> content:
> 1 | 1
> 1 | 2
> 1 | 3
> 2 | 4
> 2 | 5
> 2 | 6
> 2 | 7
> ... | ...
>
> for use in two NSComboBox in next rules:
>
> 1) Choose Center of Telecommunication
> 2) Choose City (restricted list by choosing Center of Telecommunication)
It looks like you should *not* be using NSComboBox for this. A combo box is a kind of text field, not a kind of menu. It looks like you want menus.
That implies your entity should have two numeric properties, which represent choices from two fixed menus that list the Center of Telecommunication and City names that you present to the user.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden