Hi, I'm unable to find that method. Is it still available?
Kind regards, Remco Op 24 dec. 2010 om 14:01 heeft Ricky Sharp <[email protected]> het volgende geschreven: > > On Dec 24, 2010, at 4:01 AM, Roland King wrote: > >> Why not do it the other way around. Set allowsSelection to YES and then >> implement the delegate method tableView:willSelectRowAtIndexPath: to return >> nil for any row you do NOT want selected (see the documentation). That seems >> to be apple's designed way to do this. > > Actually, tableView:shouldSelectRow: should be used instead. Have it return > YES only for rows that are selectable. I'll also assume that the OP is > presenting the non-selectable rows differently (e.g. "dimming" them) to > ensure that users will understand what is selectable and what is not. > >> On 24-Dec-2010, at 5:23 PM, Remco Poelstra wrote: >> >>> Hi, >>> >>> I've an UITableView with allowsSelection=NO; I was wondering whether it's >>> possible to do allow selection of a specific row. Is there some way I can >>> detect a touch of a row and simulate a select in software? >>> Thanks in advance. > > ___________________________________________________________ > Ricky A. Sharp mailto:[email protected] > Instant Interactive(tm) http://www.instantinteractive.com > > > _______________________________________________ Cocoa-dev mailing list ([email protected]) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
