• 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: tableview shouldSelectRow called twice ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tableview shouldSelectRow called twice ?


  • Subject: Re: tableview shouldSelectRow called twice ?
  • From: Scott Stevenson <email@hidden>
  • Date: Wed, 7 Dec 2005 00:32:34 -0800


On Dec 6, 2005, at 11:04 PM, Kubernan from 10191 Technologies wrote:

In my delegate, the method :

-(BOOL)tableView:(NSTableView *)aTableView shouldSelectRow:(int) rowIndex

is called twice giving the same rowIndex and the same [aTableView selectedIndex].
There is no double click or something else.
Can you explain this ?

A bunch of the view delegate methods don't necessarily get called at the time or frequency that you'd expect. It doesn't necessarily mean you're doing anything wrong, just don't write anything that makes assumptions about this.

- Scott

--
http://theocacao.com/


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden
References: 
 >tableview shouldSelectRow called twice ? (From: Kubernan from 10191 Technologies <email@hidden>)

  • Prev by Date: tableview shouldSelectRow called twice ?
  • Next by Date: Re: tableview shouldSelectRow called twice ?
  • Previous by thread: tableview shouldSelectRow called twice ?
  • Next by thread: Re: tableview shouldSelectRow called twice ?
  • Index(es):
    • Date
    • Thread