• 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 and @count keypath
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: Core Data and @count keypath
      • From: GbT <email@hidden>
    • Re: Core Data and @count keypath
      • From: "John R. Timmer" <email@hidden>
References: 
 >Core Data and @count keypath (From: GbT <email@hidden>)
 >Re: Core Data and @count keypath (From: "John R. Timmer" <email@hidden>)

  • Prev by Date: Re: default compression on whacked tv?
  • Next by Date: Re: Core Data and @count keypath
  • Previous by thread: Re: Core Data and @count keypath
  • Next by thread: Re: Core Data and @count keypath
  • Index(es):
    • Date
    • Thread