• 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: iOS - Proper way to check UIEvent or UInternalEvent
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: iOS - Proper way to check UIEvent or UInternalEvent


  • Subject: Re: iOS - Proper way to check UIEvent or UInternalEvent
  • From: Alex Zavatone <email@hidden>
  • Date: Tue, 23 Jun 2015 21:10:24 -0400

Actually, the rotate event is the one that is being caught and sent.

If it's a UIEvent and it's listed as a UIInternalEvent, within the debugger, how do I check the type and subtype to see what type of event it is so that I can return immediately if it is the wrong type?

On Jun 23, 2015, at 7:35 PM, Kyle Sluder wrote:

> On Tue, Jun 23, 2015, at 02:54 PM, Alex Zavatone wrote:
>> We don't care about motion events.  We only care about touch events.
>>
>> I'm trying to check if the event is a of UIEventTypeMotion and simply
>> return.
>
> If you only care about touch events, why aren't you comparing against
> UIEventTypeTouches?
>
> --Kyle Sluder
> _______________________________________________
>
> 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


_______________________________________________

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: iOS - Proper way to check UIEvent or UInternalEvent
      • From: Kyle Sluder <email@hidden>
References: 
 >iOS - Proper way to check UIEvent or UInternalEvent (From: Alex Zavatone <email@hidden>)
 >Re: iOS - Proper way to check UIEvent or UInternalEvent (From: Kyle Sluder <email@hidden>)

  • Prev by Date: Re: C Assert in BSD Static Library
  • Next by Date: Re: iOS - Proper way to check UIEvent or UInternalEvent
  • Previous by thread: Re: iOS - Proper way to check UIEvent or UInternalEvent
  • Next by thread: Re: iOS - Proper way to check UIEvent or UInternalEvent
  • Index(es):
    • Date
    • Thread