Skip to main content
0 votes
1 answer
113 views

So I've been doing Swift for like 1 1/2 weeks now, and coming from Objective-C, I would have thought the following would work. Everything I'm doing is completely without xibs. I have a class roughly ...
CocoaNut's user avatar
0 votes
1 answer
66 views

I have an NSTableView bound to an NSArrayController, and have registered an observer for whenever data changes to the data fields that the array controller manages. For example, here's a few of the ...
Chuck D's user avatar
  • 43
0 votes
1 answer
127 views

I have a few long functioning (Core Data) apps. built on an OSX (10.13.6) machine with an older version of Xcode. I customize an arrayController 'add' method to auto-insert the current date as ...
Paul's user avatar
  • 193
0 votes
0 answers
51 views

I've create a function below which will call when a button is pressed: - (IBAction)setData:(id)sender{ [_myArrayController addObject:[NSMutableDictionary dictionaryWithObjectsAndKeys: ...
GeraldTheGerm's user avatar
0 votes
1 answer
102 views

Can I use NSArrayController for my tableview , and using simultaneously this method : ? func tableView(_ tableView: NSTableView, objectValueFor tableColumn: NSTableColumn?, row: Int) -> Any? The ...
Christian Krueger's user avatar
2 votes
0 answers
124 views

I have an NSTableView which calls my delegate. I am trying to customize the behavior of one my NSTableViewCells. Upon starting the program, I can scroll through my tableView successfully. My "...
blackirishman's user avatar
0 votes
1 answer
58 views

I have two nib files each with its own window populated by data from the same Core Data Managed Object Context (MOC) but each bound to a different array-controller. The problem is that when I delete a ...
Antony's user avatar
  • 41
0 votes
1 answer
69 views

I have a NSDocument based macOS app with Core Data which by its nature can only ever have one document open at a time. Therefore, when a new document is opened I close the currently open one. All ...
mhoeller's user avatar
  • 688
0 votes
1 answer
27 views

I have two core data entities: Category and Music. Category has a toMany relationship. Music has a toOne relationship. Each entity display their values on separate tables. Tables are populated by ...
Duck's user avatar
  • 36.2k
0 votes
1 answer
157 views

I have a NSTableView bound to a NSArrayController. I have two buttons below the table that must be enabled only if there is an element selected on the table. I select the buttons and bind ...
Duck's user avatar
  • 36.2k
3 votes
0 answers
416 views

I'm working in Swift (macOS) and have an NSTableView, the contents of which are bound to an NSArrayController. The tableView cells can set/edit the data using a mix of Strings and NSPopUpButtons ...
jbm's user avatar
  • 1,368
0 votes
1 answer
235 views

I am using NSArrayController Binding to populate NSTableView from core data. NSArrayController is connected to mainQueueConcurrencyType managed object context(main managed object). parent of main ...
Parag Bafna's user avatar
0 votes
1 answer
50 views

I am on XCode 10, Objective-C, Mac OSX, not iOS. I have subclassed an NSArrayController to create a new property to bind to. SHArrayController.h @property (nonatomic) BOOL hasItems; ...
Pat_Morita's user avatar
  • 3,605
3 votes
1 answer
234 views

I'm having difficulty binding a NSPopUpButton to an NSArrayController. The array controller manages an array (plants) of the the class Plant, which has a property named commonName which should be ...
Pam's user avatar
  • 33
-1 votes
1 answer
33 views

I am develop a Document-based cocoa app use coredata,I bind NSViewController to NSArrayController like this : https://developer.apple.com/library/archive/qa/qa1871/_index.html , ,when I save some ...
Princekin's user avatar
  • 794

15 30 50 per page
1
2 3 4 5
36