腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
文章/答案/技术大牛
搜索
搜索
关闭
发布
精选内容/技术社群/优惠产品,
尽在小程序
立即前往
文章
问答
(9999+)
视频
沙龙
5
回答
NSIndexpath
.item vs
NSIndexpath
.row
、
、
有人知道
NSIndexpath
.row和
NSIndexpath
.item之间的区别吗?具体地说,我应该在以下哪一个中使用: -(UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(
NSIndexPath
浏览 0
提问于2013-02-08
得票数 84
回答已采纳
1
回答
UICollectionView
NSIndexPath
?
、
、
、
我已经从一个uitableview获得了
NSIndexPath
,但我不知道为什么这个不适用于集合视图?任何帮助都将不胜感激!下面是我需要修复的代码:sqlColumns *author
浏览 4
提问于2014-01-21
得票数 0
回答已采纳
1
回答
NSIndexPath
泄漏
、
、
它似乎与
NSIndexPath
有关,我只在didSelectRowAtIndexPath:indexPath中读取它。除此之外,我不会创建或存储任何
NSIndexPath
结构。
浏览 2
提问于2011-02-28
得票数 0
2
回答
比较
NSIndexPath
、
、
这将是非常愚蠢的事情,但我的cellForRowAtIndexPath中有以下代码:{}0 0 00 0 2 00 0 4 0我期望它只打
浏览 0
提问于2013-06-24
得票数 12
回答已采纳
3
回答
NSIndexPath
2索引
、
*)segue sender:(id)sender{
NSIndexPath
didSelectItemAtIndexPath -(void)collectionView:(UICollectionView *)collectionView didSelectItemAtIndexPath:(
NSIndexPath
NSLog(@"Selected item at %@", ind
浏览 0
提问于2012-12-15
得票数 1
回答已采纳
1
回答
增量式
NSIndexPath
、
、
因此,我一直在搜索,而且似乎大多数人都认为以以下方式递增indexPath是正确的方法:
NSIndexPath
*newIndexPath = [
NSIndexPath
indexPathForRow
浏览 1
提问于2015-12-08
得票数 0
回答已采纳
2
回答
NSIndexPath
for UIButton in UITableViewCell
、
、
我正在尝试实现中问题的答案中概述的块方法,但是我不明白如何设置这个块。假设..。 [self buttonSelectedAtIndexPath:indexPath];是伪代码,假设我在该单元格中有一个UITableViewCell (不是自定义单元格)和一个UIButton,我将如何实现该代码。在不创建自己的UITableViewCell子类的情况下可以这样做吗?
浏览 2
提问于2014-03-14
得票数 0
回答已采纳
4
回答
如何递增
NSIndexPath
、
、
当我遍历数据时,我想递增
NSIndexPath
的最后一个节点。;indexArray[nbrIndex - 1]++;indexPath = [[
NSIndexPath
浏览 0
提问于2012-03-09
得票数 6
回答已采纳
4
回答
什么是
NSIndexPath
、
NSIndexPath
的工作到底是什么,我所理解的是,IndexPath变量是用来引用我们想要显示的单元格的?:o?但是它存储了什么价值呢?我的意思是,设置indexPath变量的内部过程是什么
浏览 1
提问于2011-05-24
得票数 29
回答已采纳
5
回答
NSIndexPath
返回零
、
、
{
NSIndexPath
self.navigationController popViewControllerAnimated:YES];第一次,一切正常,但在我导航到其他ViewController并返回到tableview控制器后,按后退按钮,再单击表行按钮,
NSIndexPath
浏览 0
提问于2015-10-28
得票数 2
回答已采纳
2
回答
NSTimer参数
NSIndexPath
、
但我不能在这里做,我只想给我调用的函数一个
NSIndexPath
。 有谁能帮我吗?泰已经,
浏览 1
提问于2011-05-23
得票数 1
回答已采纳
2
回答
比较
NSIndexPath
Swift
、
如果我为UITableView声明了一个
NSIndexPath
常量,那么使用==运算符进行比较是否有效?这是我的常量声明:然后是我的函数: override, heightForRowAtIndexPath indexPath:
NSIndexPath
!)我假设由于它可以工作,所以
NSIndexPath
对象上的==操作符比较的是区段和行属性,而不是实例。
浏览 0
提问于2014-08-07
得票数 28
回答已采纳
1
回答
Shift
NSIndexPath
实体
、
、
、
我知道
NSIndexPath
是不可变的,但是他们有什么类别或好的模式支持这一点吗?
浏览 2
提问于2012-08-29
得票数 0
回答已采纳
1
回答
NSIndexPath
-如何操作?
、
我想在UITableView中实现索引功能,就像在标准联系人应用程序中一样。我的表中的数据是按字母顺序排序的,当用户按下索引中的某个字母时,我希望滚动到表中的同一字母。 如何在每个部分中返回行数?目前,我有一个函数,可以计算每个部分中的项目数。有没有办法自动计算?当我使用cellForRowAtIndexPath方法时,我需要知道表中某一项的实际数量,而不是一行中的项。我怎么才能得到它?也就是说,我的表格中有50个项目和26个部分。当涉及到项目30时,我希望得到30,而不是"section:3 row:2“。有没有办法做到
浏览 1
提问于2009-04-03
得票数 0
回答已采纳
2
回答
NSIndexPath
递增值
、
我想在cocoa解析文档时创建和管理
NSIndexPath
中的值。
NSIndexPath
具有添加和删除索引的方法,但我需要递增/递减每个索引中的值:0,1以此类推。
浏览 2
提问于2009-08-26
得票数 3
回答已采纳
1
回答
从方法访问
NSIndexPath
、
我试图通过一个不声明indexPath的方法访问tableView的
NSIndexPath
。didTriggerRightUtilityButtonWithIndex:(NSInteger)index { case 0: DetailScheduleViewContro
浏览 3
提问于2014-02-15
得票数 0
回答已采纳
1
回答
UICollectionViewCell
NSindexpath
参考位置
、
、
、
、
- (UICollectionViewCell *)collectionView:(UICollectionView *)collectionView cellForItemAtIndexPath:(
NSIndexPath
是这样的吗:{} 我找不出正确的语法
浏览 3
提问于2014-02-18
得票数 0
回答已采纳
4
回答
UITableViewController didSelectRowAtIndexPath:(
NSIndexPath
*)indexPath
、
、
、
如何引用在didSelectRowAtIndexPath:(
NSIndexPath
*)indexPath方法中单击的单元格对象?编辑: - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(
NSIndexPath
*)indexPath
浏览 1
提问于2011-11-27
得票数 0
回答已采纳
3
回答
如何引用
NSIndexPath
?
、
、
、
、
请帮帮忙 override func tableView(tableView: UITableView, didSelectRowAtIndexPath indexPath:
NSIndexPath
)
浏览 5
提问于2015-04-14
得票数 1
回答已采纳
1
回答
ios: NSArray containsObject:
NSIndexPath
、
、
更确切地说:我有一个
NSIndexPath
对象数组,以前在某个地方创建过,现在我想检查是否有一个行=2和节= 1的
NSIndexPath
对象。如果我编写了下面的代码,它会工作吗?[[self arrayOfPathes] containsObject: [
NSIndexPath
indexPathForItem: 2 inSection: 1]]; 我已经测试过这段代码,而且它对我很有用
浏览 11
提问于2014-10-18
得票数 1
回答已采纳
点击加载更多
扫码
添加站长 进交流群
领取专属
10元无门槛券
手把手带您无忧上云
相关
资讯
JavaScript 引擎深入剖析(一):JSValue 的内部实现
iOS内存管理之Tagged Pointer
热门
标签
更多标签
云服务器
ICP备案
云直播
对象存储
实时音视频
活动推荐
运营活动
广告
关闭
领券