~/talk

Drawing Graphs with SwiftUI

Talkat Swift India Conference 2019 · on Sunday, 2019-07-28· [ios, data-visualization]
links:none on file
slides:none on file

Builds a reusable SwiftUI graph composed from Shape, View, ScrollView and GeometryReader, generating a Path from a list of plotted points, drawing X and Y axes and labels, and wrapping the chart in a horizontal ScrollView so widely spaced data scrolls. Adds pinch-to-zoom via magnification gesture, exposes fill/stroke as chainable modifiers and consolidates common tweaks into a ViewModifier. Notes a top-left coordinate assumption for cross-platform reuse; the demo is interactive and works as described.

AI-written summary · about

  1. 0:00Introduction
  2. 1:08Swift Web
  3. 1:47declarative
  4. 2:46imperative
  5. 3:42SwiftUI
  6. 5:43SwiftUI Components
  7. 6:45View
  8. 7:29Shape
  9. 8:11ScrollView
  10. 10:18Friends
  11. 10:45Body
  12. 12:21Axis
  13. 14:08Graph
  14. 15:18Gestures
  15. 18:55View Modifier
  16. 21:18Challenges
  17. 23:34General Advice
~/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.