filmov
tv
Paul Hudson - Separation of concerns: Refactoring view controllers live
Показать описание
We all know that massive view controllers lead to equally massive problems, but sometimes it’s not easy to know where to start when you want to make things better.
In this session I’ll present an example Swift app, walk through the many structural problems it has, then refactor it live on stage so you can see exactly how it’s done.
The end result will be a smarter, simpler architecture that is more testable, more scalable, and most importantly more maintainable.
There are a number of targets we’ll be investigating, such as:
- Relocating view code to a sensible location
- Spinning off delegates and data sources to new classes
- Using coordinators to simplify navigation
All this will be done with live coding on stage, so you can follow along.
In this session I’ll present an example Swift app, walk through the many structural problems it has, then refactor it live on stage so you can see exactly how it’s done.
The end result will be a smarter, simpler architecture that is more testable, more scalable, and most importantly more maintainable.
There are a number of targets we’ll be investigating, such as:
- Relocating view code to a sensible location
- Spinning off delegates and data sources to new classes
- Using coordinators to simplify navigation
All this will be done with live coding on stage, so you can follow along.
Paul Hudson - Separation of concerns: Refactoring view controllers live
Swift & Fika 2018 – Paul Hudson: How Not to Write Swift
Sanofi – Paul Hudson (CEO) introduces Sanofi’s Code of Conduct
Swift Best Practices - workshop by Paul Hudson at #SwiftSofia
Learn the Essentials of Swift in one hour
Why He Cut His Nails After 66 Years - Guinness World Records
Summary: Simple data – Swift for Complete Beginners
How Humans And Machines Can Work Together To Maximize Productivity
9/22 Sun 10:30am - 25th Sunday in Ordinary Time
Mobiconf 2018: Paul Hudson, Hacking With Swift
Paul Hudson - Hands on with Coordinators
Story Session: Paul Hudson interviewed by Steve Scott (Scotty) - App Builders 2020
Inside the Standard Library: Sequence.flatMap
Integer multiples in Swift with isMultiple(of:)
What is the @ScaledMetric property wrapper? – SwiftUI
How to create and use protocols – Swift for Complete Beginners
SwiftConf '18 - Paul Hudson: Mastering iOS Animation
Understanding the Standard Library
How to ace a take home test – Sean Allen on Swiftly Speaking
Arrays – Swift in Sixty Seconds
Mum Launches Campaign To Treat Her Son's Tumours | BORN DIFFERENT
Hugh Jackman Knew the Truth About Anne Hathaway | pt.2 | #shorts
Merging Codable structs – Moonshot SwiftUI Tutorial 10/11
Generating and scaling up a QR code – Hot Prospects 12/16
Комментарии