上一页 1 ··· 4 5 6 7 8 9 10 11 下一页
摘要: #import @interface ZSDProgressView : UIView{ UIView *progressView;//进度view}//进度值@property(nonatomic,assign)float progress;@end#define UIColorFromRG... 阅读全文
posted @ 2014-12-05 11:30 曹县三胖暴打大猩猩 阅读(688) 评论(0) 推荐(0) 编辑
摘要: #import @interface ZSDHelpCell : UITableViewCell@property (weak, nonatomic) IBOutlet UIImageView *selectImageView;@property(nonatomic,copy)NSString *q... 阅读全文
posted @ 2014-12-04 09:53 曹县三胖暴打大猩猩 阅读(248) 评论(0) 推荐(0) 编辑
摘要: 1:可以为类添加新的方法,但不能添加实例变量。2:第一,无法向类中添加新的实例变量。类别没有位置容纳实例变量。第二,名称冲突,即类别中的方法与现有的方法重名。当发生名称冲突时,类别具有更高的优先级。你的类别方法将完全取代初始方法,从而无法再使用初始方法。有些编程人员在自己的类别方法名中增加一个前缀,... 阅读全文
posted @ 2014-11-26 11:25 曹县三胖暴打大猩猩 阅读(459) 评论(0) 推荐(0) 编辑
摘要: #import typedef void(^compeletionHandler) (NSInteger selectButtonIndex);@class ZSDCustom;@protocol ZSDCustomDelegate -(void)showCustomView:(ZSDCustom ... 阅读全文
posted @ 2014-11-26 10:09 曹县三胖暴打大猩猩 阅读(304) 评论(0) 推荐(0) 编辑
摘要: #import "ViewController.h"@interface ViewController (){ UILabel *dynamicLabel;}@end@implementation ViewController- (void)viewDidLoad { if (!dynamic... 阅读全文
posted @ 2014-11-25 14:29 曹县三胖暴打大猩猩 阅读(167) 评论(0) 推荐(0) 编辑
摘要: #import @interface FirstViewController : UIViewController@property (weak, nonatomic) IBOutlet UITextField *contentTxtField;@end#import "SecondViewCont... 阅读全文
posted @ 2014-11-11 14:46 曹县三胖暴打大猩猩 阅读(213) 评论(0) 推荐(0) 编辑
摘要: #import @class ZSDCustomCell;//协议@protocol ZSDCustomCellDelegate //判断选择某行以及某行中的按钮-(void)deleteDidSelectCell:(ZSDCustomCell *)customCell andClickButton... 阅读全文
posted @ 2014-11-10 16:07 曹县三胖暴打大猩猩 阅读(584) 评论(0) 推荐(0) 编辑
摘要: #import @interface ViewController : UIViewController@end#import "ViewController.h"@interface ViewController (){ NSMutableArray *dataArray;//uitablevi... 阅读全文
posted @ 2014-11-07 15:07 曹县三胖暴打大猩猩 阅读(332) 评论(0) 推荐(0) 编辑
摘要: 1:创建一个model数据模型#import @interface DataModel : NSObject//保存section中每行的数据@property(nonatomic,strong)NSMutableArray *array;//section名@property(nonatomic,... 阅读全文
posted @ 2014-11-05 15:36 曹县三胖暴打大猩猩 阅读(515) 评论(0) 推荐(0) 编辑
摘要: 40个GitHub上最受欢迎的iOS开源项目(一)http://www.weste.net/2013/8-1/92975.html40个GitHub上最受欢迎的iOS开源项目(二)http://www.weste.net/2013/8-1/92976.html 阅读全文
posted @ 2014-10-22 16:45 曹县三胖暴打大猩猩 阅读(166) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 10 11 下一页