SHARE
TWEET

Untitled

a guest Aug 25th, 2019 57 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. final class Author: NSManagedObject {
  2.     @NSManaged var name: String?
  3.     @NSManaged public var publications: NSSet?
  4. }
  5.  
  6. class Publication: NSManagedObject {
  7.     @NSManaged var publicationDate: Date?
  8.     @NSManaged var numberOfViews: Int64
  9.     @NSManaged var author: Author?
  10. }
  11.  
  12. final class Article: Publication {
  13.     @NSManaged var text: String?
  14. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top