Releases: p-x9/AssociatedObject
Releases · p-x9/AssociatedObject
0.12.1
0.12.0
v0.11.0
v0.10.3
v0.10.2
v0.10.1
v0.10.0
v0.9.0
v0.8.0
What's Changed
- default value should set to AssociatedObject by @mlch911 in #22
- Rewrite test cases using
swift-macro-testing
by @p-x9 in #26 - Check if defaultValue has already been set by @p-x9 in #27
- Fix Bug: Optional & ImplicitlyUnwrappedOptional by @mlch911 in #25
- Add CocoaPods Support by @mlch911 in #23
- Add Support for custom Store Key by @mlch911 in #24
- Improve key implementation by @p-x9 in #28
- version 0.8.0 by @p-x9 in #30
Full Changelog: 0.7.0...0.8.0
v0.7.0
What's Changed
Support type inference
Type specification can now be omitted when initializing using literals such as the following.
Thanks: @mlch911
@AssociatedObject(.OBJC_ASSOCIATION_ASSIGN)
var int = 10
@AssociatedObject(.OBJC_ASSOCIATION_ASSIGN)
var boolArray = [true, false]
@AssociatedObject(.OBJC_ASSOCIATION_ASSIGN)
var optionalIntArray = [1, 2, 3, nil]
@AssociatedObject(.OBJC_ASSOCIATION_ASSIGN)
var dic = ["t": "a", "s": "b"]
New Contributors
Full Changelog: 0.6.0...0.7.0