码迷,mamicode.com
首页 >  
搜索关键字:cell    ( 5130个结果
cell的折叠
效果图:工程图:代码中需要引入第三方库QQView.代码:AppDelegate.h#import //加入头文件#import "myQQView.h"@interface AppDelegate : UIResponder { myQQView *qqview;}@property (st...
分类:其他好文   时间:2014-11-28 15:57:11    阅读次数:149
[转]iOS8 自动调整UITableView和UICollectionView布局
转自:http://www.cocoachina.com/industry/20140825/9450.html(via:玉令天下的Blog)本文讲述了UITableView、UICollectionView实现 self-sizing cell 布局的知识,以及如何用 InvalidationCo...
分类:移动开发   时间:2014-11-28 15:42:58    阅读次数:292
点击cell时动画效果
效果图:工程图:代码:RootViewController.h#import @interface RootViewController : UIViewController{ UITableView *myTableView;}@endRootViewController.m#import ...
分类:其他好文   时间:2014-11-28 14:19:05    阅读次数:256
Opencv得到HOG特征(HOGDescriptor 的使用)
原理是很简单的, 在OpenCV实现的是R-HOG, 即对图像img->窗口window->块block->细胞单元cell进行向量统计 首先看描述器的构造函数, 我用         HOGDescriptor *desc=new HOGDescriptor(cvSize(40,80),cvSize(10,20),cvSize(5,10),cvSize(5,5),9); 进行测...
分类:其他好文   时间:2014-11-27 18:24:56    阅读次数:220
让cell默认选中第一行
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath{ // 自定义cell点击背景 cell.selectedBackgroundView =.....
分类:其他好文   时间:2014-11-27 18:07:28    阅读次数:126
自定义cell的点击背景
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath{ // 自定义cell点击背景 cell.selectedBackgroundView ...
分类:其他好文   时间:2014-11-27 17:47:45    阅读次数:119
Kendo UI:Grid中单元格样式控制
问题 Grid某个单元格的样式怎么设置? 解决方案 使用attributes属性设置,如果有css中class属性,需要加双引号””.如 { field: "name", title: "Name", attributes: { "class": "table-cell", style: "text-align: right; f...
分类:其他好文   时间:2014-11-27 16:25:33    阅读次数:358
Kendo UI:Grid中标题css样式设置
问题 Grid表格的标题样式怎么设置? 解决方案 使用headerAttributes属性设置,如果有css中class属性,需要加双引号””.如 { field: "name", headerAttributes: { "class": "table-header-cell", style: "text-align: right; font-s...
分类:Web程序   时间:2014-11-27 16:25:22    阅读次数:550
得到UIView中某个非子视图在UIView中的位置
使用 convertRect: fromView: 或者 convertRect: toView:例如一个视图控制器的view中有一个UITableView,UITableView的某个cell中有个UITextField,想要得到UITextField在view中的位置,就要靠上面的两个方法了。用...
分类:其他好文   时间:2014-11-26 20:42:38    阅读次数:161
NGUI的背包制作
NGUI制作背包很是方便,听紫龙慢慢道来: 这次比较简单,但是需要理解代码。首先建立bg-——背景,然后是Grid,然后Grid下面是cell,cell是背包的格子,然后里面放物品——wuping。wuping下面放个Label,Label里面写数字,暂时表示物品数量。一切都如图所示; 之后給wuping加一个脚本,脚本命名也为wuping ,下面是详细代码: 话说这...
分类:其他好文   时间:2014-11-26 16:37:07    阅读次数:271
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!