_tableView = [[UITableView alloc] init]; _tableView.delegate = self; _tableView.dataSource = self; _tableView.frame = CGRectMake(kZero, 6...
分类:
其他好文 时间:
2014-08-04 13:39:27
阅读次数:
268
1.建立tableView DataTable = [[UITableView alloc] initWithFrame:CGRectMake(0, 0, 320, 420)]; [DataTable setDelegate:self]; [DataTable setDataSource:self]...
分类:
其他好文 时间:
2014-08-04 10:35:07
阅读次数:
215
-(void)tableView:(UITableView *)tableViewdidSelectRowAtIndexPath:(NSIndexPath *)indexPath{ [tableView deselectRowAtIndexPath:indexPath ...
分类:
其他好文 时间:
2014-08-02 15:15:03
阅读次数:
142
iOS下用一行代码实现cell的parallax效果
兼容 tableview ,collectionview...
分类:
移动开发 时间:
2014-08-02 12:51:23
阅读次数:
231
点击取消,让删除按钮弹回去[tableView setEditing:NO]初学 ios 真是大菜鸟,这么简单的一个问题搞了 3 个小时
分类:
其他好文 时间:
2014-08-01 19:14:02
阅读次数:
303
第一部分 个性化控件(View)主要介绍那些不错个性化的View,包括ListView、ActionBar、Menu、ViewPager、Gallery、GridView、ImageView、ProgressBar及其他如Dialog、Toast、EditText、TableView、Activit...
分类:
移动开发 时间:
2014-08-01 19:01:12
阅读次数:
386
最近要做一个项目,有个账户设置界面,看了微博、微信、QQ,他们的账号设置都比较原生态没做什么处理。春雨医生的账号不错,做了许多处理。不说废话直接上代码。第一步://UserTableViewCell.h这里定义第一种Cell#import @interface UserTableViewCell :...
分类:
移动开发 时间:
2014-08-01 13:34:01
阅读次数:
311
# 改变iOS7上tableview的分割线长、颜色问题
if ([self.tableView
respondsToSelector:@selector(setSeparatorInset:)]) {
[self.tableView
setSeparatorInset:UIEdgeInsetsZero];
[self.tableView
set...
分类:
移动开发 时间:
2014-07-31 13:32:06
阅读次数:
198
对于iOS的tableView的cell的分割线,一般我们很少使用不是系统默认的,但是有些项目要求还是要求我们去改变分割线的颜色或者外形以配合整个项目的色调。这个苹果公司早都为我们想到了。一、关于分割线的位置。 分割线的位置就是指分割线相对于tableViewCell.如果我们要根据要求调节其位置....
分类:
移动开发 时间:
2014-07-31 12:13:36
阅读次数:
287
最终效果图:
动态效果截图:
BeyondTableViewController.h
//
// BeyondTableViewController.h
// 15_代码自定义cell_weibo
//
// Created by beyond on 14-7-29.
// Copyright (...
分类:
移动开发 时间:
2014-07-30 14:49:33
阅读次数:
343