Page Menu
Home
Musing Studio
Search
Configure Global Search
Log In
Files
F14177117
PostCollection.swift
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
610 B
Subscribers
None
PostCollection.swift
View Options
import
Foundation
import
WriteFreely
struct
PostCollection
:
Identifiable
{
let
id
=
UUID
()
let
title
:
String
var
wfCollection
:
WFCollection
?
}
extension
PostCollection
{
static
func
==
(
lhs
:
PostCollection
,
rhs
:
PostCollection
)
->
Bool
{
return
lhs
.
id
==
rhs
.
id
}
}
let
allPostsCollection
=
PostCollection
(
title
:
"All Posts"
)
let
draftsCollection
=
PostCollection
(
title
:
"Drafts"
)
#if
DEBUG
let
userCollection1
=
PostCollection
(
title
:
"Collection 1"
)
let
userCollection2
=
PostCollection
(
title
:
"Collection 2"
)
let
userCollection3
=
PostCollection
(
title
:
"Collection 3"
)
#endif
File Metadata
Details
Attached
Mime Type
text/x-c
Expires
Thu, Apr 2, 5:41 AM (11 h, 38 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3673423
Attached To
rWFSUI WriteFreely SwiftUI
Event Timeline
Log In to Comment