Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Resolve printf templates with %u for NSUInteger output. Remove duplic…

…ate header definition
  • Loading branch information...
commit f35c305ffdc49068d8c689dbfc9f62232584dd9c 1 parent 8c3540b
Saul Mora casademora authored
2  MagicalRecord/Categories/DataImport/NSObject+MagicalDataImport.m
View
@@ -31,7 +31,7 @@ - (NSString *) MR_lookupKeyForAttribute:(NSAttributeDescription *)attributeInfo;
for (NSUInteger i = 1; i < kMagicalRecordImportMaximumAttributeFailoverDepth && value == nil; i++)
{
- attributeName = [NSString stringWithFormat:@"%@.%ld", kMagicalRecordImportAttributeKeyMapKey, i];
+ attributeName = [NSString stringWithFormat:@"%@.%u", kMagicalRecordImportAttributeKeyMapKey, i];
lookupKey = [[attributeInfo userInfo] valueForKey:attributeName];
if (lookupKey == nil)
{
2  MagicalRecord/Categories/NSManagedObject/NSManagedObject+MagicalRecord.m
View
@@ -118,7 +118,7 @@ + (NSArray *) MR_propertiesNamed:(NSArray *)properties
}
else
{
- MRLog(@"Property '%@' not found in %ld properties for %@", propertyName, [propDict count], NSStringFromClass(self));
+ MRLog(@"Property '%@' not found in %u properties for %@", propertyName, [propDict count], NSStringFromClass(self));
}
}
}
1  MagicalRecord/Categories/NSManagedObjectModel+MagicalRecord.h
View
@@ -19,6 +19,5 @@
+ (NSManagedObjectModel *) MR_newManagedObjectModelNamed:(NSString *)modelFileName NS_RETURNS_RETAINED;
+ (NSManagedObjectModel *) MR_managedObjectModelNamed:(NSString *)modelFileName;
+ (NSManagedObjectModel *) MR_newModelNamed:(NSString *) modelName inBundleNamed:(NSString *) bundleName NS_RETURNS_RETAINED;
-+ (NSManagedObjectModel *) MR_mergedObjectModelFromMainBundle;
@end
Please sign in to comment.
Something went wrong with that request. Please try again.