~/talk

Develop Swiftly: Useful Libraries, Tips and Tricks for Developing in Swift

Talkat /dev/world 2016 · 2016-08-29..08-31· [swift, developer-experience]
name:Jimmy Ti
links:none on file
slides:none on file

A practical walk through converting Objective-C patterns into Swift with concrete examples: enumerate → enumerated and println → print across Swift releases, switch on strings and ranges, lazy properties and a one-line singleton, and string building via string interpolation. Covers instability pain (source and ABI changes from Swift 1.0→3.0) and recommends cautious adoption now that breaking changes slow. Shows protocol reuse instead of deep subclassing with protocol-based programming and demonstrates Reusable, Async, and SwiftLayout as libraries that make code safer and far terser.

AI-written summary · about

  1. 0:00Introduction and outline
  2. 2:34Swift adoption landscape
  3. 6:28Objective-C vs Swift patterns
  4. 9:17Switch statements upgrade
  5. 10:40Lazy variables and singletons
  6. 12:51Core Graphics improvements
  7. 14:16Protocol-based programming
  8. 18:09String interpolation
  9. 20:17Static typing benefits
  10. 21:45Reusable library demo
  11. 23:29Functions as first-class citizens
  12. 25:37Operator overloading
  13. 27:03Swift layout libraries
  14. 27:46Final thoughts on Swift
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.