You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 12, 2019. It is now read-only.
Ideally, all ObjC libraries using from Swift should have "nullability annotations" in their headers. These annotations describe the expected behavior of Objective-C pointers with respect to whether they would ever be nil in normal use. This lets the Swift importer figure out whether to import the symbol as an optional or not.
For headers that haven't been annotated, the importer always pulls it in as an implicitly-unwrapped optional (pretty much the worst option).
So, it would be good to add nullability annotations for public headers for proper using CardIO both in Obj-C and Swift codebases.
The text was updated successfully, but these errors were encountered:
Ideally, all ObjC libraries using from Swift should have "nullability annotations" in their headers. These annotations describe the expected behavior of Objective-C pointers with respect to whether they would ever be nil in normal use. This lets the Swift importer figure out whether to import the symbol as an optional or not.
For headers that haven't been annotated, the importer always pulls it in as an implicitly-unwrapped optional (pretty much the worst option).
So, it would be good to add nullability annotations for public headers for proper using CardIO both in Obj-C and Swift codebases.
The text was updated successfully, but these errors were encountered: