A dependency manager driven by SwiftPM that works for iOS/tvOS/watchOS/macOS projects. […]
To celebrate one of the most exciting WWDC events in recent memory, raywenderlich.com is excited to announce three brand new iOS books: SwiftUI by Tutorials, Combine: Asynchronous Programming with Swift, and Catalyst by Tutorials.
Learn how to build fluid and engaging declarative UI for your apps — using less code — with SwiftUI, how to master native asynchronous programming with Swift using the Combine framework and how to run iOS apps natively on macOS with Catalyst!
Our three new advanced iOS books are currently on sale and, when you get all three, you can save over 40% with our iOS Summer Bundle! It’s only available for a limited time, so be sure to take advantage of it before it’s gone.
A tool that gives you a command line interface to your Swift scripts. Beak can take a standard Swift file and then list and run any public global functions in it via a command line interface. It analyses your Swift file via SourceKit and finds all public and global functions, turning each into a runnable command while converting parameter names into command line flags. You can also use Beak to generate an Xcode project with all dependencies linked so you can edit your Swift file with full code completion. […]
A package manager that installs and runs Swift command line tools. Mint makes installing, running and distributing these tools much easier. It installs your tools via Swift Package Manager and globally installs and caches builds by version on demand. You can easily run the latest version or a specific version of a tool, or even use different versions of a tool side by side. Due to its use of Swift Package Manger for building tools, any tool that currently supports SPM automatically supports installing and running with Mint. […]
A command line tool that automates the creation and management of Xcode projects. Struct turns your Xcode project into a build artefact by letting you quickly and continuously regenerate it from a YAML or JSON spec file. You can create your first spec file by migrating an existing Xcode project ready to be customised and regenerated. Struct makes it easy to have multiple variants of a project with the ability to add additional source files and resources. Great for whitelabelling and multiple distribution channels. […]
A Swift based command line tool that lets you quickly try out any Swift pod or framework in a playground. Test Drive is ideal for testing a pod or framework without having to modify your project. You can also try out multiple pods and frameworks at once. You just have to run a single command with the name of a pod, or the URL to a Git repository, and Test Drive will create a playground for you. There are also options to choose a specific pod version, git branch, or platform. […]
A command line tool that helps find common xib and storyboard-related problems in your Xcode projects without running your app or writing unit tests. IBAnalyzer starts by parsing all .xib, .storyboard and .swift files in a folder and then uses this data to generate warnings. It can find unimplemented outlets and actions in classes, as well as @IBOutlets and @IBActions defined in code but not connected to from nibs. IBAnalyzer is open source and extensible so you can create new warnings by creating new types that conform to the Analyzer protocol. […]
A command line tool for converting Interface Builder files into Swift layout code. Eject aims to help when Interface Builder reaches its limits and starts getting in the way, by providing an easy path to transition to full programatic view layout. It looks through xib files and generates code based on the views and layout constraints it finds, using user labels for variable names. The output should be good quality Swift code ready to be pasted into the loadView method. You can also use Eject for free on the web as it is hosted as a Vapor application. […]
A simple command line tool that can help you write better, more concise Swift APIs by removing needless words from function names. needless can process text from STDIN or files specified in a list of paths and will attempt to apply the Swift API Design Guidelines by printing out function names with needless words such as repeated type information and will even suggest an alternative. You can also add it as an Xcode build phase that will generate warnings to highlight wordy functions in the source files. […]
A command line tool that lets you execute tests in parallel on multiple iOS simulators. pxctest is simple to install using Homebrew, and once you’ve compiled your project for testing, you can run a single command to execute your tests on as many simulators as you need, including different devices and iOS versions. There are a number of different options to customise how your tests are run, and you can even provide a file that is copied to the simulator’s Preferences plist to change the state of the simulator settings. […]