cocoa-bindings
NSCollectionView get selected item on button click
I have a NSCollectionView is bound to an NSArrayController that has an NSMutableArray as content. Items in the NSMutableArray are displayed as they should.[详细]
2023-03-04 23:17 分类:问答Creating a continuously updating custom control with proper undo management
I am putting together a custom NSView that handles two values through bindings. I am propagating the values upon updates as outlined by Tom Dalling in the question Can you manually implement Cocoa bin[详细]
2023-03-03 23:57 分类:问答How to modify behaviour of NSManagedObject class in reusable way which can be accessed in Bindings?
Xcode auto-generates the class implementations for your NSMO entities - great. But we often need to customize them. If you ever forget that you customized these files, Xcode will happily \"delete\" ([详细]
2023-03-02 13:44 分类:问答Getting data from TableView
I am learning how to program in Objective-C (I currently have some experience with C, and have worked with very basic Objective-C).[详细]
2023-02-28 18:37 分类:问答Binding to a class method in Cocoa?
If I have a method like: @interface CharacterSet + (NSArray *)allCharacterSets; @end Can I bind to it using Cocoa bindings?[详细]
2023-02-27 07:28 分类:问答Cocoa Design: How to highlight the current department of an employee in a NSCollectionView?
I have this core data backed database with entries like in the many employees example: An employee can belong to a department. A department has many employees.[详细]
2023-02-26 12:58 分类:问答Cocoa bindings and macros
I have a bunch of bindings in Interface Builder. When I want to access it, I have to do this, for example:[详细]
2023-02-26 02:08 分类:问答Observed Object not Registered as an Observer
I am having an issue when my array controller is refreshed with new data retrieved from a server request.[详细]
2023-02-25 15:07 分类:问答Implementing Cocoa Bindings pattern
I have a class MyImage, that have a NSAffineTransform member transform. In my AppDelegate a have a NSMutableArray of images.[详细]
2023-02-25 08:17 分类:问答One of Two Bound Tableviews Not Updated for Changes in Other Table
I have an OS X app that uses a splitview with two embeded NSTableViews. Changing a value in one table view should change a related value in the second but this does not happen.[详细]
2023-02-23 20:24 分类:问答