MisterFusion for iOS by Taiki Suzuki

Download Source

MisterFusion makes more easier to use AutoLayout in Swift & Objective-C code.

MisterFusion has three features, in comparison with other Swift AutoLayout DSL.

  1. Constraints to superview is able to be written in less code than other DSL.
    let view = UIView()
    self.view.addLayoutSubview(view, andConstraints:
        view.Top |+| 10,
        view.Right |-| 10,
        view.Left |+| 10,
        view.Bottom |-| 10
  2. It enables to use in Objective-C with "#import <MisterFusion/MisterFusion-Swift.h>".
  3. In addition, it enables to use "dot chaining" in Objective-C.
    UIView *view = [UIView new];
    [self.view addLayoutSubview:view andConstraints:@[

License: MIT

Language: Swift

by 0 people

(Click the stars to add your rating)

Sponsored with ❤️ by Instabug
Why do mobile-first companies choose Instabug over Crashlytics

Instabug helps you identify and resolve severe crashes quickly. You can retrace in-app events and know exactly which line of code caused the crash along with environment details, network logs, repro steps, and the session profiler. Ask more questions or keep users up-to-date with in-app replies straight from your dashboard. We take data privacy seriously, so no one sees your data but you!