cocoa-bindings
How to bind NSTreeController's Children to Core Data ordered to-many-relationship?
Apple introduced ordered to-many-relationships in Core Data in Lion. I created an entity named TreeNode with an 1:1-object-relation, a 1:1-parent-relation and an o开发者_如何学Pythonrdered to-many-rel[详细]
2023-03-27 21:19 分类:问答Binding problem with a NSValue that contains NSPoint
I have this managedObject subclass, position rappresent a NSPoint. In a XIB I want two NSTextField like this[详细]
2023-03-27 15:32 分类:问答How to Create & Add an Core-Data Object to an Existing Object Having an Optional To-One Relationship?
I cannot find any information anywhere (google, cocoadev, developer.apple) about managing an optional to-one relationship with core data and cocoa bindings with the exception of using a pop-up box. Us[详细]
2023-03-23 17:01 分类:问答"[something copyWithZone:]: unrecognized selector sent to instance" when using Bindings / Core Data
(self asking and self-answering because I spent hours on the web looking for this, and most of the resources all say \"I solved it in the end\" without giving an explanation)[详细]
2023-03-19 10:44 分类:问答NSArrayController bound to NSUserDefaults with NSKeyedUnarchiveFromData value transformer
I have an NSArrayController instance bound to Shared User Defaults Controller. (see screenshot below) The key path points to an instance of NSData, when unarchived should give an array. But when the n[详细]
2023-03-19 00:28 分类:问答Manual Cocoa Binding not changing Observed KeyPath
I\'m changing a cocoa binding programatically. I\'m binding a NSTextField\'s value to the selection of an ArrayController.After I manually change the binding, I\'m getting the \"not key-value coding c[详细]
2023-03-18 08:57 分类:问答Is it possible to bind together controls, AppDelegate and UserDefaults codeless?
I have an AppDelegate like this: @interface AppDelegate : NSObject <NSApplicationDelegate> { NSString *boundValue;[详细]
2023-03-17 08:34 分类:问答SelectionIndexes on NSArrayController return just a value
I have a NSCollectionView wich content is handled by a NSArrayController. The NSCollectionView is selectable and I need to retrieve a list of selected elements.[详细]
2023-03-17 06:10 分类:问答NSPopUpButton: multiple values & selectedIndex binding
Context: I have an NSArrayController tied to Core Data that supplies rows for an NSTableView. When a user selects rows, the arrayController\'s \"selectedObjects\" property changes.[详细]
2023-03-16 19:02 分类:问答NSValueTransformer not being called
I have my shared user defaults plist that looks something like: menuItems (Array) Item 0 (Dictionary) name (String) \"Menu Item 0\"[详细]
2023-03-16 15:35 分类:问答