Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Styling iOS apps Swiftly (NSSpain '16)

Styling iOS apps Swiftly (NSSpain '16)

Styling apps with stylesheets is fast, it enforces focus on reusability, and it's literally a common language with designers. Although there are several interesting ways to consider, let's see if Swift can revolutionize this approach! 🐥

When working on different apps of the same brand, there are a lot of logic we build to be shared. It's also quite usual that apps wear similar design, that's when reusing style becomes pretty important. We came across several solutions when working with Objective-C, like Classy and NUI, and love both. I'd like to share the experience we gathered through building apps with them, the good parts and the tradeoffs, and how does it look like if we forget these and try to solve the problem with Swift and its awesomeness.

Agnes Vasarhelyi

September 15, 2016
Tweet

More Decks by Agnes Vasarhelyi

Other Decks in Programming

Transcript

  1. UI code Great with defining reuse layout team live Easy

    to Common language within the Can reload
  2. horizontal and vertical size class, display scale, user interface idiom

    _UITraitNameUserInterfaceIdiom = Phone, _UITraitNameDisplayScale = 2.000000, _UITraitNameHorizontalSizeClass = Compact, _UITraitNameVerticalSizeClass = Regular,
  3. PROS teamwork live reload use the same style in more

    apps parsing errors in compile time