> On Jun 27, 2016, at 10:03 AM, Stefan Haller wrote:
>
> I see that -[NSEvent characters] is marked nullable; however, the
> documentation seems to say otherwise.
Have you checked the 10.12 SDK? From the API diffs I’ve seen, Apple's been
correcting nullability annotations where they conflict
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 d
On Jan 11, 2016, at 8:04 AM, Dave wrote:
> I’ve noticed there are two forms to specify nullability on properties, is one
> preferred syntax over the other?
Judging by Apple's usage, using the property attributes (nullable and nonnull)
are preferred.
--
Seth Willits
_
Hi,
I’ve noticed there are two forms to specify nullability on properties, is one
preferred syntax over the other?
@property (nonatomic,copy) NSString* _Nullable propA;
@property(readonly,nullable) NSString* propB;
Thanks
Dave
__