Hi
How can I make "User check is completed!" print after the WHOLE "for" loop has been checked with all the other functions in Call2 before it says "User check completed"?.. Now it rushes through it without waiting for all data to be completed.
Code:
- (IBAction) Call1
{
for (int i=0; i < 6; i++)
{
printf("Processing ID %d", i);
[self Call2];
}
printf("User check is completed!");
}
- (IBAction) Call2
{
// Get some user inputs from UI
}
How can I make "User check is completed!" print after the WHOLE "for" loop has been checked with all the other functions in Call2 before it says "User check completed"?.. Now it rushes through it without waiting for all data to be completed.