• 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 Bindings. weird behavior.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Core Data Bindings. weird behavior.


  • Subject: Re: Core Data Bindings. weird behavior.
  • From: Quincey Morris <email@hidden>
  • Date: Wed, 13 Aug 2008 15:37:31 -0700

On Aug 13, 2008, at 15:19, Sandro Noel wrote:

the colums is bound with Value, transaction.transactiontype.name
the combo box is content bound to a array controller that manages the items i want to choose from in the combo box. as content values (transactionTypes) name.


Try this:

Set the column's "content" binding to the transaction types array controller, controller key "arrangedObjects", model key blank or "self".

Set the column's "contentValues" binding to the transaction types array controller, controller key "arrangedObjects", model key "field1".

Set the column's "value" binding to the transactions (not transaction types) array controller, controller key "arrangedObjects", model key "transactionType.field1".

Don't bind the combo box cell's bindings to anything -- that's done automatically for you every time the cell is used.


_______________________________________________

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 Bindings. weird behavior.
      • From: Sandro Noel <email@hidden>
References: 
 >Core Data Bindings. weird behavior. (From: Sandro Noel <email@hidden>)
 >Re: Core Data Bindings. weird behavior. (From: Quincey Morris <email@hidden>)
 >Re: Core Data Bindings. weird behavior. (From: Sandro Noel <email@hidden>)

  • Prev by Date: Re: Core Data Bindings. weird behavior.
  • Next by Date: Re: How to get array of characters from NSString
  • Previous by thread: Re: Core Data Bindings. weird behavior.
  • Next by thread: Re: Core Data Bindings. weird behavior.
  • Index(es):
    • Date
    • Thread