YapDatabase
YapDatabase copied to clipboard
Nullability annotations on YapDatabaseCloudKitRecordHandler blocks
I believe the record handler type signatures in Extensions/CloudKit/YapDatabaseExtensionTypes.h (YapDatabaseCloudKitRecordWithKeyBlock, etc) have the wrong nullability annotations, which is breaking things for Swift 3 projects.
See: https://lists.swift.org/pipermail/swift-users/Week-of-Mon-20160919/003342.html
What is the correct nullability annotation ?
I'm no ObjC expert, but based on what Jordan wrote I think they just need to be reversed, i.e. to CKRecord *_Nullable *_Nonnull inOutRecordPtr.