nsarraycontroller
How expensive is it to retrieve a model object from an nsarraycontroller?
I\'ve a window with a table. The table lists several model objects by name. Those model objects back a wind开发者_运维问答ow and that window\'s components all depend on the model objects for their val[详细]
2022-12-17 06:30 分类:问答NSArrayController creating, modifying and then selecting a new object
The main view of my NSPersistentDocument based application is a table view (bound to an NSArrayController) showing the list of records, below it there is an \"add record\" button. I want the button to[详细]
2022-12-17 06:21 分类:问答Deleting an object in NSArrayController
I have an NSTableView which gets its data from an NSArrayController and I need to delete the currently selected row.I know NSManagedObjectContext has a deleteObject: method but, I can\'t think of how[详细]
2022-12-16 23:17 分类:问答NSArrayController and KVO
What do I need to do to update a tableView bound to an NSArrayController when a method is called that updates the underlying array?An example might clarify this.[详细]
2022-12-16 17:14 分类:问答How does NSTableView modify the selection of NSArrayController via bindings?
Let\'s say I have the following situation: When I select different rows in the NSTableView, it magically updates the NSArrayController (PersonController) selection. How is the NSTableView doing th[详细]
2022-12-16 13:35 分类:问答NSArrayController addObject Returns null
I have a core data application with two NIBs, the main window with a pair of NSTableViews and a form for adding content.The form has an NSTextView and an NSTextField.I have two entities in core data,[详细]
2022-12-15 08:50 分类:问答Using Array Controllers to restrict the view in one popup depending on the selection in another. Not core data based
I am working on an app that is not core data based - the data feed is a series of web services. Two arrays are created from the data feed. The first holds season data, each array object being an NSDi[详细]
2022-12-15 00:23 分类:问答Core data and custom NSCell
I am building a toy app using core data for two entities Log (attributes text and date) and Tag with a many-to-many tags relationshipfrom Log to Tag.[详细]
2022-12-14 12:32 分类:问答How do I perform an action in response to an item being added to an NSArrayController's content?
I have an NSArrayController whose content is the \"servers\" property of my AppDelegate. I have an NS开发者_开发知识库TextField which is bound to the \"selection.name\" property of the NSArrayControl[详细]
2022-12-13 17:22 分类:问答NSArrayController initialization
I am having trouble getting an core-data backed NSArrayController to work properly in my code. Below is my code:[详细]
2022-12-13 15:28 分类:问答