CoreBitcoin icon indicating copy to clipboard operation
CoreBitcoin copied to clipboard

Nonnull/Nullable annotations for properties and methods

Open oleganza opened this issue 10 years ago • 0 comments

Today Xcode 6.3 with Swift 1.2 is out and we can use new annotations: __nullable and __nonnull (see https://developer.apple.com/swift/blog/?id=25)

We should eventually annotate all methods and properties explicitly. Use of audited regions (NS_ASSUME_NONNULL_BEGIN etc.) should be used sparingly to avoid making mistakes or making the code hard to follow.

oleganza avatar Apr 09 '15 08:04 oleganza