• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Table object not selected on launch
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Table object not selected on launch
      • From: Jenny M <email@hidden>
References: 
 >Table object not selected on launch (From: Jenny M <email@hidden>)

  • Prev by Date: Re: programatically updating UI for NSArrayContoller/NSTableView combo
  • Next by Date: widget plugin crashed when i use thread
  • Previous by thread: Table object not selected on launch
  • Next by thread: Re: Table object not selected on launch
  • Index(es):
    • Date
    • Thread