Skip to content

Releases: devxoul/Then

2.0.0

14 Sep 20:37
Compare
Choose a tag to compare
  • Now supports Swift 3 🎉

  • then() on value types are renamed to with(). (Actually both then() and with() are available on value types and do the same thing, but with() does make more sense because it's about copying.)

    let point = CGPoint().with {
      $0.x = 10
      $0.y = 20
    }
  • Add Then extensions on CoreGraphics by default.

  • Add do() in class types to execute something without returning value.

    UserDefaults.standard.do {
      $0.set("devxoul", forKey: "username")
      $0.set("[email protected]", forKey: "email")
      $0.synchronize()
    }

1.0.3

04 Jun 13:49
Compare
Choose a tag to compare
  • Revert "Remove additional implementation for AnyObjects" (#26, @devxoul)

1.0.2

04 Jun 13:34
Compare
Choose a tag to compare
  • Remove additional implementation for AnyObjects (#22, @devxoul)

1.0.1

17 Feb 16:18
Compare
Choose a tag to compare
  • Add extension for AnyObject to get rid of 'return' statement. (#21, @devxoul)

1.0.0

09 Jan 18:11
Compare
Choose a tag to compare
  • Add OS X and tvOS targets. (#13, @phimage)
  • Add an availability to use then() on value types. (#18, @devxoul)

0.3.2

09 Jan 18:08
Compare
Choose a tag to compare
  • Change deployment target

0.3.1

30 Dec 17:53
Compare
Choose a tag to compare
  • Make then() public.

0.3.0

30 Dec 17:43
Compare
Choose a tag to compare

0.2.0

30 Dec 08:49
Compare
Choose a tag to compare
  • Make block non-escapable. (#1, @DenHeadless)

0.1.1

28 Dec 05:28
Compare
Choose a tag to compare
  • Make Then public.