Found 23 articles tagged with #swift

Swift `if let` Shorthand

Shorthand syntax for optional binding conditions that shadow an existing variable by omitting the right-hand expression.

Jul 26, 2022swiftswift-5.7

iOS Operation Queues

One way to perform operations concurrently in iOS is with the Operation and OperationQueue classes built on top of GCD.

Common Swift Attributes

You specify an attribute by writing the @ symbol followed by the attribute’s name and any arguments that the attribute accepts.

Jul 19, 2022swift

Protocol-Oriented Programming in Swift

Swift protocols play a leading role in the structure of standard library and a common method of abstraction, provide a similar experience to interfaces that some other languages have.

Jul 19, 2022swiftparadigms

CocoaPods - Centralized Dependency Manager

CocoaPods will resolve dependencies between libraries, fetch the resulting source code, then link it together in an Xcode workspace to build your project.

Jul 18, 2022iosswiftobjcxcode

iOS Dependency Formats

When you add a dependency to Xcode projects you have the options to add Swift packages, XCFrameworks, frameworks or libraries.

Jul 18, 2022iosswiftobjcxcode

Swift Package Manager

The official tool for managing the distribution of Swift code to automate the process of downloading, compiling, and linking dependencies.

Jul 18, 2022iosswiftxcode

Carthage - Decentralized Dependency Manager

Carthage builds your dependencies and provides you with binary frameworks, but you retain full control over your project structure and setup.

Jul 16, 2022iosswiftobjcxcode

Swift `async let` Bindings

A simple way, similar to a `let` binding, to create child tasks and await their results using `async let` declarations.

iOS Dependency Managers (SwiftPM, CocoaPods, Carthage)

Bundle and share reusable Swift source files, binaries, and resources in a way that is easy to use in your iOS apps.

Jun 02, 2022iosswiftobjcxcode