Open gardnermj opened 7 years ago
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.
Extensions/CloudKit/YapDatabaseExtensionTypes.h
YapDatabaseCloudKitRecordWithKeyBlock
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.
CKRecord *_Nullable *_Nonnull inOutRecordPtr
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