I know that you guys may feel that this is repetitive question. But I'm screwed up with this issue with my project.
Now moving to the issue, I have taken an NSMutableArray named arr1 that contains string values such as @"34", @"40" and so on. Now, I have second NSMutableArray named arr2. I have already tried below code.
[arr1 initWithObjects:@"1",@"2", nil];
arr2 = [[[NSMutableArray alloc] initWithArray:arr1 copyItems:YES] autorelease];
Then, I tried
NSString *no = [arr2 objectAtIndex:0];
tst.text = no;
However, it gives me no value in my textbox.
If any1 can help me out with this would be great help.
NSLog(@"%@",no);show in the Console?nil.[arr1 initWithObjects:@"1",@"2", nil];this looks very dodgy to me...