Re: Table object not selected on launch

2010-01-12 Thread Jenny M
Thanks to a hint from Laurent and a point to the right part of NSArrayController's documentation, I have a solution. I placed this line of code in AppDelegate's awakeFromNib: - [myArrayController setSelectionIndexes:[NSIndexSet indexSet]]; - and UN-checked the "Avoid Empty Selection" chec

Re: Table object not selected on launch

2010-01-12 Thread Jenny M
Hi Phillip, Hmm, I don't think your solution will work for me. I don't have a didSelectRowAtIndexPath method anywhere in my code. I'm not building an iPhone app, so, I think I can use IB and my components a bit differently. Is there any method anywhere that deselects, either in the table cell or

Re: Table object not selected on launch

2010-01-12 Thread Philip Vallone
Hi, I have a similar app that requires the same affect. What I did was create a boolean or valve that indicates if the cell can be selected. In my iphone app, this can be done in the didSelectRowAtIndexPath Method. Something like this: if (indexPath.row > getCurrent) {

Table object not selected on launch

2010-01-11 Thread Jenny M
When my application launches, I have a custom BackgroundView that takes the role of first responder. Within the main window, I have a NSScrollView that contains core data objects in an NSArrayController. I want the objects to load in the table on launch, but I don't want any objects to be *selected