- Refactoring classes

- Add Installation Class
- Add AccessToken Class (not yet complete)
- Remove PNObjectProperty
- Move PNObjectProperty methods to "PNObject+Protected.h"
This commit is contained in:
giuseppenuc committed 2016-01-27 15:14:04 +01:00
1 parent 1efd26a133
commit fad171373e
24 files changed
+1358 -945

No files matched your search

+29
View File
@@ -0,0 +1,29 @@
//
// PNLocation.m
// Pods
//
// Created by Giuseppe Nucifora on 13/01/16.
//
//
#import "PNLocation.h"
@implementation PNLocation
+ (NSString *) objectClassName {
return @"Location";
}
+ (NSDictionary *) objcetMapping {
NSDictionary *mapping = @{@"lat":@"lat",
@"lng":@"lng",
};
return mapping;
}
+ (BOOL)singleInstance {
return NO;
}
@end