cocoa-bindings
Cocoa Bindings + NSArray + custom class
I can\'t get my head around this: I have an instance of NSMutableArray filled with custom Lessonobjects. These objects have two properties: name and selected. I\'m trying to use these Lesson objects i[详细]
2023-02-08 16:19 分类:问答Cocoa bindings -- trying to bind the state of an NSMenuItem to my custom BOOL
In my mac app, [Model m] is a custom object with a synthesized BOOL property and ivar rollAnimations.And animationsItem is an NSMenuItem object.I want to bind the state of my animationsItem to the rol[详细]
2023-02-08 13:44 分类:问答Is assigning the same Action-method to multiple Cocoa UI objects e.g. NSButton possible?
I\'m currently learning ObjC and Cocoa programming, coming from the Java world. To test my current skills and learning progress I\'m creating a small calculator app from scratch (OSX not iOS).[详细]
2023-02-08 13:42 分类:问答Binding to properties of WebView (Cocoa WebKit)
I\'m storing font preferences for a WebView in my shared user defaults. I have a WebView set up in my XIB, but it isn\'t possible to bind a WebView\'s font properties in IB, so I\'m wondering if I can[详细]
2023-02-08 04:15 分类:问答Please help figure out the binding for NSCollectionView
I have 开发者_高级运维a custom NSView (MyView), which is rendered by the NSViewCollectionItem.[详细]
2023-02-07 02:34 分类:问答NSArraycontroller access of content
I am connecting an arraycontroller (myArraycontroller) in Interface Builder to an array (fileDictionariesArray) consisting of dictionaries. This works fine, but when I try to access and enumerate over[详细]
2023-02-06 01:17 分类:问答NSTableColumn value-bound to frontmost window's NSArrayController throwing exceptions on window change
I have an NSTableView in a floating window that gets dynamically bound to the arrangedObjects property of an instance of an NSArrayController that corresponds to the frontmost document window with cod[详细]
2023-02-04 06:05 分类:问答Cocoa Bindings or code?
I was wondering which way would be better if I 开发者_运维知识库were making a simple application with a table view in it.Cocoa bindings seem much simpler but it meet take up more CPU or RAM, which is[详细]
2023-02-03 15:35 分类:问答NSArraycontroller selectionIndexes bindings
I have the following set-up: A Window that has a splitView in which I display I NSCollectionView in the left view and a detailView in the right view. Both views are set-up in separate xibs. Furthermo[详细]
2023-02-02 09:58 分类:问答Saving CoreData context and binding problem
I use CoreData for a Mac application which runs under 10.5 and higher. The content of an entity (text attribute) will be displayed in an NSTextView through bindings. The user can edit the text there.[详细]
2023-01-28 02:19 分类:问答