Merge branch 'develop' into 'master'

no message



See merge request !8
This commit is contained in:
Giuseppe Nucifora 2016-01-29 12:46:25 +00:00
commit 07ae0d3b42

View File

@ -321,16 +321,17 @@
[_JSON setObject:[change objectForKey:@"new"] forKey:keyPath]; [_JSON setObject:[change objectForKey:@"new"] forKey:keyPath];
} }
- (void)dealloc /*- (void)dealloc
{ {
NSDictionary *properties = [PNObject propertiesForClass:self.class]; NSDictionary *properties = [PNObject propertiesForClass:self.class];
for (NSString *propertyName in properties) { for (NSString *propertyName in properties) {
if ([[PNObject protectedProperties] containsObject:propertyName]) { if ([[PNObject protectedProperties] containsObject:propertyName]) {
continue; continue;
} }
[self removeObserver:self forKeyPath:propertyName]; [self removeObserver:self forKeyPath:propertyName];
} }
} }
*/
@end @end