Source code for the WriteFreely SwiftUI app for iOS, iPadOS, and macOS
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- import Foundation
- import WriteFreely
-
- class PostCollection: Identifiable {
- let id = UUID()
- var title: String
- var wfCollection: WFCollection?
-
- init(title: String) {
- self.title = title
- }
- }
-
- extension PostCollection {
- static func == (lhs: PostCollection, rhs: PostCollection) -> Bool {
- return lhs.id == rhs.id
- }
- }
|