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.
 
 
 

19 satır
355 B

  1. import Foundation
  2. import WriteFreely
  3. class PostCollection: Identifiable {
  4. let id = UUID()
  5. var title: String
  6. var wfCollection: WFCollection?
  7. init(title: String) {
  8. self.title = title
  9. }
  10. }
  11. extension PostCollection {
  12. static func == (lhs: PostCollection, rhs: PostCollection) -> Bool {
  13. return lhs.id == rhs.id
  14. }
  15. }