shaka-project / shaka-player-embedded

Shaka Player in a C++ Framework
Apache License 2.0
239 stars 62 forks source link

Nullability tags #118

Closed jgongo closed 4 years ago

jgongo commented 4 years ago

The initializer in ShakaPlayer may return nil if the initialisation fails. Despite that there is no nullability tag in the header indicating this, so the initializer is not considered as a failable one, and you can't check for nil if you use the initializer from Swift.

Can you please include nullability tags in the Objective-C interface so the classes can be properly used from Swift?