~/talk

Swift Packages - Dependency Management of the Future

Talkat Swift Heroes Digital 2021 · 2021-04-15..04-16· [developer-experience, swift]
name:Leo Dion
links:none on file
slides:none on file

Explains the Package.swift layout and exact commands used: swift package init, swift test, and generating Xcode projects; shows CI setups with Travis CI and GitHub Actions, Docker for Linux checks (example: Swift 5.3 Ubuntu 18), Codecov for coverage, and tools used as dev deps: swift-argument-parser, sourceDocs, swiftformat, swiftlint, commodore and rocket. Demonstrates sharing C++ binary libraries as a Swift Package, handling platform gaps with can import and #if os, and a real app where a package contains 80–90% of shared code and is fully testable.

AI-written summary · about

  1. 0:00Introduction
  2. 1:08What is package management
  3. 3:13Other package managers
  4. 5:00Getting started with SPM
  5. 6:02Creating packages
  6. 7:03Package.swift explained
  7. 8:29Managing dependencies
  8. 10:37Understanding targets
  9. 11:20Why use SPM
  10. 12:23Publishing packages
  11. 15:51Finding packages
  12. 16:34Ensuring package quality
  13. 18:20Supporting Linux
  14. 20:07API availability tricks
  15. 22:14Git repository setup
  16. 23:15Git hooks with Comodor
  17. 26:24Continuous integration
  18. 29:11Testing strategies
  19. 31:38CPU architecture support
  20. 34:06Code quality tools
  21. 35:50Trimming GitHub releases
  22. 38:18Common issues
  23. 40:01Additional resources
  24. 42:10Recap and conclusion
~/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.