# Swift Language

> Apply modern Swift language patterns and idioms for non-concurrency, non-SwiftUI code.

Apply modern Swift language patterns and idioms for non-concurrency, non-SwiftUI code. Covers if/switch expressions (Swift 5.9+), typed throws (Swift 6+), result builders, property wrappers, opaque and existential types (some vs any), guard patterns, Never type, Regex builders (Swift 5.7+), basic Codable shaping (CodingKeys, custom decoding, nested containers), modern collection APIs (count(where:), contains(where:), replacing()), basic FormatStyle usage, and string interpolation patterns. Use when writing core Swift code involving generics, protocols, enums, closures, or modern language features; route deep Codable to swift-codable, detailed formatting/localization to swift-formatstyle, and API naming to swift-api-design-guidelines.

- Page: https://ss33.ai/skills/dpearson2699/swift-language-64564422070
- Publisher: dpearson2699
- Category: [Software Development](https://ss33.ai/skills/category/software-development-t44z8z) › [Languages & frameworks](https://ss33.ai/skills/category/software-development-t44z8z/languages-and-frameworks-rgvrso)
- Source: https://github.com/dpearson2699/swift-ios-skills/blob/8d90fd121a263355a4fb44fd082af1416a5c1c2a/skills/swift-language/SKILL.md

## Skill

This skill's licence does not allow redistribution, so the store does not serve its text. Get it from the author: https://github.com/dpearson2699/swift-ios-skills/blob/8d90fd121a263355a4fb44fd082af1416a5c1c2a/skills/swift-language/SKILL.md
