Skip navigation.
 
mlForcing a refresh on a bound control
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!

Related mailsAuthorDate
mlForcing a refresh on a bound control Trent Jacobs May 15, 23:10
mlRe: Forcing a refresh on a bound control Christiaan Hofman May 15, 23:35
mlRe: Forcing a refresh on a bound control mmalc Crawford May 18, 08:18
mlRe: Forcing a refresh on a bound control Christiaan Hofman May 18, 12:20
mlRe: Forcing a refresh on a bound control Clark Cox May 18, 12:34
mlRe: Forcing a refresh on a bound control Christiaan Hofman May 18, 13:53
mlRe: Forcing a refresh on a bound control mmalc Crawford May 18, 16:25
mlRe: Forcing a refresh on a bound control Christiaan Hofman May 18, 16:44
mlRe: Forcing a refresh on a bound control mmalc Crawford May 18, 16:52
mlRe: Forcing a refresh on a bound control Scott Stevenson May 19, 00:57
mlRe: Forcing a refresh on a bound control David Dunham May 19, 05:04
mlRe: Forcing a refresh on a bound control Scott Stevenson May 19, 08:42
mlRe: Forcing a refresh on a bound control Trent Jacobs May 19, 09:40
mlRe: Forcing a refresh on a bound control David Dunham May 19, 18:01
mlRe: Forcing a refresh on a bound control Hamish Allan May 20, 01:14
mlRe: Forcing a refresh on a bound control Christiaan Hofman May 20, 01:16
mlRe: Forcing a refresh on a bound control Hamish Allan May 20, 01:30
mlRe: Forcing a refresh on a bound control David Dunham May 20, 18:21
mlRe: Forcing a refresh on a bound control Hamish Allan May 20, 21:14