• 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: [iPhone] Preprocessing events sent to UITableView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [iPhone] Preprocessing events sent to UITableView


  • Subject: Re: [iPhone] Preprocessing events sent to UITableView
  • From: Matt Neuburg <email@hidden>
  • Date: Tue, 08 Jun 2010 09:56:34 -0700
  • Thread-topic: [iPhone] Preprocessing events sent to UITableView

On or about 6/8/10 9:42 AM, thus spake "WT" <email@hidden>:

> The reader can tap on a section button and the contents of that section get
> dumped into the tableview but the client also wants the user to be able to
> swipe horizontally to switch sections. Naturally, the view controller for a
> section is not the appropriate place to manage the swipe since it involves
> knowledge about other sections. So, I need to intercept the touch events
> received by the table view, pass them a couple of levels up to the view
> controller of the larger view, do the analysis to figure out whether to swipe
> or allow the table to scroll, then pass the events back down to the table if
> the user intended to scroll vertically.

Well, of course I could be wrong, but to me this sounds like a reason to
override sendEvent:. m.

--
matt neuburg, phd = email@hidden, http://www.tidbits.com/matt/
pantes anthropoi tou eidenai oregontai phusei
Among the 2007 MacTech Top 25, http://tinyurl.com/2rh4pf
AppleScript: the Definitive Guide, 2nd edition
http://www.tidbits.com/matt/default.html#applescriptthings
Take Control of Exploring & Customizing Snow Leopard
http://tinyurl.com/kufyy8
RubyFrontier! http://www.apeth.com/RubyFrontierDocs/default.html
TidBITS, Mac news and reviews since 1990, http://www.tidbits.com



_______________________________________________

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: 
 >Re: [iPhone] Preprocessing events sent to UITableView (From: WT <email@hidden>)

  • Prev by Date: Re: [iPhone] Preprocessing events sent to UITableView
  • Next by Date: Re: Erasing drawn content
  • Previous by thread: Re: [iPhone] Preprocessing events sent to UITableView
  • Next by thread: Re: [iPhone] Preprocessing events sent to UITableView
  • Index(es):
    • Date
    • Thread