diff options
Diffstat (limited to 'Classes/PicCastAppDelegate.m')
-rw-r--r-- | Classes/PicCastAppDelegate.m | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/Classes/PicCastAppDelegate.m b/Classes/PicCastAppDelegate.m index 1b72a0c..a3bc294 100644 --- a/Classes/PicCastAppDelegate.m +++ b/Classes/PicCastAppDelegate.m @@ -123,17 +123,17 @@ #pragma mark - #pragma mark CustomSheeyit -//+ (void) prompt:(NSString *)title withMessage:(NSString *)message andButtonTitle:(NSString *)buttonTitle withDelegate:(id)delegate { -// UIAlertView *prompt = [UIAlertView alloc]; -// prompt = [prompt initWithTitle:title message:message delegate:delegate cancelButtonTitle:buttonTitle otherButtonTitles:nil]; -// [prompt show]; -// [prompt release]; -//} -// -//+ (void) prompt:(NSString *)title withMessage:(NSString *)message andButtonTitle:(NSString *)buttonTitle { -// [self prompt:title withMessage:message andButtonTitle:buttonTitle withDelegate:self]; -//} -// ++ (void) prompt:(NSString *)title withMessage:(NSString *)message andButtonTitle:(NSString *)buttonTitle withDelegate:(id)delegate { + UIAlertView *prompt = [UIAlertView alloc]; + prompt = [prompt initWithTitle:title message:message delegate:delegate cancelButtonTitle:buttonTitle otherButtonTitles:nil]; + [prompt show]; + [prompt release]; +} + ++ (void) prompt:(NSString *)title withMessage:(NSString *)message andButtonTitle:(NSString *)buttonTitle { + [self prompt:title withMessage:message andButtonTitle:buttonTitle withDelegate:self]; +} + //- (BOOL)application:(UIApplication *)application handleOpenURL:(NSURL *)url { // return [facebook handleOpenURL:url]; //} |