Please log in to watch this conference skillscast.
UIKit is an extremely powerful framework that has enabled developers to build sophisticated apps throughout the last couple of years. However, UIKit's architecture has not kept up with the changes in the iOS developer community, which are mostly driven by the introduction of Swift. Swift developers tend to favor a declarative programming style, UIKit requires the opposite. UIKit mostly works on delegates and callback blocks that provide data to the framework and influence what is rendered on the screen. Forcing our Swift code into this architecture often results in code that is difficult to understand & maintain. Further, UIKit makes it unfortunately easy to write bad code. What if we could turn this inside out? What if the view layer was simply a mapping of our data layer, not requiring delegation or callbacks?
This talk will explore the benefits of a declarative view layer and discuss how UIKit can be used in a somewhat declarative manner today:
- Benefits of a declarative view layer
- Making UIKit components more declarative: strategies and practical examples
- The Future: Can we take this approach further? What are the risks? Can we expect Apple to release a new UI framework?
The talk will discuss practical examples as used in an iOS app with a large codebase. The goal is to make working with UIKit easier today and to look into ways into making further improvements in future.
The Call for Papers is now open for iOSCon2017! Submit your talk for the chance to join a stellar line-up of experts on stage. Find out more.
YOU MAY ALSO LIKE:
- Brian Egan's Flutter and Dart Workshop (in London on 22nd - 23rd October 2019)
- Fast Track to iOS Architecture (in London on 11th - 13th December 2019)
- droidcon London 2019 (in London on 24th - 25th October 2019)
- iOSCon 2020 - The conference for iOS and Swift Developers (in London on 19th - 20th March 2020)
- NewDay Career Hub Drop-in (in London on 21st November 2019)
- Keynote Evening at Mobile Matters (in London on 28th November 2019)
- Cleaning the Big Picture: Creating Maintainable Mobile Games in Haskell (SkillsCast recorded in October 2019)
- Core Image: Great When It Works (SkillsCast recorded in August 2019)
Turning UIKit inside out
Benjamin Encz is an Engineer at PlanGrid in San Francisco. He has worked in the Apple ecosystem since 2011 on a variety of projects, ranging from enterprise software to mobile games. He is the creator of multiple Swift open source libraries such as `ReSwift` and `Validated`. He enjoys exploring new ways of making software more reliable and programming more enjoyable.