• 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
NSComboBox Coredata bindings
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSComboBox Coredata bindings


  • Subject: NSComboBox Coredata bindings
  • From: Julien Bordet <email@hidden>
  • Date: Wed, 30 Nov 2005 16:46:37 +0100

Hi

I've search through the archives, and found some threads about this
subject, but nothing answering my question... If I'm wrong I'd be
happy to be redirected to interesting posts.

My main question is : how to use bindings and NsComboBox correctly.
More particularly, I want the application user to be apple to add item
through the interface.

I've created a NSArrayController that is responsible for a set of
NSManagedObjects.

One of the related entity property is a 'category' relationship.
Another CategoryArrayController is associated to that entity.

What I want to do is to manage Categories through a NSComboBox. I've
set bindings to :

content : CategoryArrayController.arrangedObjects

contentValues : CategoryArrayController.arrangedObjects.category

value : TransactionArrayController.selection.category

That works fine for programmatically added category value : I can
select them through the NSComboBox. However, I cannot add a new
category through the user interface. When I enter it, I get a message
:

2005-11-28 11:44:10.198 test[426] *** -[NSCFString? _isKindOfEntity:]
selector not recognized [self = 0x3f7b90]

Does anyone have a idea for that ?

Kind regards

Julien
 _______________________________________________
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

  • Follow-Ups:
    • Re: NSComboBox Coredata bindings
      • From: Wain <email@hidden>
  • Prev by Date: [SOLVED] Mixing cocoa and carbon crashing in photoshop plugin
  • Next by Date: Finding the error...
  • Previous by thread: Re: How to interrupt a function
  • Next by thread: Re: NSComboBox Coredata bindings
  • Index(es):
    • Date
    • Thread