码迷,mamicode.com
首页 >  
搜索关键字:cell    ( 5130个结果
button设为UICustomType后点击无高亮效果
今天在cell上加了一个button,设了imagesecondButton.buttonType = UIButtonTypeCustom;[secondButton setImage:image_2 forState:UIControlStateNormal];但是点击上去无高亮效果,经查找发现...
分类:其他好文   时间:2014-07-09 22:21:30    阅读次数:201
UITableView 应用及其总结
Plain:Grouped:Cell的结构图:UITableViewCellStyleDefault:预设使用这种,若左侧ImageView没图的话,只有一行字(textLable.text)。UITableViewCellStyleValue1:左侧为textLable.text并且左对齐,右侧....
分类:其他好文   时间:2014-07-09 19:36:36    阅读次数:238
UITableView设置cell为不可选?
本文选自StackOverflow(简称:SOF)精选问答汇总系列文章之一,本系列文章将为读者分享国外最优质的精彩问与答,供读者学习和了解国外最新技术。本文将为读者讲解UITableView如何设置单元格属性为不可选?问题:Mugunth怎样才能设置UITableView的单元格属性为不可选择。我不...
分类:其他好文   时间:2014-07-09 19:18:39    阅读次数:257
POJ-1475-Pushing Boxes(BFS)
Description Imagine you are standing inside a two-dimensional maze composed of square cells which may or may not be filled with rock. You can move north, south, east or west one cell at a step. T...
分类:其他好文   时间:2014-07-08 21:04:29    阅读次数:347
待机状态下,服务类型 WCDMA Service type in Idle mode
Services aredistinguished into categories defined in [7]; also the categorisation of cellsaccording to services they can offer is provided in [7]. -     Normal Service. A UE camped on a suitable cell...
分类:其他好文   时间:2014-07-08 18:18:03    阅读次数:171
检测乳腺癌细胞中的有丝分裂(4)
文章题目是《Learning-based mitotic cell detection in histopathological images》 原理:分为个步骤,第一,分割出候选有丝分裂细胞;第二,利用纹理等特征检测出有丝分裂细胞。 这篇文章读起来挺简单的,都是我们所熟悉的,本文使用了两个开源工具,”ilastik”和”CellCognition” 。 1、分割出候选有丝分裂细胞 一个基...
分类:其他好文   时间:2014-07-08 14:52:28    阅读次数:239
UITableView的性能优化
1.尽量使用不透明的视图。 不透明的视图可以极大提高渲染的速度。因此如非必要,可以将tableView cell及其视图的opaque的属性设置为YES。其中的特例包括背景色,它的alpha值应该为1(例如不要使用 clearColor);图像的alpha值也应该为1,或者在画图时设为不透...
分类:其他好文   时间:2014-07-07 12:44:12    阅读次数:202
关于UITableView选中效果以及自定义cell上的控件响应事件
tableView默认的点击效果是:点击cell:A,出现点击效果,点另一个cell:B的时候,A的点击效果才会消失。1、对于tableView,比较常用的效果,是点击表格行,出现效果,点击完毕,效果消失那么就要在代码里做一些设置。代码如下:-(void)tableView:(UITableView...
分类:其他好文   时间:2014-07-06 23:05:52    阅读次数:295
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 "adjace...
分类:其他好文   时间:2014-07-05 21:30:45    阅读次数:175
第三方库RATreeView的使用记录
由于项目需要用到树状列表,可以增加成员变量,于是用了第三方RATreeView开元库,头一次使用,安装github上的使用说明和Demo跑了一下,挺满意,增加成员什么的都很简单,和tableview很像是,但是在处理选择的cell时我纠结了一会,用惯了tableview的index:index.row   index.section等,猛然接触到RATreeView处理时,不知道该如何办了,下面记...
分类:其他好文   时间:2014-07-03 13:34:23    阅读次数:216
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!