Skip to content

ObjectiveRocks 0.7.0

Compare
Choose a tag to compare
@iabudiab iabudiab released this 19 Feb 15:41
· 91 commits to develop since this release

Released on 2017.02.19

Added

  • Missing nullability annotations and light-weight generics throughout code base
  • New playground content

Updated

  • Project for Xcode 8
  • Swift tests for Swift 3
  • Playground contents and syntax for Swift 3
  • Travis config for iOS 10.2, macOS 10.12
  • Deployment targets to macOS 10.10, iOS 9.0

Removed

  • Removed the deprecated timeoutHint option
  • Removed the deprecated maxMemCompactionLevel option

Breaking Changes

The built-in encoding/decoding of keys and values via the encoding options is completelty removed from this release. The API is completely NSData-based now.

  • Removed built-it Key/Value Encoders and Decoders
    • The conversions of custom types to/from NSData is the responsibility of the caller
  • Removed EncodingOptions
  • Removed all methods depending on EncodingOptions and the built-in key/value encoding and all of the their variants:
    • setObject:forKey:
    • deleteObjectForKey:
    • objectForKey:
    • mergeObject:forKey:
    • mergeOperation:forKey:
  • Refactored all Iterator, Key Comparator and Merge Operator methods accordingly
  • Removed NSNumber Key-Comparators
  • Rename method for setting up default read & write options from setDefaultReadOptions:andWriteOptions: to setDefaultReadOptions:writeOptions:
    • The custom Swift equivalent is setDefault(readOptions:writeOptions:)