Page MenuHomeMusing Studio

CollectionPicker.swift
No OneTemporary

CollectionPicker.swift

import SwiftUI
struct CollectionPicker: View {
@Binding var selectedCollection: PostCollection
private let collections = [
allPostsCollection,
defaultDraftCollection,
testPostCollection1,
testPostCollection2,
testPostCollection3
]
var body: some View {
Picker("Collection", selection: $selectedCollection) {
ForEach(collections) { collection in
Text(collection.title).tag(collection)
}
}
}
}

File Metadata

Mime Type
text/x-c
Expires
Thu, Apr 2, 2:50 AM (1 d, 14 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3678489

Event Timeline