#swift

Found 97 articles tagged with #swift

Swift @available, #available or #unavailable

To handle API changes, use @available attribute to annotate availability of new declarations, and use #available or #unavailable to conditionalize.

What are protocol associated types in Swift

An associated type gives a placeholder name to a type that’s used as part of the protocol, isn’t specified until the protocol is adopted.

Mar 06, 2023#swift#protocols

A Complete Guide to iOS Data Persistence

A practical guide to every iOS persistence option — SwiftData, CoreData, UserDefaults, Keychain, File System, Codable, SQLite, GRDB, and NSUbiquitousKeyValueStore — with decision guidance and code examples.

What's New in Swift 5.8

Swift has a formal process for proposing and accepting changes to the language, known as the Swift Evolution Process which covers all….

iOS Interview Questions (SwiftUI)

Preparing for a SwiftUI interview involves a combination of learning the fundamental concepts of SwiftUI and practicing building user interfaces with the framework.

Practical iOS Development Guides

Practical iOS development guides covering Swift, SwiftUI, UIKit, architecture, persistence, security, networking, and in-app purchases — from beginner interviews to deep dives.

iOS Interview Questions (Swift)

Preparing for an iOS interview requires you to take considerable amount of time to review Swift language features.

Conflicting access to memory in Swift

The conflicting access discussed here can happen on a single thread and doesn’t involve concurrent or multithreaded code.

Swift Property Wrappers

A property wrapper adds a layer of separation between code that manages how a property is stored and the code that defines a property.

Sep 02, 2022#swift

Swift Protocols

In Swift, a protocol defines a blueprint of methods or properties that can then be adopted by classes or any other types.

Sep 02, 2022#swift