FROM : Trent Jacobs
DATE : Thu May 15 23:10:29 2008
Hi all,
In my core data app I have an entity which I chose to derive from a
NSManagedObject class because I wanted to do some formatting and data
manipulation on one of the attributes which I have bound to a
NSTextView. The formatting is conditional based on a chechbox on the
UI (in the preferences panel).
What I need to do is get the NSTextView to know to reload the
attribute from my managed object when the checkbox changes. in other
words, it must know to refresh the data in Attribute X even though the
data in Attribute X hasn't changed.
I've searched for some attribute of the NSTextView which I can bind to
the user defaults (the checkbox updates the user defaults) but no
luck. I can't find any examples anywhere to help me out either.
Can anyone point me to some documentation I may have missed?
Thanks!
DATE : Thu May 15 23:10:29 2008
Hi all,
In my core data app I have an entity which I chose to derive from a
NSManagedObject class because I wanted to do some formatting and data
manipulation on one of the attributes which I have bound to a
NSTextView. The formatting is conditional based on a chechbox on the
UI (in the preferences panel).
What I need to do is get the NSTextView to know to reload the
attribute from my managed object when the checkbox changes. in other
words, it must know to refresh the data in Attribute X even though the
data in Attribute X hasn't changed.
I've searched for some attribute of the NSTextView which I can bind to
the user defaults (the checkbox updates the user defaults) but no
luck. I can't find any examples anywhere to help me out either.
Can anyone point me to some documentation I may have missed?
Thanks!






Cocoa mail archive

