随笔分类 -  03.IOS进阶UI控件

摘要:*****HMViewController#import "HMViewController.h"#import "HMStatus.h"#import "HMStatusCell.h"#import "HMStatusFrame.h"@interface HMViewController ()/*... 阅读全文
posted @ 2015-08-11 17:07 iso 阅读(194) 评论(0) 推荐(0)
摘要:在 4 的 基础上重写 以下的方法 control#pragma mark - 代理方法/** 计算单元格行高 */- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPa... 阅读全文
posted @ 2015-08-11 16:50 iso 阅读(252) 评论(0) 推荐(0)
摘要:******控制control#import "HMViewController.h"#import "HMStatus.h"#import "HMStatusCell.h"@interface HMViewController ()@property (nonatomic, strong) NSA... 阅读全文
posted @ 2015-08-11 16:36 iso 阅读(201) 评论(0) 推荐(0)
摘要:****代理者的方法中 // 通知页脚视图调整视图显示状态 [footerView endRefresh];//发送代理通知的类中/** 视图控制器刷新完成调用方法 */- (void)endRefresh{ // 4. 加载完成数据 self.loadMoreButto... 阅读全文
posted @ 2015-08-07 16:43 iso 阅读(171) 评论(0) 推荐(0)
摘要:*******HMViewController.h#import "HMViewController.h"#import "HMTg.h"#import "HMTgCell.h"#import "HMTgFooterView.h"@interface HMViewController () @pro... 阅读全文
posted @ 2015-08-07 16:30 iso 阅读(242) 评论(0) 推荐(0)
摘要:******HMTg.h 模型数据#import @interface HMTg : NSObject@property (nonatomic, copy) NSString *title;@property (nonatomic, copy) NSString *icon;@property (n... 阅读全文
posted @ 2015-08-07 15:40 iso 阅读(251) 评论(0) 推荐(0)
摘要:**********UiTableView编辑模式, 拖动位置 ,滑动删除#import "HMViewController.h"@interface HMViewController () /** 数据列表 */@property (nonatomic, strong) NSMutableArra... 阅读全文
posted @ 2015-08-05 14:11 iso 阅读(641) 评论(0) 推荐(0)
摘要:复杂模型分组展示#import "HMViewController.h"#import "HMCarGroup.h"#import "HMCar.h"@interface HMViewController () @property (nonatomic, strong) NSArray *carGr... 阅读全文
posted @ 2015-08-05 14:06 iso 阅读(344) 评论(0) 推荐(0)
摘要://加上头部 和底部- (void)viewDidLoad{ [super viewDidLoad]; [self tableView]; // 设置行高 self.tableView.rowHeight = 120; // 分隔线 sel... 阅读全文
posted @ 2015-08-05 14:03 iso 阅读(726) 评论(0) 推荐(0)
摘要:*************UiTableView模型和数据的分组的显示#import "HMViewController.h"#import "HMHero.h"@interface HMViewController () @property (nonatomic, strong) UITableV... 阅读全文
posted @ 2015-08-04 11:25 iso 阅读(325) 评论(0) 推荐(0)
摘要:****加上数据分离#import "HMViewController.h"#import "HMStudent.h"@interface HMViewController () @property (weak, nonatomic) IBOutlet UITableView *tableView;... 阅读全文
posted @ 2015-08-04 11:18 iso 阅读(214) 评论(0) 推荐(0)
摘要:***表格控件#import "HMViewController.h"@interface HMViewController () @property (weak, nonatomic) IBOutlet UITableView *tableView;@end@implementation HMVi... 阅读全文
posted @ 2015-08-04 11:16 iso 阅读(196) 评论(0) 推荐(0)
摘要:IOS第六天(3:scrollView 图片轮播器)#import "HMViewController.h"#define kImageCount 5@interface HMViewController () @property (nonatomic, strong) UIScrollVi... 阅读全文
posted @ 2015-08-03 14:22 iso 阅读(211) 评论(0) 推荐(0)
摘要:****************10秒倒计时#import "HMViewController.h"@interface HMViewController () @property (weak, nonatomic) IBOutlet UILabel *counterLabel;@property ... 阅读全文
posted @ 2015-08-03 14:14 iso 阅读(276) 评论(0) 推荐(0)
摘要:***查看大图#import "HMViewController.h"@interface HMViewController () @property (strong, nonatomic) IBOutlet UIScrollView *scrollView;@property (nonatomic... 阅读全文
posted @ 2015-08-03 14:08 iso 阅读(309) 评论(0) 推荐(0)