cocoa-bindings
Moving array controller initialization from nib to code breaks table view bindings
My window controller subclass is the nib\'s owner. I instantiate my array controller, in code, in my document subclass. Both the doc开发者_StackOverflowument and window controller use it in code.[详细]
2023-04-13 01:45 分类:问答cocoa binding on NSImageView in a NSTableView's column not update automatically
In my cocoa app there is a NSTableView(10.7 lion view based tableview) only cont开发者_开发问答ains one column, the cell in it is a custom NSTableCellView, in it there are several views and one of the[详细]
2023-04-11 16:13 分类:问答How to bind a 1:many relation in Interface Builder
I have a simple Core Data app with to model objects: employee and notes. Employees can have many notes (1:many), each note belongs to one employee (1:1). In the employee window I display a list (NSTab[详细]
2023-04-09 05:08 分类:问答How to Add Checkbox Cell to NSTableView with Cocoa Bindings?
I\'m new in Cocoa. I have a table that stores Contacts. I\'m not using NSTableView Protocol. I\'m using Cocoa Bindings , and Mutable Array for storing in it. The question is , I want to be able to hav[详细]
2023-04-08 11:29 分类:问答Can you create a binding for a PopUpButton's selected value to a NSMutableDictionary's key (NSString)?
You can create bindi开发者_运维问答ngs on a NSView element to an delegate\'s instance variable, but can you create a binding for a PopUpButton\'s selected value to a NSMutableDictionary\'s key (NSStri[详细]
2023-04-06 16:42 分类:问答NSDictionaryController and image
I am referring to this example code. I am trying to display imag开发者_开发知识库e in the first column at where lastName is displaying, but unfortunately I can\'t.I think you can do it in two ways-[详细]
2023-04-06 11:12 分类:问答Visualizing different Entities within a single NSOutlineView
Let\'s say that I am creating reference app, using Core Data, for animals. Each Animal lives in a Habitat, and has a Classification. A Classification might have sub-Classifications (modelled in Core D[详细]
2023-04-05 18:49 分类:问答How to create multiple Views for the same Window in Cocoa?
I have application that has one Application delegate, and one Window. I have different classes that running threads, etc. When I\'m sendingNSWindow *window pointer to that classes or function, and try[详细]
2023-04-04 01:05 分类:问答Binding NSOutlineView's selection index paths
I have a custom <NSOutlineViewDataSource>, for which I would its NSOutlineView to update a selectionIndexPaths property. I can\'t get bind:toObject:withKeyPath:options: to actually bind properly[详细]
2023-04-01 23:51 分类:问答Drag handles on different containers in NSWindow
I have an NSTextView with an NS开发者_如何学PythonTableView in a window. I\'d like to be able to have those handles that allow you to drag the separator and resize the two adjacent views. I\'m new to[详细]
2023-03-28 02:59 分类:问答