On Thu, Jan 15, 2009 at 7:59 PM, Memo Akten <m...@memo.tv> 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 (Cocoa-dev@lists.apple.com) 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 arch...@mail-archive.com