Have you ever experienced, that some loading indicators just don’t want to dismiss and literally stay forever? Maybe while users tried to login? The short story: you probably forgot to dismiss a loading indicator in some cases.
Within this blogpost you will learn how to declaratively present loading indicators and how to prevent forgetting to dismissing it again.
In our showcase we have a login page, that shall present a loading indicator while the user will be authenticated.…
Command mine is a concept of a swift library for parsing command line arguments. It is designed to support asynchronous implementations of CLIS, that may even be used inside frameworks.
Definitions CommandMine is about extracting minerals out of your ore.
let goldmine = Mine<Gold>() // declare your mine .drift( // One way to get to your gold named: "init", digging drift: Drift, // Prepares your Shaft to shaft: execute // your actual program ) Shaft A protocol describing factories of Rails.…
I excessively make use of the official Swift Package Manager as I usually do some CLIs or other stuff. For this use case it is really great. When developing Apps, Carthage and CocoaPods come in handy, which are great, too. For Web Development there are yarn and NPM, which support project based and global installs. Then there are gem (global) and bundler (project) for ruby based dependencies.
What I missed was an easy way of distribution for Swift CLIs for either projects or globally.…