Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- - (NSString *) value {
- if (value == nil) {
- NSMutableArray *strArray = [[NSMutableArray alloc] init];
- for(int i = 0; i < [rawContents count]; i++) {
- if ([[rawContents objectAtIndex:i] isKindOfClass:[NSString class]]) {
- [strArray addObject:[rawContents objectAtIndex:i]];
- }
- }
- value = [strArray componentsJoinedByString:@""];
- [strArray release];
- }
- return value;
- }
Add Comment
Please, Sign In to add comment