• 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
touch position for UITableView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

touch position for UITableView


  • Subject: touch position for UITableView
  • From: "Eric E. Dolecki" <email@hidden>
  • Date: Thu, 20 Dec 2012 13:40:34 -0500

Greetings all,

I have the need for getting the touch position for a UITableView. I
subclassed UITableView and override the touches methods. Like so:

- (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event {

    [self.nextResponder touchesBegan:touches withEvent:event];

    [super touchesBegan:touches withEvent:event];

}


I do this for moved, ended and cancelled. Began works, Moved only fires
once when the UITableView is being scrolled up or down (if you touch
horizontally along a cell it keeps firing), and I don't get Ended.


How can I best tackle this problem? If I could put a UIView above the
UITableView and have it report it's touch position normally and then
somehow pass the events into the UITableView below, that's cool with me - I
just don't know how to do that. In fact, I'd prefer this approach.


Thanks,

Eric
_______________________________________________

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: touch position for UITableView
      • From: Luke Hiesterman <email@hidden>
  • Prev by Date: Re: Modern-day color spaces
  • Next by Date: Re: touch position for UITableView
  • Previous by thread: Re: "New" busy cursor in the Finder
  • Next by thread: Re: touch position for UITableView
  • Index(es):
    • Date
    • Thread