Page Menu
Home
Musing Studio
Search
Configure Global Search
Log In
Files
F12142411
PostCollection.swift
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
537 B
Subscribers
None
PostCollection.swift
View Options
import
Foundation
struct
PostCollection
:
Identifiable
,
Hashable
{
let
id
=
UUID
()
let
title
:
String
}
let
allPostsCollection
=
PostCollection
(
title
:
"All Posts"
)
let
defaultDraftCollection
=
PostCollection
(
title
:
"Drafts"
)
let
userCollections
=
[
PostCollection
(
title
:
"Collection 1"
),
PostCollection
(
title
:
"Collection 2"
),
PostCollection
(
title
:
"Collection 3"
)
]
let
postCollections
=
[
allPostsCollection
,
defaultDraftCollection
,
userCollections
[
0
],
userCollections
[
1
],
userCollections
[
2
]
]
File Metadata
Details
Attached
Mime Type
text/x-c
Expires
Thu, Oct 9, 9:02 PM (13 h, 48 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3438155
Attached To
rWFSUI WriteFreely SwiftUI
Event Timeline
Log In to Comment