码迷,mamicode.com
首页 >  
搜索关键字:cell    ( 5130个结果
iOS RATreeView 问题总结
项目地址:https://github.com/Augustyniak/RATreeView 问题一:点击cell的时候分割线不见了 解决办法:https://github.com/Augustyniak/RATreeView/issues/28 问题二:当数据量过大时,展开和滚动treeView会变得很卡 Fork:https://github.com/vbrylins...
分类:移动开发   时间:2014-11-26 16:36:42    阅读次数:753
iOS 8 & Xcode 6:UITableView的一些问题及解决方案
1 在代码中使用默认UITableViewCell生成单元时,若事先没在viewDidLoad中注册,则不能使用dequeueReusableCellWithIdentifier: forIndexPath:方法,否则报错。如UITableViewCell *cell = [tableView de...
分类:移动开发   时间:2014-11-26 15:58:24    阅读次数:164
NGUI的Scroll View的制作
此为重点: 首先建立一个sprite作为背景,然后建立一个Scroll View, 然后在Scroll View里建立一个Grid 看一下Grid的属性,看到Arrangement是表示排列方式,Sorting也是排序方式,当随意拖动里面的cell 的时候会以你选的方式排序,看Pivot这个是指轴的位置,现在是在中心看图Scenc里面的坐标就知道了。然后看HIde...
分类:其他好文   时间:2014-11-26 14:29:52    阅读次数:196
std::map, struct pointer 为key
template , // map::key_compare class Alloc = allocator > // map::allocator_type > class map;struct Cell{int...
分类:其他好文   时间:2014-11-26 11:06:25    阅读次数:147
PHPExcel解决内存占用过大问题-dw 查找memoryCacheSize把1M改为2048M
http://blog.sina.com.cn/s/blog_4ec7952d0101fcrd.htmlPHPExcel解决内存占用过大问题-设置单元格对象缓存PHPExcel是一个很强大的处理Excel的PHP开源类,但是很大的一个问题就是它占用内存太大,从1.7.3开始,它支持设置cell的缓存...
分类:Web程序   时间:2014-11-26 01:05:54    阅读次数:354
UITableVIew与UICollectionView带动画删除cell时崩溃的处理
UITableVIew与UICollectionView带动画删除cell时崩溃的处理-会崩溃的原因是因为没有处理好数据源与cell之间的协调关系-效果:tableView的源码:ModelCell.h +ModelCell.m//// ModelCell.h// Set//// Create...
分类:其他好文   时间:2014-11-25 23:03:12    阅读次数:508
UITableView取消cell选中状态关于deselectRowAtIndexPath
有没有遇到过,导航+UITableView,在push,back回来之后,当前cell仍然是选中的状态。当然,解决办法简单,添加一句[tableView deselectRowAtIndexPath:indexPath animated:YES]即可。令人纠结的时,在没加这句的时候,有的视图同样回来...
分类:其他好文   时间:2014-11-25 22:50:42    阅读次数:126
UICollectionView 集合视图用法,自定义Cell
在View里面//1.创建UICollectionViewFlowLayout UICollectionViewFlowLayout *flowLayout=[[UICollectionViewFlowLayout alloc] init]; //设置 //1.1设置大小 flowLayout...
分类:其他好文   时间:2014-11-25 00:08:00    阅读次数:845
ios开发——解决UICollectionView的cell间距与设置不符问题
在用UICollectionView展示数据时,有时我们希望将cell的间距调成一个我们想要的值,但往往不得结果。这里我们来看一个不错的方法...
分类:移动开发   时间:2014-11-24 20:57:21    阅读次数:203
【LeetCode】Word Search 解题报告
【题目】 Given a 2D board and a word, find if the word exists in the grid. The word can be constructed from letters of sequentially adjacent cell, where "adjacent" cells are those horizontally or ...
分类:其他好文   时间:2014-11-24 20:56:08    阅读次数:177
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!