上一页 1 ··· 5 6 7 8 9 10 11 下一页
摘要: 在 4 的 基础上重写 以下的方法 control#pragma mark - 代理方法/** 计算单元格行高 */- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPa... 阅读全文
posted @ 2015-08-11 16:50 iso 阅读(244) 评论(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 阅读(195) 评论(0) 推荐(0) 编辑
摘要: ****代理者的方法中 // 通知页脚视图调整视图显示状态 [footerView endRefresh];//发送代理通知的类中/** 视图控制器刷新完成调用方法 */- (void)endRefresh{ // 4. 加载完成数据 self.loadMoreButto... 阅读全文
posted @ 2015-08-07 16:43 iso 阅读(165) 评论(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 阅读(229) 评论(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 阅读(245) 评论(0) 推荐(0) 编辑
摘要: **********UiTableView编辑模式, 拖动位置 ,滑动删除#import "HMViewController.h"@interface HMViewController () /** 数据列表 */@property (nonatomic, strong) NSMutableArra... 阅读全文
posted @ 2015-08-05 14:11 iso 阅读(625) 评论(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 阅读(337) 评论(0) 推荐(0) 编辑
摘要: //加上头部 和底部- (void)viewDidLoad{ [super viewDidLoad]; [self tableView]; // 设置行高 self.tableView.rowHeight = 120; // 分隔线 sel... 阅读全文
posted @ 2015-08-05 14:03 iso 阅读(717) 评论(0) 推荐(0) 编辑
摘要: *************UiTableView模型和数据的分组的显示#import "HMViewController.h"#import "HMHero.h"@interface HMViewController () @property (nonatomic, strong) UITableV... 阅读全文
posted @ 2015-08-04 11:25 iso 阅读(320) 评论(0) 推荐(0) 编辑
摘要: ****加上数据分离#import "HMViewController.h"#import "HMStudent.h"@interface HMViewController () @property (weak, nonatomic) IBOutlet UITableView *tableView;... 阅读全文
posted @ 2015-08-04 11:18 iso 阅读(201) 评论(0) 推荐(0) 编辑
上一页 1 ··· 5 6 7 8 9 10 11 下一页