Re: Core Data and @count keypath
Re: Core Data and @count keypath
- Subject: Re: Core Data and @count keypath
- From: Chris Hanson <email@hidden>
- Date: Wed, 8 Feb 2006 08:15:15 -0800
On Feb 7, 2006, at 4:30 AM, John R. Timmer wrote:
You have to bind to a value that's read/write. @count is read
only. If you need to bind to it, make a managed object key like
arrayCount that returns the count in the getter method, and does
nothing in the setter method.
You should not need to do this; binding a label or other non-editable
value to a read-only key should work just fine. See the bindings
generated for a multiple-instance interface created by option-
dragging a Core Data entity from a model to a window in Interface
Builder.
-- Chris
_______________________________________________
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