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

Re: NSComboBox Coredata bindings


  • Subject: Re: NSComboBox Coredata bindings
  • From: Wain <email@hidden>
  • Date: Wed, 30 Nov 2005 17:43:16 +0000

Hi,

Can you give a little more information about how your controller is setup
and how you are adding the new category via the interface.


You bindings look reasonable (especially if it currently works if you add
a category programmatically).


Wain


On 30 Nov 2005, at 15:46, Julien Bordet wrote:

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




___________________________________________________________ To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre. http://uk.security.yahoo.com
_______________________________________________
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: Julien Bordet <email@hidden>
References: 
 >NSComboBox Coredata bindings (From: Julien Bordet <email@hidden>)

  • Prev by Date: Re: Warnings that won't go away
  • Next by Date: Re: class changes and serialized objects in a nib file
  • Previous by thread: NSComboBox Coredata bindings
  • Next by thread: Re: NSComboBox Coredata bindings
  • Index(es):
    • Date
    • Thread