Page Menu
Home
Musing Studio
Search
Configure Global Search
Log In
Files
F14753031
CollectionListView.swift
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
613 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
:
PostList
(
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
Fri, Apr 24, 11:52 AM (3 h, 1 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3684209
Attached To
rWFSUI WriteFreely SwiftUI
Event Timeline
Log In to Comment