nsarraycontroller
How to make Deep Copy of NSManagedObject in Core Data
I am trying to make a duplicate of an existing NSManagedObject and related sub-objects in Core Data.I can\'t seem to find an easy way to do this.[详细]
2023-01-18 04:03 分类:问答Cocoa: Custom Controller Key for NSArrayController
Is it possible to create a custom controller key for an NSArrayController? There are keys for \"arrangedObjects\", \"selection\" etc... Is it possible to implement your own? I can\'t seem to find any[详细]
2023-01-16 18:34 分类:问答Cocoa; Binding a Text Field to the sum of a filtered array (from an NSArrayController)
I have (for example) a table with cars in. The cars each have a name, a color and a mileage. I can have a text field which displays the total mileage of all the cars using bindings in interface buil[详细]
2023-01-15 23:34 分类:问答How to set indicator image on column with multiple sort descriptors?
NSDisableScreenUpdates(); [self.productsArrayController setFetchPredicate:predicate]; [self.productsArrayController setSortDescriptors:sortDescriptors];[详细]
2023-01-13 10:45 分类:问答Getting a unique identifier for each element of NSArrayController's content
I\'m making a custom view that I want to be bindings/core data compatible and represent a collection of data (a la NSTableView)[详细]
2023-01-12 21:26 分类:问答Problem binding an NSArrayController back to an ivar
I have a problem with a bound property of a custom view. The property is bound to an NSArrayController for a core-data entity.[详细]
2023-01-12 09:01 分类:问答Core Data: When and where are Entities loaded in the first Place?
I have a question about Core Data. When starting my appliction, when is my data (which is stored automatically by Core Data) loaded into the NSArrayControllers? I want to modify it in the first place[详细]
2023-01-09 23:11 分类:问答Core Data: Sort to-many relationship in NSTableView
I have troubles getting my NSTableView keep the contents of a to-many relationship ordered. What I have is an entity \"Relationship\" in a to-many relationship with an entity \"Card\" both managed b[详细]
2023-01-09 16:37 分类:问答cannot find Array Controller in Interface Builder
I\'m just starting to use core data in my iphone app. I have created my Entity (measure) with 2 property (date, value).[详细]
2023-01-07 04:05 分类:问答how to get count of records and aggregate of values via NSArrayController and cocoa bindings
I am trying a simple application using NSArrayController and cocoa bindings. The application contains - a table with only one column, two buttons \"+, -\" to add and delete records, two text fields to[详细]
2023-01-05 14:33 分类:问答