08 2015 档案

摘要:---------- CZApp.h----------#import @interface CZApp : NSObject@property (copy, nonatomic) NSString *icon;@property (copy, nonatomic) NSString *name;@... 阅读全文
posted @ 2015-08-13 15:27 我要选李白 阅读(143) 评论(0) 推荐(0) 编辑
摘要:---------- ViewController.m----------#import "ViewController.h"#import "CZApp.h"#import "CZAppCell.h"@interfaceViewController ()@property (nonatomic, ... 阅读全文
posted @ 2015-08-13 15:19 我要选李白 阅读(150) 评论(0) 推荐(0) 编辑
摘要:---------- ViewController.m----------#import "ViewController.h"#import "CZFriendGroup.h"#import "CZFriendCell.h"#import "CZGroupHeader.h"@interfaceVie... 阅读全文
posted @ 2015-08-12 00:30 我要选李白 阅读(162) 评论(0) 推荐(0) 编辑
摘要:----------CZGroupHeader.h ----------#import @class CZFriendGroup, CZGroupHeader;@protocol CZGroupHeaderDelegate @optional- (void)groupHeaderClick:(CZG... 阅读全文
posted @ 2015-08-12 00:27 我要选李白 阅读(147) 评论(0) 推荐(0) 编辑
摘要:---------- CZFriend.h ----------#import @interface CZFriend : NSObject@property (copy, nonatomic) NSString *icon;@property (copy, nonatomic) NSString ... 阅读全文
posted @ 2015-08-12 00:23 我要选李白 阅读(171) 评论(0) 推荐(0) 编辑
摘要:---------- UIImage+CZHelp.h ----------#import @interface UIImage (CZHelp)+ (UIImage *)resizedImageNamed:(NSString *)name leftScale:(CGFloat)leftScale ... 阅读全文
posted @ 2015-08-11 02:06 我要选李白 阅读(189) 评论(0) 推荐(0) 编辑
摘要:----------ViewController.m ----------#import "ViewController.h"#import "CZMessageCell.h"#import "CZMessage.h"#import "CZMessageFrame.h"@interface View... 阅读全文
posted @ 2015-08-11 02:04 我要选李白 阅读(169) 评论(0) 推荐(0) 编辑
摘要:---------- CZMessageCell.h----------#import @class CZMessageFrame;@interface CZMessageCell : UITableViewCell@property (strong, nonatomic) CZMessageFra... 阅读全文
posted @ 2015-08-11 02:03 我要选李白 阅读(182) 评论(0) 推荐(0) 编辑
摘要:---------- CZMessage.h ----------#import typedef enum{ CZMessageTypeMe = 0, CZMessageTypeOther}CZMessageType;@interface CZMessage : NSObject@propert... 阅读全文
posted @ 2015-08-11 02:01 我要选李白 阅读(161) 评论(0) 推荐(0) 编辑
摘要:---------- CZViewController.m ----------#import "CZViewController.h"#import "CZStatuse.h"#import "CZStatuesCell.h"#import "CZStatuesFrame.h"@interface... 阅读全文
posted @ 2015-08-10 23:42 我要选李白 阅读(216) 评论(0) 推荐(0) 编辑
摘要:---------- CZStatuesCell.h ----------#import @class CZStatuesFrame;@interface CZStatuesCell : UITableViewCell@property (nonatomic, strong) CZStatuesFr... 阅读全文
posted @ 2015-08-10 23:40 我要选李白 阅读(166) 评论(0) 推荐(0) 编辑
摘要:---------- CZStatuse.h ----------#import @interface CZStatuse : NSObject@property (nonatomic, copy) NSString *name;@property (nonatomic, copy) NSStrin... 阅读全文
posted @ 2015-08-10 23:38 我要选李白 阅读(252) 评论(0) 推荐(0) 编辑
摘要:------------- ViewController.m -------------#import "CZViewController.h"#import "CZTg.h"#import "CZTgCell.h"#import "CZHeaderView.h"#import "CZTgFoote... 阅读全文
posted @ 2015-08-10 22:01 我要选李白 阅读(151) 评论(0) 推荐(0) 编辑
摘要:------------- CZTgHeaderView.h -------------#import @interface CZHeaderView : UIView+ (instancetype)headerView;@end------------- CZTgHeaderView.m ----... 阅读全文
posted @ 2015-08-10 21:58 我要选李白 阅读(140) 评论(0) 推荐(0) 编辑
摘要:------------- CZTg.h -------------#import @interface CZTg : NSObject@property (nonatomic, copy) NSString *title;@property (nonatomic, copy) NSString *... 阅读全文
posted @ 2015-08-10 21:48 我要选李白 阅读(168) 评论(0) 推荐(0) 编辑
摘要:------------- ViewController.m -------------#import "ViewController.h"#import "CZHero.h"@interface ViewController () @property (nonatomic,strong) NSAr... 阅读全文
posted @ 2015-08-10 04:00 我要选李白 阅读(130) 评论(0) 推荐(0) 编辑
摘要:------------- ViewController.m -------------#import "ViewController.h"#import "CZHero.h"@interface ViewController () @property (nonatomic,strong) NSAr... 阅读全文
posted @ 2015-08-07 02:08 我要选李白 阅读(154) 评论(0) 推荐(0) 编辑
摘要:更新说明:使用plist数据,隐藏电池状态栏等------------- ViewController.m -------------#import "ViewController.h"#import "CZCarGroup.h"#import "CZCar.h"@interface ViewCon... 阅读全文
posted @ 2015-08-07 01:56 我要选李白 阅读(146) 评论(0) 推荐(0) 编辑
摘要:更新说明:增加多组数据展示------------- ViewController.m -------------#import "ViewController.h"#import "CZCarGroup.h"@interface ViewController () @property (weak,... 阅读全文
posted @ 2015-08-07 00:49 我要选李白 阅读(111) 评论(0) 推荐(0) 编辑
摘要:------------- ViewController.m -------------#import "ViewController.h"@interface ViewController () @property (weak, nonatomic) IBOutlet UITableView *t... 阅读全文
posted @ 2015-08-06 23:54 我要选李白 阅读(102) 评论(0) 推荐(0) 编辑
摘要:更新说明:图片轮播器拖拽图片时暂停轮播。------------- ViewController.m -------------#import "ViewController.h"#define IMAGE_COUNT 5@interface ViewController () @property ... 阅读全文
posted @ 2015-08-06 23:50 我要选李白 阅读(196) 评论(0) 推荐(0) 编辑
摘要:更新说明:添加图片轮播器------------- ViewController.m -------------#import "ViewController.h"#define IMAGE_COUNT 5@interface ViewController () @property (weak, n... 阅读全文
posted @ 2015-08-06 21:31 我要选李白 阅读(158) 评论(0) 推荐(0) 编辑
摘要:------------- ViewController.m -------------#import "ViewController.h"@interface ViewController ()@property (weak, nonatomic) IBOutlet UIScrollView *s... 阅读全文
posted @ 2015-08-06 20:33 我要选李白 阅读(190) 评论(0) 推荐(0) 编辑
摘要:------------- CZQuestion.h -------------#import @interface CZQuestion : NSObject@property (nonatomic, copy) NSString *answer;@property (nonatomic, cop... 阅读全文
posted @ 2015-08-06 19:13 我要选李白 阅读(156) 评论(0) 推荐(0) 编辑
摘要:------------- ViewController.m -------------#import "ViewController.h"#import "CZQuestion.h"@interface ViewController ()@property (weak, nonatomic) IB... 阅读全文
posted @ 2015-08-06 19:09 我要选李白 阅读(145) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2015-08-04 10:59 我要选李白 阅读(82) 评论(0) 推荐(0) 编辑
摘要:将Xib的加载过程封装到CZappView里面。-------------CZapp.h -------------#import@interfaceCZApp :NSObject@property(nonatomic,copy)NSString*name;@property(nonatomic,c... 阅读全文
posted @ 2015-08-03 23:47 我要选李白 阅读(124) 评论(0) 推荐(0) 编辑
摘要:增加下载按钮的点击功能-------------CZapp.h -------------#import @interface CZApp : NSObject@property (nonatomic,copy) NSString *name;@property (nonatomic,copy) N... 阅读全文
posted @ 2015-08-03 23:32 我要选李白 阅读(162) 评论(0) 推荐(0) 编辑
摘要:新建一个CZappView类,将其与Xib一一对应。CZappView的实例对象,等同于Xib本身。实例对象具备的属性,等同于Xib的子控件。-------------CZapp.h -------------#import @interface CZApp : NSObject@property ... 阅读全文
posted @ 2015-08-03 21:05 我要选李白 阅读(144) 评论(0) 推荐(0) 编辑
摘要:新建一个Xib文件(步骤:command+n,选择iOS - User Interface - Empty)用这个Xib来封装appView,这样appView的三个子控件就可以在Xib里完成一大半了。-------------CZapp.h -------------#import @interf... 阅读全文
posted @ 2015-08-03 20:47 我要选李白 阅读(135) 评论(0) 推荐(0) 编辑
摘要:把字典转模型的过程封装在CZapp.m里-------------CZapp.h -------------#import @interface CZApp : NSObject@property (nonatomic,copy) NSString *name;@property (nonatomi... 阅读全文
posted @ 2015-08-03 20:38 我要选李白 阅读(149) 评论(0) 推荐(0) 编辑
摘要:新建一个CZapp类,用对象来代替字典储存数据。-------------CZapp.h -------------#import @interface CZApp : NSObject@property (nonatomic,copy) NSString *name;@property (nona... 阅读全文
posted @ 2015-08-03 20:32 我要选李白 阅读(129) 评论(0) 推荐(0) 编辑
摘要:把添加三个子控件相关的代码提取出来,单独作为一个方法。------------- ViewController.m -------------#import "ViewController.h"@interface ViewController ()@property (nonatomic,stro... 阅读全文
posted @ 2015-08-03 15:40 我要选李白 阅读(135) 评论(0) 推荐(0) 编辑
摘要:导入plist文件,懒加载其数据,并使用九宫格公式,以及for循环的方式继续开发此项目。------------- ViewController.m -------------#import "ViewController.h"@interface ViewController ()@propert... 阅读全文
posted @ 2015-08-03 10:32 我要选李白 阅读(160) 评论(0) 推荐(0) 编辑
摘要:从最一般的思路来尝试创作这个项目:一个一个地创建view。------------- ViewController.m -------------#import "ViewController.h"@interface ViewController ()@end@implementation Vie... 阅读全文
posted @ 2015-08-03 10:10 我要选李白 阅读(137) 评论(0) 推荐(0) 编辑
摘要:------------- ViewController.m -------------#import "ViewController.h"@interface ViewController ()@property (weak, nonatomic) IBOutlet UIImageView *im... 阅读全文
posted @ 2015-08-02 23:55 我要选李白 阅读(151) 评论(0) 推荐(0) 编辑
摘要:-------------ViewController.m-------------#import "ViewController.h"@interface ViewController ()@property (weak, nonatomic) IBOutlet UIImageView *imag... 阅读全文
posted @ 2015-08-02 22:51 我要选李白 阅读(160) 评论(0) 推荐(0) 编辑
摘要:------------- ViewController.m -------------#import "ViewController.h"@interface ViewController ()@property (weak, nonatomic) IBOutlet UIImageView *im... 阅读全文
posted @ 2015-08-02 22:46 我要选李白 阅读(229) 评论(0) 推荐(0) 编辑
摘要:--------------- ViewController.m ---------------#import #import "ViewController.h"@interface ViewController ()@property (weak, nonatomic) IBOutlet UIL... 阅读全文
posted @ 2015-08-02 10:38 我要选李白 阅读(105) 评论(0) 推荐(0) 编辑
摘要:--------------- ViewController.m ---------------#import #import "ViewController.h"@interface ViewController ()@property (weak, nonatomic) IBOutlet UIL... 阅读全文
posted @ 2015-08-02 00:54 我要选李白 阅读(147) 评论(0) 推荐(0) 编辑
摘要:--------------- ViewController.m ---------------#import #import "ViewController.h"@interface ViewController ()@property (weak, nonatomic) IBOutlet UIL... 阅读全文
posted @ 2015-08-01 21:37 我要选李白 阅读(130) 评论(0) 推荐(0) 编辑
摘要:--------------- ViewController.m ---------------#import #import "ViewController.h"@interface ViewController ()@property (weak, nonatomic) IBOutlet UIL... 阅读全文
posted @ 2015-08-01 19:36 我要选李白 阅读(132) 评论(0) 推荐(0) 编辑
摘要:--------------- ViewController.m---------------#import #import "ViewController.h"@interface ViewController ()@property (weak, nonatomic) IBOutlet UIL... 阅读全文
posted @ 2015-08-01 17:55 我要选李白 阅读(138) 评论(0) 推荐(0) 编辑
摘要:备注:增加了监听按钮的点击的功能--------------- ViewController.m ---------------#import "ViewController.h"@interface ViewController ()@end@implementation ViewControll... 阅读全文
posted @ 2015-08-01 14:56 我要选李白 阅读(148) 评论(0) 推荐(0) 编辑
摘要:备注:增加了点击按钮变换头像的功能---------------ViewController.m---------------#import "ViewController.h"@interface ViewController ()@end@implementation ViewControlle... 阅读全文
posted @ 2015-08-01 14:49 我要选李白 阅读(163) 评论(0) 推荐(0) 编辑
摘要:--------------- ViewController.m ---------------#import "ViewController.h"@interfaceViewController()@end@implementationViewController- (void)viewDidLo... 阅读全文
posted @ 2015-08-01 14:43 我要选李白 阅读(171) 评论(0) 推荐(0) 编辑