Загрузка...

Swift Argument Parser with Guilherme Rambo

In this video, we talk about building Command Line tools in Swift, and more specifically:

* How the Swift Argument Parser can help you build them - even if you just want a simple CLI to help using and testing your packages.
* Refactoring the [ocrit](https://github.com/insidegui/ocrit) tool, making it use more advanced APIs of the argument parser, and use the PathKit package to make it more type-safe.
* Showing another tool, [Asset Catalog Tinkerer](https://github.com/insidegui/AssetCatalogTinkerer), which is a regular macOS app, but in its Xcode project it also has a command line target with similar functionality.

Rambo is an independent security researcher in the Apple ecosystem, and macOS developer, known mostly for the AirBuddy app. While working on his own tools and frameworks, he has extensively used the Argument Parser to help in their development.

Chapters:

* 00:00 Intro
* 06:58 ocrit: Background Story
* 10:53 ocrit: Adding PathKit
* 17:57 The `validate()` function
* 31:26 ExpressibleByArgument & custom types
* 45:30 The `@main` attribute
* 51:12 Asset Catalog Tinkerer

Видео Swift Argument Parser with Guilherme Rambo канала Swift Toolkit
Яндекс.Метрика
Все заметки Новая заметка Страницу в заметки
Страницу в закладки Мои закладки
На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.
О CookiesНапомнить позжеПринять