Re: Table object not selected on launch
Re: Table object not selected on launch
- Subject: Re: Table object not selected on launch
- From: Philip Vallone <email@hidden>
- Date: Tue, 12 Jan 2010 05:14:49 -0500
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) {
return;
}
In this example gertCurrent is returned from a sqlite query, if the indexPath.row is greater then the sqlite query, then you can dump out of the method.
Regards,
Phil
On Jan 12, 2010, at 2:28 AM, Jenny M wrote:
> 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*
> upon launch. I've looked in IB and the docs and can't figure out which
> attribute to set to make this possible. Thoughts?
>
> Thanks!
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden