equal
deleted
inserted
replaced
70 UIAlertView *alert = [[UIAlertView alloc] initWithTitle:NSLocalizedString(@"Please wait",@"") |
70 UIAlertView *alert = [[UIAlertView alloc] initWithTitle:NSLocalizedString(@"Please wait",@"") |
71 message:nil |
71 message:nil |
72 delegate:nil |
72 delegate:nil |
73 cancelButtonTitle:nil |
73 cancelButtonTitle:nil |
74 otherButtonTitles:nil]; |
74 otherButtonTitles:nil]; |
|
75 [alert show]; |
75 |
76 |
76 UIActivityIndicatorView *indicator = [[UIActivityIndicatorView alloc] |
77 UIActivityIndicatorView *indicator = [[UIActivityIndicatorView alloc] |
77 initWithActivityIndicatorStyle:UIActivityIndicatorViewStyleWhiteLarge]; |
78 initWithActivityIndicatorStyle:UIActivityIndicatorViewStyleWhiteLarge]; |
78 indicator.center = CGPointMake(alert.bounds.size.width / 2, alert.bounds.size.height - 50); |
79 indicator.center = CGPointMake(alert.bounds.size.width / 2, alert.bounds.size.height - 50); |
79 [indicator startAnimating]; |
80 [indicator startAnimating]; |
80 [alert addSubview:indicator]; |
81 [alert addSubview:indicator]; |
81 [indicator release]; |
82 [indicator release]; |
82 [alert show]; |
|
83 [alert release]; |
83 [alert release]; |
84 |
84 |
85 // create Default Team.plist |
85 // create Default Team.plist |
86 NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES); |
86 NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES); |
87 NSString *teamsDirectory = [[paths objectAtIndex:0] stringByAppendingString:@"/Teams/"]; |
87 NSString *teamsDirectory = [[paths objectAtIndex:0] stringByAppendingString:@"/Teams/"]; |