The Interface: (the non-thumbnail image)
The data:
The bindings: (images 2-4)
The explanation: In the left table column in the first image, I mean to have all of the drainboard names in a popup menu in each row. In the right column, a quantity. The drainboard objects are Core Data managed objects, but each row should represent a dictionary(keys: drainboard, quantity), which are contained by the NSMutableArray above. The array controller for the table columns is set to generate NSMutableDictionarys (in the attributes inspector pane), and its Content Array binding is set to Job.self.drainboards.
The problem: I can add and remove blank rows, but clicking the popup button cell does nothing - no menu with the drainboard names appears. If I try to set a quantity, I get this in stderr
.
Thoughts? Some Core Data or bindings caveat I'm missing? Help!
The data:
Code:
@interface Job : NSObject {
NSMutableArray * drainboards; //Yes, I'm allocating memory for it in -init
...
}
@property (retain) NSMutableArray *drainboards;
@end
@implementation Job
@synthesize drainboards;
The explanation: In the left table column in the first image, I mean to have all of the drainboard names in a popup menu in each row. In the right column, a quantity. The drainboard objects are Core Data managed objects, but each row should represent a dictionary(keys: drainboard, quantity), which are contained by the NSMutableArray above. The array controller for the table columns is set to generate NSMutableDictionarys (in the attributes inspector pane), and its Content Array binding is set to Job.self.drainboards.
The problem: I can add and remove blank rows, but clicking the popup button cell does nothing - no menu with the drainboard names appears. If I try to set a quantity, I get this in stderr
Code:
** -[NSCFDictionary objectAtIndex:]: unrecognized selector sent to instance 0x16563eb0
Thoughts? Some Core Data or bindings caveat I'm missing? Help!