阅读背景:

iphone-common-codes-ccteam源代码 CCUIActionSheet.m_java开发指南博客 【转载】

来源:互联网 
//
//  CCUIActionSheet.m
//  CCFC
//
//  Created by xichen on 11-12-23.
//  Copyright 2011 ccteam. All rights reserved.
//


#import "CCUIActionSheet.h"




@implementation UIActionSheet(cc)


// create a common actionsheet
+ (UIActionSheet *)createCommonActionsheet:(NSString *)aTitle
                                                        cancelBtnTitle:(NSString *)cancelBtnTitle
                                                  destructBtnTitle:(NSString *)destructBtnTitle
                                                                showInView:(UIView *)view
{
        UIActionSheet *actionSheet = [[UIActionSheet alloc] 
                                                                  initWithTitle:aTitle
                                                                           delegate:self
                                                          cancelButtonTitle:cancelBtnTitle
                                                 destructiveButtonTitle:destructBtnTitle
                                                          otherButtonTitles:nil];
        [actionSheet showInView:view];
        [actionSheet release];
        return actionSheet;
}


@end//
//  CCUIActionSheet.m
//  CCFC
//
//  Create



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: