Skip to content

Commit

Permalink
mapkit work around
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh Vickery committed Jun 4, 2009
1 parent a029e5a commit b33f45e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .gitignore
Expand Up @@ -7,3 +7,6 @@ build/*
*.pbxuser
*.mode1v3
*.mode2v3

#svn
*.svn
4 changes: 3 additions & 1 deletion Classes/lib/Core/NSObject+PropertySupport.m
Expand Up @@ -39,7 +39,9 @@ + (NSDictionary *)propertyNamesAndTypes {
objc_property_t * prop = propList + i;
NSString *type = [NSString stringWithCString:property_getAttributes(*prop) encoding:NSUTF8StringEncoding];
propName = [NSString stringWithCString:property_getName(*prop) encoding:NSUTF8StringEncoding];
[propertyNames setObject:[self getPropertyType:type] forKey:propName];
if (![propName isEqualToString:@"_mapkit_hasPanoramaID"]) {
[propertyNames setObject:[self getPropertyType:type] forKey:propName];
}
}

free(propList);
Expand Down

0 comments on commit b33f45e

Please sign in to comment.