Skip to content

Releases: p-x9/AssociatedObject

v0.7.0

18 Jan 13:42
ee63e32
Compare
Choose a tag to compare

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

v0.6.0

03 Nov 23:34
ac2684b
Compare
Choose a tag to compare

What's Changed

  • Modern writing style by @p-x9 in #18
    Both previous and new writing styles are available.
import AssociatedObject

extension UIViewController {
    @AssociatedObject(.OBJC_ASSOCIATION_RETAIN_NONATOMIC)
    var text = "text"

    /*  ↓↓↓  */

    @AssociatedObject(.retain(.nonatomic))
    var text = "text"
}

Full Changelog: 0.5.0...0.6.0

v0.5.0

09 Oct 10:44
81e503d
Compare
Choose a tag to compare

What's Changed

  • Test cases for AssociatedObject macro by @p-x9 in #15
  • setup ci by @p-x9 in #16

Full Changelog: 0.4.0...0.5.0

v0.4.0

06 Oct 18:16
db5b07d
Compare
Choose a tag to compare

What's Changed

Full Changelog: 0.3.0...0.4.0

v0.3.0

16 Sep 13:02
39dc701
Compare
Choose a tag to compare

What's Changed

  • Update README.md by @p-x9 in #12
  • Bump swift-syntax version to 509.0.0 by @p-x9 in #13

Full Changelog: 0.2.1...0.3.0

v0.2.1

27 Jun 06:17
cbc8b44
Compare
Choose a tag to compare

What's Changed

  • allow an initial value to be omitted when the type is Optional by @p-x9 in #11

Full Changelog: 0.2.0...0.2.1

v0.2.0

27 Jun 05:00
4f545b0
Compare
Choose a tag to compare

What's Changed

  • check count of bindings by @p-x9 in #8
  • support using oldValue in didSet by @p-x9 in #10

Full Changelog: 0.1.0...0.2.0

v0.1.0

26 Jun 14:04
bb10116
Compare
Choose a tag to compare

What's Changed

  • remove formatted by @p-x9 in #6
  • support wiiSet and didSet by @p-x9 in #7

Full Changelog: 0.0.3...0.1.0

v0.0.3

25 Jun 07:16
fd5db94
Compare
Choose a tag to compare

What's Changed

  • fix version of dependencies by @p-x9 in #5

Full Changelog: 0.0.2...0.0.3

v0.0.2

14 Jun 19:27
594cc52
Compare
Choose a tag to compare

What's Changed

New Contributors

  • @p-x9 made their first contribution in #3

Full Changelog: 0.0.1...0.0.2