Permalink
Browse files

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

…ate header definition
  • Loading branch information...
1 parent 8c3540b commit f35c305ffdc49068d8c689dbfc9f62232584dd9c @casademora casademora committed May 19, 2012
@@ -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)
{
@@ -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));
}
}
}
@@ -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

0 comments on commit f35c305

Please sign in to comment.