• 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: detecting touches not from a view/window on iphone
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: detecting touches not from a view/window on iphone


  • Subject: Re: detecting touches not from a view/window on iphone
  • From: "Stephen J. Butler" <email@hidden>
  • Date: Thu, 15 Jan 2009 21:15:04 -0600

On Thu, Jan 15, 2009 at 7:59 PM, Memo Akten <email@hidden> wrote:
> Hi, what I'd like to be able to do in my iphone app, is detect touches on
> the window (or a view), from an object which is not a UIResponder. Ideally
> if touches sent notifications which could be registered via the notification
> center it would be ideal. I know I could add touchesBegan, touchesMoved etc.
> to all views or the window, and call the relevant functions in my object,
> but I'd prefer to set it without adding any code to the window or views, and
> observing purely from outside. Is this possible?

Curious: what problem are you trying to solve? Responding to user
events outside the responder chain isn't generally a good Cocoa design
pattern.
_______________________________________________

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: 
 >detecting touches not from a view/window on iphone (From: Memo Akten <email@hidden>)

  • Prev by Date: Re: Nib memory management under Garbage Collection
  • Next by Date: Re: ObjC in time-critical parts of the code
  • Previous by thread: detecting touches not from a view/window on iphone
  • Next by thread: Re: Cocoa-dev Digest, Vol 6, Issue 86
  • Index(es):
    • Date
    • Thread