• 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
Nullability question (NSEvent)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Nullability question (NSEvent)


  • Subject: Nullability question (NSEvent)
  • From: email@hidden (Stefan Haller)
  • Date: Mon, 27 Jun 2016 19:03:27 +0200

I see that -[NSEvent characters] is marked nullable; however, the
documentation seems to say otherwise. (It says that it will raise an
exception if the event is not a key event; apart from that, it will
return an empty string when there are no characters to return, e.g. for
dead keys.)

Is this a declaration bug, or a documentation bug? If the latter, under
what circumstances will it return null? Is it worth filing a bug for
things like this?

Thanks, Stefan
_______________________________________________

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: Nullability question (NSEvent)
      • From: Jens Alfke <email@hidden>
  • Prev by Date: Re: WWDC 2016 direct download
  • Next by Date: Re: Nullability question (NSEvent)
  • Previous by thread: Re: WWDC 2016 direct download
  • Next by thread: Re: Nullability question (NSEvent)
  • Index(es):
    • Date
    • Thread