cocoa-bindings
Adding "Not Selected" Option To Bound NSPopupButton
I have an NSPopupButton that is bound to a core data backed NSArrayController. The selection of the NSPopupButton is also bound to a core data backed item. Bindings pretty much as follows:[详细]
2023-02-23 08:44 分类:问答Modeling user-orderable lists with Core Data / Bindings
I\'m working through a learning project around Core Data on OS X. I have an entity (Foo) in the data store, and in the UI, I use an NSArrayController with bindings to put some (name) field of the Foo[详细]
2023-02-22 05:33 分类:问答mergeChangesFromContextDidSaveNotification Briefly Displays Both Contexts In NSTableView
I have a managedObjectContext for the main application that has a bound NSArrayController and NSTableView displaying the contents of the NSArrayController.[详细]
2023-02-20 18:18 分类:问答Cocoa Bindings and Custom NSCell properties
I have a problem regarding subclassed NSCells (Check Box Cells). I want them to have a title开发者_Go百科 and a subtitle next to the checkmark (so I created NSString properties for these). Their value[详细]
2023-02-20 03:02 分类:问答NSManagedObject Not Reflecting Changes After Background Thread NSManagedObjectContextDidSaveNotification
I am having trouble with an NSManagedObject not reflecting the changes made to a persistent store after a background thread has saved it\'s context.[详细]
2023-02-20 01:18 分类:问答Updating Core Data from custom NSCell
I have a custom NSCell (actually subclassing NSTextFieldCell), which is used both in a standalone editor, and in an NSTableColumn (bound to Core Data through NSArrayController). When the user changes[详细]
2023-02-18 14:06 分类:问答Understanding concepts of Python installation on Mac OS for Cocoa development
I want to try to develop Cocoa application using Python. I\'m new to Mac and I need some help to understand how it works.[详细]
2023-02-18 09:15 分类:问答Why, if I bind to an NSPathControl, is it grayed out?
I have bound the value of an NSPathControl through a value transformer that converts strings to URLs to my model (a NSMutableArray of NSMutableDictionaries). I have the control\'s target/action set up[详细]
2023-02-17 13:37 分类:问答NSArrayController bindings without Core Data
I have an NSArrayController, the content of which I would like to be a list of the CGDirectDisplayIDs of all of the connected Screens.Right now I have the following code:[详细]
2023-02-16 11:00 分类:问答How does updating NSTableView from this mutable array work in Cocoa?
In my application, I have an NSTableView which should contain a list of files. I have a button that is used to open an dialog and programmatically add files to this list. For some time, I could not ge[详细]
2023-02-15 09:03 分类:问答