Nullability question (NSEvent)
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