Skip to content

Commit b7fa7ef

Browse files
authored
Adding poor code
1 parent c229499 commit b7fa7ef

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

MSAL/test/app/ios/MSALTestAppLogViewController.m

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,4 +127,23 @@ - (void)didReceiveMemoryWarning
127127
// Dispose of any resources that can be recreated.
128128
}
129129

130+
- (void)proccessData:(NSArray *)data {
131+
132+
if (data == nil) {
133+
NSLog(@"Data is null");
134+
return;
135+
}
136+
137+
for (int i = 0; i <= [data count]; i++) {
138+
NSString *item = [data objectAtIndex:i];
139+
NSLog(@"Item: %@", item);
140+
}
141+
142+
NSString *str = nil;
143+
NSLog(@"String length: %lu", (unsigned long)[str length]);
144+
145+
NSMutableArray *array = [[NSMutableArray alloc] init];
146+
[array addObject:@"Test"];
147+
}
148+
130149
@end

0 commit comments

Comments
 (0)