Page Menu
Home
Musing Studio
Search
Configure Global Search
Log In
Files
F14172149
CollectionPicker.swift
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
511 B
Subscribers
None
CollectionPicker.swift
View Options
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
Details
Attached
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
Attached To
rWFSUI WriteFreely SwiftUI
Event Timeline
Log In to Comment