diff --git a/GormCore/Plugins/Xib/GormXIBModelGenerator.m b/GormCore/Plugins/Xib/GormXIBModelGenerator.m index 3431f0e7..44d75573 100644 --- a/GormCore/Plugins/Xib/GormXIBModelGenerator.m +++ b/GormCore/Plugins/Xib/GormXIBModelGenerator.m @@ -202,12 +202,13 @@ static NSUInteger _count = INT_MAX; { NSUInteger l = [self length]; unichar *c = malloc(l * sizeof(unichar)); - + NSUInteger i = 0; + [self getCharacters: c]; NSString *result = @""; - for (NSUInteger i = 0; i < l; i++) + for (i = 0; i < l; i++) { result = [result stringByAppendingString: [NSString stringWithFormat: @"%x", c[i]]]; }