Page Menu
Home
Musing Studio
Search
Configure Global Search
Log In
Files
F12142927
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
Fri, Oct 10, 3:19 AM (1 d, 18 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3441041
Attached To
rWFSUI WriteFreely SwiftUI
Event Timeline
Log In to Comment