TestsTested | ✗ |
LangLanguage | Obj-CObjective C |
License | MIT |
ReleasedLast Release | Oct 2015 |
Maintained by Adam Fish.
Prebuilt Realm dataset composed of San Francisco restaurant scores
RLMObject
subclasses corresponding to the data model are included in the objects folder.
Data model structure:
ABFRestaurantObject
NSString
(primary key)NSString
NSString
NSString
NSString
NSString
CLLocationDegrees
CLLocationDegrees
NSString
RLMArray<ABFViolationObject>
RLMArray<ABFInspectionObject>
ABFInspectionObject
ABFRestaurantObject
NSInteger
NSDate
ABFInspectionType
ABFViolationObject
ABFRestaurantObject
NSDate
NSString
From your project:
#import <RealmSFRestaurantData/SFRestaurantScores.h>
...
RLMRealm *restaurantRealm = [RLMRealm realmWithPath:ABFRestaurantScoresPath()];
RLMResults *restaurants = [ABFRestaurantObject allObjectsInRealm:restaurantRealm];
An example project that uses RealmSFRestaurantData
is provided in the ABFRealmSearchViewController repo. To install follow the instructions provided.