🍦 SwiftServe Get

Menu / storage.codable

Can Swift packages do codable persistence?

also known as: record types · persist codable · struct persistence

PackageiOSmacOSwatchOStvOSvisionOSLinuxCatalyst
cache full menu as of 7.4.0
Details

serves it · confidence 0.90 · as of 7.4.0

serves it · confidence 0.90 · as of 7.4.0

serves it · confidence 0.85 · as of 7.4.0

serves it · confidence 0.90 · as of 7.4.0

serves it · confidence 0.85 · as of 7.4.0

serves it · confidence 0.70 · as of 7.4.0

  • TransformerFactory.forCodable
    Source/Shared/Library/TransformerFactory.swift:28
    View the line on GitHub →
    Surface digest resolves this decl present on linux (no gap); source is Foundation-only under Source/Shared with no os() guards, but there is no Linux CI or README corroboration - confidence reduced.
  • Storage.transformCodable
    Source/Shared/Storage/Storage+Transform.swift:19
    View the line on GitHub →
  • TypeWrapper
    Source/Shared/Library/TypeWrapper.swift:4
    View the line on GitHub →

serves it · confidence 0.85 · as of 7.4.0

grdb.swift full menu as of v7.11.1
Details

serves it · confidence 0.90 · as of v7.11.1

serves it · confidence 0.90 · as of v7.11.1

serves it · confidence 0.90 · as of v7.11.1

serves it · confidence 0.90 · as of v7.11.1

serves it · confidence 0.85 · as of v7.11.1

serves it · confidence 0.85 · as of v7.11.1

serves it · confidence 0.85 · as of v7.11.1

sqlite.swift full menu as of 0.16.0
Details

serves it · confidence 0.90 · as of 0.16.0

serves it · confidence 0.90 · as of 0.16.0

serves it · confidence 0.90 · as of 0.16.0

serves it · confidence 0.90 · as of 0.16.0

serves it · confidence 0.90 · as of 0.16.0

serves it · confidence 0.85 · as of 0.16.0

serves it · confidence 0.85 · as of 0.16.0

blackbird as of 0.5
Details

serves it · confidence 0.90 · as of 0.5

  • BlackbirdModel
    Sources/Blackbird/BlackbirdModel.swift:161
    View the line on GitHub →
    Doc: 'A model protocol based on Codable and SQLite.'
  • BlackbirdColumn
    Sources/Blackbird/BlackbirdColumn.swift:46
    View the line on GitHub →
    Property wrapper for column variables in BlackbirdModel struct definitions.
  • BlackbirdCodingKey
    Sources/Blackbird/BlackbirdCodingKey.swift:37
    View the line on GitHub →
    Custom CodingKeys support for BlackbirdModel.

serves it · confidence 0.90 · as of 0.5

  • BlackbirdModel
    Sources/Blackbird/BlackbirdModel.swift:161
    View the line on GitHub →
    Doc: 'A model protocol based on Codable and SQLite.'
  • BlackbirdColumn
    Sources/Blackbird/BlackbirdColumn.swift:46
    View the line on GitHub →
    Property wrapper for column variables in BlackbirdModel struct definitions.
  • BlackbirdCodingKey
    Sources/Blackbird/BlackbirdCodingKey.swift:37
    View the line on GitHub →
    Custom CodingKeys support for BlackbirdModel.

serves it · confidence 0.90 · as of 0.5

  • BlackbirdModel
    Sources/Blackbird/BlackbirdModel.swift:161
    View the line on GitHub →
    Doc: 'A model protocol based on Codable and SQLite.'
  • BlackbirdColumn
    Sources/Blackbird/BlackbirdColumn.swift:46
    View the line on GitHub →
    Property wrapper for column variables in BlackbirdModel struct definitions.
  • BlackbirdCodingKey
    Sources/Blackbird/BlackbirdCodingKey.swift:37
    View the line on GitHub →
    Custom CodingKeys support for BlackbirdModel.

serves it · confidence 0.90 · as of 0.5

  • BlackbirdModel
    Sources/Blackbird/BlackbirdModel.swift:161
    View the line on GitHub →
    Doc: 'A model protocol based on Codable and SQLite.'
  • BlackbirdColumn
    Sources/Blackbird/BlackbirdColumn.swift:46
    View the line on GitHub →
    Property wrapper for column variables in BlackbirdModel struct definitions.
  • BlackbirdCodingKey
    Sources/Blackbird/BlackbirdCodingKey.swift:37
    View the line on GitHub →
    Custom CodingKeys support for BlackbirdModel.

serves it · confidence 0.80 · as of 0.5

  • BlackbirdModel
    Sources/Blackbird/BlackbirdModel.swift:161
    View the line on GitHub →
    No explicit manifest floor (swift-tools-version 5.7 predates visionOS); symbols are unconditional in the surface digest.
  • BlackbirdColumn
    Sources/Blackbird/BlackbirdColumn.swift:46
    View the line on GitHub →
    Property wrapper for column variables in BlackbirdModel struct definitions.
  • BlackbirdCodingKey
    Sources/Blackbird/BlackbirdCodingKey.swift:37
    View the line on GitHub →
    Custom CodingKeys support for BlackbirdModel.
?

not verified yet · confidence 0.20 · as of 0.5

  • Package.swift:7
    View the line on GitHub →
    platforms list contains only Apple platforms; Surface digest records no platform gaps, but sources unconditionally import Combine, SwiftUI, OSLog and SQLite3 with no os() guards, and Package.swift declares no Linux support; Linux buildability is unverified. Symbol absence is not absence evidence, so status is unknown.

serves it · confidence 0.80 · as of 0.5

  • BlackbirdModel
    Sources/Blackbird/BlackbirdModel.swift:161
    View the line on GitHub →
    No explicit manifest floor (swift-tools-version 5.7 predates visionOS); symbols are unconditional in the surface digest.
  • BlackbirdColumn
    Sources/Blackbird/BlackbirdColumn.swift:46
    View the line on GitHub →
    Property wrapper for column variables in BlackbirdModel struct definitions.
  • BlackbirdCodingKey
    Sources/Blackbird/BlackbirdCodingKey.swift:37
    View the line on GitHub →
    Custom CodingKeys support for BlackbirdModel.
boutique as of 3.0.2
Details

serves it · confidence 0.70 · as of 3.0.2

  • StorableItem
    Sources/Boutique/StorableItem.swift:1
    View the line on GitHub →
    public typealias StorableItem = Codable & Sendable — all stored items are Codable
  • Store
    Sources/Boutique/Store.swift:51
    View the line on GitHub →
    Store<Item> persists Codable items to a memory cache and a storage engine
  • Store.insert
    Sources/Boutique/Store.swift:159
    View the line on GitHub →
    func insert(_ item: Item) async throws — persists a Codable item

serves it · confidence 0.70 · as of 3.0.2

  • StorableItem
    Sources/Boutique/StorableItem.swift:1
    View the line on GitHub →
    public typealias StorableItem = Codable & Sendable — all stored items are Codable
  • Store
    Sources/Boutique/Store.swift:51
    View the line on GitHub →
    Store<Item> persists Codable items to a memory cache and a storage engine
  • Store.insert
    Sources/Boutique/Store.swift:159
    View the line on GitHub →
    func insert(_ item: Item) async throws — persists a Codable item

serves it · confidence 0.70 · as of 3.0.2

  • StorableItem
    Sources/Boutique/StorableItem.swift:1
    View the line on GitHub →
    public typealias StorableItem = Codable & Sendable — all stored items are Codable No explicit watchOS floor in Package.swift (manifest lists only iOS/macOS); symbol anchors are unconditional and the digest resolves them present on watchOS.
  • Store
    Sources/Boutique/Store.swift:51
    View the line on GitHub →
    Store<Item> persists Codable items to a memory cache and a storage engine
  • Store.insert
    Sources/Boutique/Store.swift:159
    View the line on GitHub →
    func insert(_ item: Item) async throws — persists a Codable item

serves it · confidence 0.70 · as of 3.0.2

  • StorableItem
    Sources/Boutique/StorableItem.swift:1
    View the line on GitHub →
    public typealias StorableItem = Codable & Sendable — all stored items are Codable No explicit tvOS floor in Package.swift (manifest lists only iOS/macOS); symbol anchors are unconditional and the digest resolves them present on tvOS.
  • Store
    Sources/Boutique/Store.swift:51
    View the line on GitHub →
    Store<Item> persists Codable items to a memory cache and a storage engine
  • Store.insert
    Sources/Boutique/Store.swift:159
    View the line on GitHub →
    func insert(_ item: Item) async throws — persists a Codable item

serves it · confidence 0.70 · as of 3.0.2

  • StorableItem
    Sources/Boutique/StorableItem.swift:1
    View the line on GitHub →
    public typealias StorableItem = Codable & Sendable — all stored items are Codable No explicit visionOS floor in Package.swift (manifest lists only iOS/macOS); symbol anchors are unconditional and the digest resolves them present on visionOS.
  • Store
    Sources/Boutique/Store.swift:51
    View the line on GitHub →
    Store<Item> persists Codable items to a memory cache and a storage engine
  • Store.insert
    Sources/Boutique/Store.swift:159
    View the line on GitHub →
    func insert(_ item: Item) async throws — persists a Codable item
?

not verified yet · confidence 0.20 · as of 3.0.2

  • StorableItem
    Sources/Boutique/StorableItem.swift:1
    View the line on GitHub →
    Surface digest resolves this decl present on linux (no os() conditions anywhere in the public surface), but the module unconditionally imports SwiftUI, Security, and Observation; Package.swift and README declare only iOS 17+/macOS 14+. Linux buildability unverified — honest answer is unknown.

serves it · confidence 0.70 · as of 3.0.2

  • StorableItem
    Sources/Boutique/StorableItem.swift:1
    View the line on GitHub →
    public typealias StorableItem = Codable & Sendable — all stored items are Codable No explicit macCatalyst floor in Package.swift (manifest lists only iOS/macOS); symbol anchors are unconditional and the digest resolves them present on macCatalyst.
  • Store
    Sources/Boutique/Store.swift:51
    View the line on GitHub →
    Store<Item> persists Codable items to a memory cache and a storage engine
  • Store.insert
    Sources/Boutique/Store.swift:159
    View the line on GitHub →
    func insert(_ item: Item) async throws — persists a Codable item
defaults as of 9.0.9
Details

serves it · confidence 0.90 · as of 9.0.9

  • Defaults.TopLevelCodableBridge
    Sources/Defaults/Defaults+Bridge.swift:38
    View the line on GitHub →
    Bridge persisting any top-level Codable value; no per-platform gaps recorded.
  • Defaults.CodableBridge
    Sources/Defaults/Defaults+Protocol.swift:84
    View the line on GitHub →
    Protocol for Codable-based serialization bridges.
  • Defaults.CodableBridge.serialize
    Sources/Defaults/Defaults+Bridge.swift:9
    View the line on GitHub →
    JSON serialization of Codable values.

serves it · confidence 0.90 · as of 9.0.9

  • Defaults.TopLevelCodableBridge
    Sources/Defaults/Defaults+Bridge.swift:38
    View the line on GitHub →
    Bridge persisting any top-level Codable value; no per-platform gaps recorded.
  • Defaults.CodableBridge
    Sources/Defaults/Defaults+Protocol.swift:84
    View the line on GitHub →
    Protocol for Codable-based serialization bridges.
  • Defaults.CodableBridge.serialize
    Sources/Defaults/Defaults+Bridge.swift:9
    View the line on GitHub →
    JSON serialization of Codable values.

serves it · confidence 0.90 · as of 9.0.9

  • Defaults.TopLevelCodableBridge
    Sources/Defaults/Defaults+Bridge.swift:38
    View the line on GitHub →
    Bridge persisting any top-level Codable value; no per-platform gaps recorded.
  • Defaults.CodableBridge
    Sources/Defaults/Defaults+Protocol.swift:84
    View the line on GitHub →
    Protocol for Codable-based serialization bridges.
  • Defaults.CodableBridge.serialize
    Sources/Defaults/Defaults+Bridge.swift:9
    View the line on GitHub →
    JSON serialization of Codable values.

serves it · confidence 0.90 · as of 9.0.9

  • Defaults.TopLevelCodableBridge
    Sources/Defaults/Defaults+Bridge.swift:38
    View the line on GitHub →
    Bridge persisting any top-level Codable value; no per-platform gaps recorded.
  • Defaults.CodableBridge
    Sources/Defaults/Defaults+Protocol.swift:84
    View the line on GitHub →
    Protocol for Codable-based serialization bridges.
  • Defaults.CodableBridge.serialize
    Sources/Defaults/Defaults+Bridge.swift:9
    View the line on GitHub →
    JSON serialization of Codable values.

serves it · confidence 0.90 · as of 9.0.9

  • Defaults.TopLevelCodableBridge
    Sources/Defaults/Defaults+Bridge.swift:38
    View the line on GitHub →
    Bridge persisting any top-level Codable value; no per-platform gaps recorded.
  • Defaults.CodableBridge
    Sources/Defaults/Defaults+Protocol.swift:84
    View the line on GitHub →
    Protocol for Codable-based serialization bridges.
  • Defaults.CodableBridge.serialize
    Sources/Defaults/Defaults+Bridge.swift:9
    View the line on GitHub →
    JSON serialization of Codable values.
?

not verified yet · confidence 0.20 · as of 9.0.9

  • Package.swift:7
    View the line on GitHub →
    Manifest lists Apple platforms only (not absence evidence). Digest records no os() gaps, so unsupported cannot be claimed; core target unconditionally imports SwiftUI/Combine (Apple-only frameworks), making linux presence unverified and doubtful.
  • readme.md:0
    View the line on GitHub →
    README Compatibility section lists macOS/iOS/tvOS/watchOS/visionOS only; linux never mentioned.

serves it · confidence 0.80 · as of 9.0.9

  • Defaults.TopLevelCodableBridge
    Sources/Defaults/Defaults+Bridge.swift:38
    View the line on GitHub →
    No macCatalyst gap recorded in surface digest; decl resolves present.
  • Defaults.CodableBridge
    Sources/Defaults/Defaults+Protocol.swift:84
    View the line on GitHub →
    No macCatalyst gap recorded in surface digest; decl resolves present.
  • Package.swift:7
    View the line on GitHub →
    No explicit macCatalyst floor; Catalyst inherits the .iOS(.v14) floor by SwiftPM default. Confidence lowered accordingly.

✓ serves it · ◐ with conditions · ✕ not served (proven) · ? not verified yet — hover any verdict for the receipt, click to pin it