~/talk

Refactoring a Massive View Controller in Swift

Talkat 360|iDev 2016 · 2016-09-14..09-17· [swift]
links:none on file
slides:none on file

Shows concrete techniques that shrink enormous view controllers (mentions the 5,000‑line horror) into focused parts: extract views and models, use guard to flatten nesting, move configuration into property closures, and replace duplicated setup with small helper objects. Uses Xcode shortcuts, playgrounds and GitHub slides, suggests dependency injection or a simple manager for third‑party interfaces, and warns about over‑abstraction and performance. Continuous, small refactors are claimed to reduce bugs, risk and developer stress and to save time.

AI-written summary · about

  1. 0:00Introduction
  2. 2:00What is refactoring
  3. 5:00Continuous refactoring
  4. 7:27The Basics
  5. 18:32Separate Files
  6. 19:44Splitting Responsibility
  7. 25:21ProtocolOriented Programming
  8. 27:37Remove Unused Code
  9. 31:10Xcode Shortcuts
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.