Swift: Store arrays of custom classes in Core Data
问题 I'm new to Core Data but for a new project of mine, I would like to save my data to Core Data. I want to create a Reptile-class which contains a couple of custom class arrays. Without Core Data I would have something like this: import Foundation import UIKit class Reptile_ { private var _name: String? private var _dateOfBirth: String? private var _morph: String? private var _breed: String? private var _feedingPeriodInDays: Int? private var _reminderTime: NSDate? private var