iphone-common-codes-ccteam源代码 CCUIActionSheet.h

//  
// CCUIActionSheet.h
// CCFC
//
// Created by xichen on 11-12-23.
// Copyright 2011 ccteam. All rights reserved.
//


#import <Foundation/Foundation.h>




@interface UIActionSheet(cc)


// create a common actionsheet
+ (UIActionSheet *)createCommonActionsheet:(NSString *)aTitle
cancelBtnTitle:(NSString *)cancelBtnTitle
destructBtnTitle:(NSString *)destructBtnTitle
showInView:(UIView *)view;


#if CC_ENABLE_PRIVATE_API && CC_COMPILE_PRIVATE_CLASS
- (void)setMessage:(NSString *)msg; // set the message content
- (NSString *)message; // get the message content
- (void)setDefaultButtonIndex:(int)index; // set the index of the destructiveButton
- (int)defaultButtonIndex; // get the index of the destructiveButton
#endif


@end

 

可能有更新:

googlecode链接地址:http://code.google.com/p/iphone-common-codes-ccteam/source/browse/trunk/CCFC/files/CCUIActionSheet.h

github地址: https://github.com/cxsjabc/iphone-common-codes-ccteam/tree/master/CCFC/files/CCUIActionSheet.h

 

posted @ 2012-01-05 14:42  cc_team  阅读(163)  评论(0编辑  收藏  举报