![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
iOS
阿木马克
I know it when I see it
展开
-
MJRefresh-- iOS下拉刷新第三方类库
‘MJRefresh’ 用法简单的下拉刷新框架 支持哪些控件的刷新? UIScrollView、UITableView、UICollectionView、UIWebView 可以直接拿来用 ◦ 下拉刷新控件的种类 ▪ 默认(Normal):MJRefreshNormalHeader ▪ 动图(Gif):MJRefreshGifHeader ◦ 上拉刷新控件的种类 ▪原创 2015-11-05 23:14:53 · 1319 阅读 · 0 评论 -
iOS -实例变量
不需要@synthesize语句在某个版本之前,对应@property,在implementation中需要写对应的@synthesize语句,来合成access方法,不过在一次升级之后,现在已经不再需要了不需要重复声明实例变量实际上,@property声明的是属性,并不是实例变量。但是编译器会根据属性,自动生成实例变量,和对应的access方法。所以已经在interface里声明了@propert翻译 2015-11-10 09:40:15 · 527 阅读 · 0 评论 -
iOS学习笔记 自定义cell并且文本自适应高度
UITableViewCell自定义: 其中要注意的地方:计算cell高度 给lable再次赋文本 单独计算高度;cusTableViewCell.h文件import import “cusTableViewCell.h”@implementation cusTableViewCell (id)initWithStyle:(UITableViewCellStyle)style reuseIdent原创 2015-11-10 09:29:20 · 450 阅读 · 0 评论 -
iOS What The Fuck UITableView
一.点击searchbar 下面searchResultsTableView不透明 - (void)searchDisplayControllerDidBeginSearch:(UISearchDisplayController *)controller { CGRect testFrame = CGRectMake(0, self.searchBar.frame.size.heigh原创 2016-01-15 14:21:08 · 669 阅读 · 0 评论 -
iOS——UITableView的优化
-(UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath{if(self.tableView.dragging==NO&&self.tableView.decelerating==NO){ //这里面写cell绘制方法 } }原创 2016-05-14 11:00:36 · 422 阅读 · 0 评论