Skip to main content

All Questions

0 votes
1 answer
184 views

Why NSObjectController does not update the model property it is bound to?

I configure bindings like this: @property (nonatomic, copy) NSString *name; @property (nonatomic, strong) NSObjectController *controller; ... self.controller = [[NSObjectController alloc] ...
Stream's user avatar
  • 9,493
2 votes
0 answers
213 views

Binding a number to NSTextField with an NSObjectController, but cannot display

I am pretty new for cocoa programming. I am learning binding, trying to make a simple binding code as: - (void)awakeFromNib { self.aValue = [[Model alloc] init]; NSString *...
Herodazhu's user avatar
3 votes
1 answer
529 views

How to prevent retain cycles caused by binding to self

I have an application where I need to access model data from my subviews. I've been using bindings to pass data across views; however, the bindings to self seem to be causing retain cycles (dealloc ...
panupan's user avatar
  • 1,232
3 votes
2 answers
3k views

Binding selection across multiple view controllers in a single window interface

I am having an issue wrapping my head around how to hook up a few NSArrayControllers across two view controllers. I want to sync the selection in the source list table view to update the values in ...
Justin Williams's user avatar