Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CoreData transient attribute binding writes but doesn't read



- I have an NSTextField bound to an NSObjectController's selection.myValue
- The NSObjectController is set up to use my derived NSManagedObject class.
- The myValue attribute of my entity is transient


When I type into the NSTextField, my managed object's setMyValue method gets called, as it should.

However, the myValue method doesn't get called. I thought the way MVC- bindings worked was that there was supposed to be a round-trip -- call the setter, then the getter.

The only time the myValue method is called is when I am loading the window.

Is there any way to trouble-shoot this?

Dave
_______________________________________________

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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.