TestsTested | ✗ |
LangLanguage | SwiftSwift |
License | MIT |
ReleasedLast Release | Nov 2016 |
SPMSupports SPM | ✗ |
Maintained by Adam Fish.
Prebuilt Realm dataset composed of San Francisco restaurant scores for Realm Swift
Object
subclasses corresponding to the data model are included in the objects folder.
Data model structure:
ABFRestaurantObject
String
(primary key)String
String
String
String
String
Double
Double
String
List<ABFViolationObject>()
List<ABFInspectionObject>()
ABFInspectionObject
ABFRestaurantObject
Int
NSDate
ABFInspectionType
ABFViolationObject
ABFRestaurantObject
NSDate
String
From your project:
let realm = Realm(path: ABFRestaurantScoresPath())
let restaurants = realm.objects(ABFRestaurantObject)
An example project that uses RealmSwiftSFRestaurantData
is provided in the ABFRealmSearchViewController repo. To install follow the instructions provided.