Page Menu
Home
Musing Studio
Search
Configure Global Search
Log In
Files
F12272612
CollectionListView.swift
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
617 B
Subscribers
None
CollectionListView.swift
View Options
import
SwiftUI
struct
CollectionListView
:
View
{
private
let
collections
=
postCollections
var
body
:
some
View
{
List
{
ForEach
(
collections
)
{
collection
in
NavigationLink
(
destination
:
PostListView
(
selectedCollection
:
collection
)
)
{
Text
(
collection
.
title
)
}
}
}
.
navigationTitle
(
"Collections"
)
.
listStyle
(
SidebarListStyle
())
}
}
struct
CollectionSidebar_Previews
:
PreviewProvider
{
static
var
previews
:
some
View
{
CollectionListView
()
}
}
File Metadata
Details
Attached
Mime Type
text/x-c
Expires
Thu, Nov 6, 5:02 AM (1 d, 13 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3471931
Attached To
rWFSUI WriteFreely SwiftUI
Event Timeline
Log In to Comment