• 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
Struct Property Key Path
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Struct Property Key Path


  • Subject: Struct Property Key Path
  • From: Richard Somers <email@hidden>
  • Date: Tue, 14 Apr 2009 22:49:52 -0600

I have a model object which is a subclass of NSManagedObject. This object has a transformable property similar to NSPoint.

The frameworks automatically wrap and unwrap my NSPoint like struct in an NSValue instance. I would like to bind the individual struct members x and y to elements of the user interface with a key path. I can not seem to figure out how to get this work or if it is even possible.

Any suggestions?

Richard

_______________________________________________

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: Struct Property Key Path
      • From: Kiel Gillard <email@hidden>
  • Prev by Date: Re: KVC and "@" as key
  • Next by Date: Re: Struct Property Key Path
  • Previous by thread: Re: KVC and "@" as key
  • Next by thread: Re: Struct Property Key Path
  • Index(es):
    • Date
    • Thread