• 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: Core Data Document based app need some help
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Core Data Document based app need some help
      • From: Oftenwrong Soong <email@hidden>
References: 
 >Core Data Document based app need some help (From: Pavel V Subach <email@hidden>)

  • Prev by Date: Re: "Bindings"; Was: whether property in Cocoa class is KVO-compliant?
  • Next by Date: Re: Displaying contents of more than one NSManagedObjectContext?
  • Previous by thread: Core Data Document based app need some help
  • Next by thread: Re: Core Data Document based app need some help
  • Index(es):
    • Date
    • Thread