Thinking Outside The Box with Swift Package Manager - Hacking With Swift Live, Bath, UK, July 2019
A brief history of being able to use other people's code with your code, and then some examples of neat stuff you can do using SPM for things you'd normally have to do with bash.
THINKING OUTSIDE THE BOX WITH ! SWIFT PACKAGE MANAGER HACKING WITH SWIFT LIVE | BATH, UK | JULY 2019 BY ELLEN SHAPIRO | @DESIGNATEDNERD | APOLLOGRAPHQL.COM
YourCode.swift NSLocalizedString("The key that will be displayed by default", "Some comment") Base.lproj/Localizable.strings /* Some Comment */ "The key that will be displayed by default" = "The key that will be displayed by default";
YourCode.swift NSLocalizedString("The key that will be displayed by default", "Some comment") Base.lproj/Localizable.strings /* Some Comment */ "The key that will be displayed by default" = "The key that will be displayed by default"; nl.lproj/Localizable.strings /* Some Comment */ "The key that will be displayed by default" = "De sleutel die standaard wordt weergegeven";
YourCode.swift NSLocalizedString("default_key", "Some comment") Base.lproj/Localizable.strings /* Some Comment */ "default_key" = "The key that will be displayed by default"; nl.lproj/Localizable.strings /* Some Comment */ "default_key" = "De sleutel die standaard wordt weergegeven";
YourCode.swift LocalizedString(key: .default_key) Base.lproj/Localizable.strings /* Some Comment */ "default_key" = "The key that will be displayed by default"; nl.lproj/Localizable.strings /* Some Comment */ "default_key" = "De sleutel die standaard wordt weergegeven";
OBLIGATORY SUMMARY SLIDE > Swift Package Manager can help you make your iOS Projects better today > Move build scripts to swift and keep type safety > Actually test your build scripts!
OBLIGATORY SUMMARY SLIDE > Swift Package Manager can help you make your iOS Projects better today > Move build scripts to swift and keep type safety > Actually test your build scripts! > In Xcode 11, you should be able to use it for your main app and scripts in the same project.
LINKS! > It's time to use Swift Package Manager https://artsy.github.io/blog/2019/01/05/its-time-to- use-spm/ > Marathon https://github.com/JohnSundell/Marathon > swift-sh https://github.com/mxcl/swift-sh