Page Menu
Home
Musing Studio
Search
Configure Global Search
Log In
Files
F14177226
CollectionListModel.swift
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
473 B
Subscribers
None
CollectionListModel.swift
View Options
import
SwiftUI
struct
CollectionListModel
{
private
(
set
)
var
userCollections
:
[
PostCollection
]
=
[]
private
(
set
)
var
collectionsList
:
[
PostCollection
]
init
()
{
collectionsList
=
[
allPostsCollection
,
draftsCollection
]
#if
DEBUG
userCollections
=
[
userCollection1
,
userCollection2
,
userCollection3
]
#endif
for
userCollection
in
userCollections
{
collectionsList
.
append
(
userCollection
)
}
}
}
File Metadata
Details
Attached
Mime Type
text/x-c
Expires
Thu, Apr 2, 5:44 AM (17 h, 29 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3673688
Attached To
rWFSUI WriteFreely SwiftUI
Event Timeline
Log In to Comment