What is Swift?
Swift is an open source language maintained by Apple, primarily used for writing applications in the macOS, iOS, iPadOS, watchOS, and tvOS environments, but also on the server.
47 Degrees provides
Why use Swift?
Swift is a rapidly growing, multi-paradigm programming language mainly used, but not limited to, writing software for the Apple ecosystem. The language inherits many object-oriented programming characteristics from Objective-C but has quickly evolved to include a variety of features from Functional Programming, resulting in a delightful experience when writing strictly typed, concise, and safe code for your applications. Some of the key benefits of Swift include:
The compiler enforces checks for possibly absent values or errors thrown from the code, forcing the programmer to deal with edge cases.
The language removes the superfluous and focuses on writing expressive code with less boilerplate. Type inference also helps to write more succinct while maintaining its power.
Swift maintains compatibility with Objective-C and plays nicely with other languages in the LLVM.
Swift was designed with performance in mind, making it faster than its predecessor and other modern languages.
Xcode provides full support to developing using Swift. The Swift Package Manager complements it and makes it easier to work with external dependencies.
Open Source Projects in Swift:
Bow is an open source library for Functional Programming in Swift. It features numerous abstractions in its core module, together with additional modules for working with effects, optics, and streams, among others. It is sponsored and maintained by engineers at 47 Degrees.
nef is a tool for augmenting the capabilities of Swift Playgrounds. It lets you generate Markdown files, Jekyll sites, and Carbon snippets from a Swift Playground; it also handles and supports compiling 3rd party dependencies.
Bow OpenAPI is a command-line tool for generating a network layer written in Swift from a Swagger / OpenAPI specification. It is based on Bow Effects, having a result that is intrinsically composable and testable.