腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
搜索
关闭
文章
问答
(9999+)
视频
开发者手册
清单
用户
专栏
沙龙
全部问答
原创问答
Stack Exchange问答
更多筛选
回答情况:
全部
有回答
回答已采纳
提问时间:
不限
一周内
一月内
三月内
一年内
问题标签:
未找到与 相关的标签
筛选
重置
5
回答
NSIndexpath
.item vs
NSIndexpath
.row
有人知道
NSIndexpath
.row和
NSIndexpath
.item之间的区别吗?具体地说,我应该在以下哪一个中使用: -(UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(
NSIndexPath
浏览 0
修改于2014-03-22
得票数 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
修改于2017-05-23
得票数 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
回答已采纳
2
回答
NSTimer参数
NSIndexPath
但我不能在这里做,我只想给我调用的函数一个
NSIndexPath
。 有谁能帮我吗?泰已经,
浏览 1
提问于2011-05-23
得票数 1
回答已采纳
5
回答
NSIndexPath
返回零
{
NSIndexPath
self.navigationController popViewControllerAnimated:YES];第一次,一切正常,但在我导航到其他ViewController并返回到tableview控制器后,按后退按钮,再单击表行按钮,
NSIndexPath
浏览 0
修改于2017-05-23
得票数 2
回答已采纳
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
回答已采纳
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-20
得票数 0
回答已采纳
2
回答
NSIndexPath
递增值
我想在cocoa解析文档时创建和管理
NSIndexPath
中的值。
NSIndexPath
具有添加和删除索引的方法,但我需要递增/递减每个索引中的值:0,1以此类推。
浏览 2
提问于2009-08-26
得票数 3
回答已采纳
1
回答
commitEditingStyle中的
NSIndexPath
在commitEditingStyle tableView方法中,".row“属性在
NSIndexPath
上不起作用。有什么想法吗?UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(
NSIndexPath
我以为
NSIndexPath
有一个'row‘属性。显然,当我检查indexPath时,它就在那里。 库尔特
浏览 2
提问于2011-10-31
得票数 1
回答已采纳
3
回答
如何引用
NSIndexPath
?
请帮帮忙 override func tableView(tableView: UITableView, didSelectRowAtIndexPath indexPath:
NSIndexPath
)
浏览 5
修改于2015-04-15
得票数 1
回答已采纳
4
回答
UITableViewController didSelectRowAtIndexPath:(
NSIndexPath
*)indexPath
如何引用在didSelectRowAtIndexPath:(
NSIndexPath
*)indexPath方法中单击的单元格对象?编辑: - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(
NSIndexPath
*)indexPath
浏览 1
修改于2011-11-27
得票数 0
回答已采纳
第 2 页
第 3 页
第 4 页
第 5 页
第 6 页
第 7 页
第 8 页
第 9 页
第 10 页
第 11 页
点击加载更多
领券