Remove NSTableView Default Selection

2009-09-24 Thread John McIntosh
Hello all. I am working on an application that contains a NSTableView. The table view has a single column which display several options. Based on the row that the user selects, something is displayed. When the application is first launched, the first row in the table is selected by default (but not

Re: Remove NSTableView Default Selection

2009-09-25 Thread John McIntosh
Perfect, thank you! I have the table bound to a core data source and did not know about the "avoid empty selection" option in the controller. Unckecking that box took care of it. John On Thu, Sep 24, 2009 at 10:12 PM, Jens Alfke wrote: > > On Sep 24, 2009, at 5:07 PM, Joh

Re: Core Data Calculated Properties [solved]

2009-09-29 Thread John McIntosh
"property2", nil]; } Also, declare the property in the entity's subclass header like this: @property (nonatomic, readonly) NSString * property3; On Tue, Sep 29, 2009 at 1:32 PM, John McIntosh wrote: > Hi all. I am working on a core data application and am having some >

Core Data Calculated Properties

2009-09-29 Thread John McIntosh
Hi all. I am working on a core data application and am having some difficulty understanding how to configure a particular aspect of it. I am using an nstable to display a selection of properties from my core data managed object. I have the properties bound to the columns in the table and set to Co

Core Data KVO with To-Many Relationships

2009-10-07 Thread John McIntosh
Hi all. I am working on a Core Data application which contains an entity that needs to be notified of changes in entities that it has a relationship to. Let's talk about this in terms of Apple's example with Departments and Employees. As described here (http://developer.apple.com/mac/library/DOCUME

Re: Core Data KVO with To-Many Relationships

2009-10-07 Thread John McIntosh
t;]; [self didChangeValueForKey:@"totalSalary"]; } } Thank you, John On Mon, Oct 5, 2009 at 1:18 PM, John McIntosh wrote: > Hi all. > I am working on a Core Data application which contains an entity that > needs to be notified of changes in en