Source code for the WriteFreely SwiftUI app for iOS, iPadOS, and macOS
25'ten fazla konu seçemezsiniz
Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.
|
- 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
- }
- }
|