Packages for keyword “type-safety”
These packages are available as a package collection, usable in Xcode or SwiftPM.
swift-tagged
🏷 A wrapper type for safer, expressive code.
swift-nonempty
🎁 A compile-time guarantee that a collection contains a value.
Percentage
A percentage type for Swift
GenericJSON
A simple Swift library for working with generic JSON structures
Graphaello
A Tool for Writing Declarative, Type-Safe and Data-Driven Applications in SwiftUI using GraphQL
requisite-swift
Typed validated values, explicit trust transitions, exhaustive confidence levels, and per-value TTL freshness for Swift.
AceLayout
AceLayout provides a Swifty DSL for Auto Layout.
Identity
🆔 Type-safe identifiers in Swift
swift-domain-standard
RFC 1035, 1123, and 5321 domain name validation for Swift.
SpecialString
Ever need a string but also wish it weren't a String type?
Pathman
Swift type-safe path, file, and directory library using POSIX C APIs
swift-tagged
Phantom-typed value wrappers for zero-cost type safety in Swift.
SwiftIdentifier
A lightweight library that helps to define ID types.
Tagging
🏷 Type-safe tags in Swift
SafeCollectionAccess
Ever wonder why Swift crashes if you access a collection the wrong way? Me too here's some extensions
TypedNotification
Strongly typed notifications in Swift
swift-byte
Byte type for Swift — atomic binary data unit distinct from UInt8, with bitwise ops, hex accessor, and Carrier.Protocol conformance.
swift-carrier
The Carrier super-protocol for phantom-typed value wrappers in Swift.
swift-either
The Either binary coproduct type for typed sum values in Swift.
swift-ownership
Stdlib-parity ~Copyable ownership types — borrows, inouts, unique/copy-on-write cells, atomic slots, and cross-boundary transfer tokens — for Swift.