摘要:
//// MJViewController.m// UITableView-编辑模式//// Created by mj on 13-4-11.// Copyright (c) 2013年 itcast. All rights reserved.//#import "MJViewCont... 阅读全文
随笔分类 - ios中tableview的用法
ios中tableview网封装(viewcontroller封装)常用的
2013-08-16 09:43 by 甘超波, 2990 阅读, 收藏, 编辑
摘要:
下载地址http://pan.baidu.com/share/link?shareid=3657500168&uk=923776187 使用框架 1:asIHttpRequest库 2;SBJSON 3::英文原文和类库下载地址:https://github.com/emreberge/EGOTa... 阅读全文
ios tableview分组
2013-08-13 21:59 by 甘超波, 13107 阅读, 收藏, 编辑
摘要:
//// ViewController.m// UISCrollerviewTest//// Created by ganchaobo on 13-8-10.// Copyright (c) 2013年 ganchaobo. All rights reserved.//#import "... 阅读全文
ios中自定义button
2013-08-07 17:58 by 甘超波, 14133 阅读, 收藏, 编辑
摘要:
自定义button #import #define KFont 15@interface DIYButton : UIButton@property(nonatomic,copy)NSString *ctrlName;@end#import #define KFont 15@interface ... 阅读全文
ios中自定义checkbox
2013-08-07 09:36 by 甘超波, 2186 阅读, 收藏, 编辑
摘要:
//自定义button#import @interface CKButton : UIButton@end#import "CKButton.h"#define KTitleWidth 0.6#define KPadding 0.1#define KImageWidth (1-KTitleWid... 阅读全文
IOS中UITableview中封装九宫格
2013-08-06 14:56 by 甘超波, 2540 阅读, 收藏, 编辑
摘要:
第一步引入SecondNav目录即可 第二步引入头文件 #import "DIYTableView.h" #import "invoiceInfo.h" 实现协议 DIYButtonDelegate - (void)viewDidLoad{ [super viewDidLoad]; ... 阅读全文
ios中要在tableview中添加事件的方法
2013-08-02 16:42 by 甘超波, 1681 阅读, 收藏, 编辑
摘要:
//触摸tableview背景响应事件。 UIControl *bgcontrol = [[UIControl alloc]initWithFrame:self.tableView_typeList.backgroundView.bounds]; [bgcontrol add... 阅读全文
ios中封装网络和tableview的综合运用
2013-08-01 17:22 by 甘超波, 3586 阅读, 收藏, 编辑
摘要:
1:封装网络请求 类 #import #import "ASIFormDataRequest.h"#import "Reachability.h"@protocol NetWorkDelegate;@interface JSNetWord : NSObject+(id)ShareNetwork;... 阅读全文
ios中uitableview上拉刷新和下拉刷新(1)
2013-07-25 08:33 by 甘超波, 12906 阅读, 收藏, 编辑
摘要:
在一个项目开发过程中为了更好的体验经常会用到下拉刷新更新数据,当然也伴随一些上拉加载更多数据的情况;当前比较火的EGOTableViewPullRefresh只实现了下拉功能,而没有上拉的功能。这里介绍一个同时集成下拉刷新和上拉加载更多的类库EGOTableViewPullRefresh英文原文... 阅读全文
ios中tableview侧栏的折叠
2013-07-15 14:36 by 甘超波, 2904 阅读, 收藏, 编辑
摘要:
#import "ViewController.h"#define Ksmall 40.0f#define Klarge 80.0f#define KNoOpen @"NoOpen"@interface ViewController (){ int flag;}@property(nona... 阅读全文
uitableview分组的数据2中方式
2013-07-02 21:45 by 甘超波, 1677 阅读, 收藏, 编辑
摘要:
//// ViewController.m// tableviegroup//// Created by ganchaobo on 13-7-2.// Copyright (c) 2013年 ganchaobo. All rights reserved.//#import "ViewCo... 阅读全文
新浪微博中tableview中头部信息
2013-06-23 22:26 by 甘超波, 1655 阅读, 收藏, 编辑
摘要:
#import @class User;@protocol ASIHTTPRequestDelegate;@interface ProfileHeaderView : UIView @property (nonatomic, retain) User *user;@property (nonat... 阅读全文
uitableview做九宫格
2013-06-23 22:25 by 甘超波, 1739 阅读, 收藏, 编辑
摘要:
1:创建实体 #import @interface Shop : NSObject@property (nonatomic, copy) NSString *icon;@property (nonatomic, copy) NSString *name;@end#import @interfac... 阅读全文
tableview中头部信息
2013-06-23 16:05 by 甘超波, 1691 阅读, 收藏, 编辑
摘要:
//创建tableview中头部的文件#define kPadding 10#define kIconWidth 100#define kIconHeight 100#define kCountButtonHeight 35#define kCountSize 12#define kCountB... 阅读全文