~/talk

Creating a Swift Library

Talkat try! Swift Tokyo 2016 · 2016-03-10..03-12· [swift]
slides:none on file

A toy library called Snorlax is built and released as a concrete example: one function that sleeps randomly, plus an async test and docs. The workflow covers creating Xcode frameworks for iOS/tvOS/watchOS/OS X, sharing a shared scheme, CI with Travis CI, packaging for CocoaPods / Carthage / Swift Package Manager, handling Swift snapshots with swiftenv, adding a Linux XCText main shim, adapting tests for non‑Objective‑C runtimes, and tagging semantic versions for releases.

AI-written summary · about

  1. 0:00Start
  2. 1:37ensure some level quality for your library
  3. 3:15build the swift library
  4. 4:32put a new xcode ios framework
  5. 5:50build setting
  6. 6:50set up our continuous integration service with our library
  7. 7:23target xcode betas
  8. 8:21running s code build tests for each of the supported platforms
  9. 9:46configure the library
  10. 11:15build your project
  11. 12:56move our source code into the sources folder underneath snorlax
  12. 16:20use a specific version of swift
  13. 19:07start actually going through the process of releasing each version
  14. 19:29creating an actual release for our library
  15. 20:18push the pod spec to cocoa pods
  16. 20:30add some extra sparkle
  17. 22:39categorize your tags
  18. 23:11pulling in other dependencies as part of the library
  19. 24:56store your dependencies
~/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.