Then v2.0.0 Release Notes

Release Date: 2016-09-14 // over 7 years ago

    ๐Ÿฑ 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() }