• 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: Jenny M <email@hidden>
  • Date: Tue, 12 Jan 2010 13:39:30 -0800

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 in
the object array controller?

Thanks though,
Jenny


On Tue, Jan 12, 2010 at 2:14 AM, Philip Vallone
<email@hidden>wrote:

> 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

References: 
 >Table object not selected on launch (From: Jenny M <email@hidden>)
 >Re: Table object not selected on launch (From: Philip Vallone <email@hidden>)

  • Prev by Date: Re: NSExtraMIData?
  • Next by Date: Re: NSExtraMIData?
  • Previous by thread: Re: Table object not selected on launch
  • Next by thread: Re: Table object not selected on launch
  • Index(es):
    • Date
    • Thread