Skip to content

Instantly share code, notes, and snippets.

@beechtom
Last active October 5, 2023 05:21
Show Gist options
  • Save beechtom/70cdaf7706c3433e711b016793d75d93 to your computer and use it in GitHub Desktop.
Save beechtom/70cdaf7706c3433e711b016793d75d93 to your computer and use it in GitHub Desktop.
SectionedResults-01
import SwiftData
struct SectionedResults<SectionIdentifier, Result>: RandomAccessCollection
where SectionIdentifier: Hashable, Result: PersistentModel {
struct Section: RandomAccessCollection, Identifiable {
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment