Programmatically binding Core Data to dynamic NSTableColumns

2010-03-17 Thread Michael LaMorte
I have a Core Data application with two entities: Item and Entries. Item has a dataType string variable. Item has a to-many inverse relationship to Entries. Entries has two variables: stringData and numberData. I'm programmatically creating an NSTableColumn for each Item. The cell type of the c

EXC_BAD_ACCESS when loading nib

2011-01-28 Thread Michael LaMorte
In preparing my application for the Mac App Store, I've hit a roadblock that I can't seem to get past. Originally, my app was written for 10.5 and up, for both Intel and PPC machines. Obviously, for submission it needs to be built for 10.6 and Intel only. So I made the required changes to the b

NSLevelIndicator - setEnabled not respected

2008-09-26 Thread Michael LaMorte
I have a Core Data application, several fields of which are Int16s which are bound to NSLevelIndicators and a NSLevelIndicatorCell. I have some methods that calculate and set the values of these properties in a subclass of NSManagedObject, using old-style accessor methods. I'm aware of th

IBAction deselects currently selected Core Data record?

2008-09-29 Thread Michael LaMorte
I have a Core Data application with a subclass of NSManagedObject. The subclass has an IBAction that, when triggered, needs to get the value of several entity properties of the currently selected record. I have the accessor methods declared properly in the declaration and implementation fil

NSTextView user input bug in 10.4

2008-10-16 Thread Michael LaMorte
Hi all, I'm developing an app with Xcode 3.1 on Leopard. I have a bunch of NSTextViews embedded in NSScrollViews (we'll call these "input areas"), which are embedded in NSScrollViews, which are in NSTabViews. The content of the NSTextViews is bound to CoreData values. The app compiles and

NSOutlineView subclass not firing data source drag and drop methods

2013-10-29 Thread Michael LaMorte
I'm using the excellent NSOutlineView subclass PXSourceList in one of my applications. I'm trying to implement drag and drop to my PXSourceList instance. I have: connected both delegate and data source outlets in IB to my controller in awakeFromNib in the controller, set self as the delegate and