ios海哥开发笔记 (海哥原创,iOS 之iOS 之NSIndexPath )
来源:互联网 发布:智能数据网关 编辑:程序博客网 时间:2024/04/29 08:02
NSIndexPath和TableViews
@interfaceNSIndexPath (UITableView) {
}
+(NSIndexPath*)indexPathForRow:(NSUInteger)row inSection:(NSUInteger)section;
@property(nonatomic,readonly)NSUIntegerrow;
@property(nonatomic,readonly)NSUIntegersection;
@end
Indicates the depth-first traversal order of the receiving index path and another index path.
Parameters
- indexPath
Index path to compare.
This value must not be
nil
. If the value isnil
, the behavior is undefined.
Return Value
The depth-first traversal ordering of the receiving index path and indexPath.
NSOrderedAscending
: The receiving index path comes before indexPath.NSOrderedDescending
: The receiving index path comes after indexPath.NSOrderedSame
: The receiving index path and indexPath are the same index path.
Availability
- Available in Mac OS X v10.4 and later.
Declared In
NSIndexPath.h
- ios海哥开发笔记 (海哥原创,iOS 之iOS 之NSIndexPath )
- iOS海哥开发笔记 (海哥原创,iOS 之Autolayout(VFL)(一))
- iOS海哥开发笔记 (海哥原创,iOS 之Autolayout(VFL)(二))
- ios海哥开发笔记 (海哥原创,iOS 之NSCoding )
- iOS海哥开发笔记 (海哥原创,iOS 之mac终端命令大全介绍 )
- iOS海哥开发笔记 (海哥原创,iOS 之NSBundle介绍)
- iOS海哥开发笔记 (海哥原创,iOS 之API概述)
- iOS海哥开发笔记 (海哥原创,iOS之深拷贝和浅拷贝)
- iOS陆哥开发笔记(二十六) (NSIndexPath)
- iOS海哥开发笔记 (海哥原创,iOS 之同步请求、异步请求、GET请求、POST请求 )
- iOS海哥开发笔记 (海哥原创,数据存储篇之sqlite3的基本使用)
- iOS NSIndexPath
- iOS海哥开发笔记 (海哥原创,iOS 通知NSNotificationCenter)
- ios海哥开发笔记 (海哥原创,iOS缓存机制NSUserDefaults)
- iOS小明开发笔记(二十五) (NSIndexPath)
- ios海哥开发笔记 (海哥原创,C语言之堆栈入门——堆和栈的区别 )
- iOS海哥开发笔记 (海哥原创,retain、strong、weak、assign区别)
- iOS海哥开发笔记 (海哥原创,NSCharacterSet 简单用法)
- MyEclipse 2014 搭建 Android 开发环境
- JAVA反射系列之Field,java.lang.reflect.Field使用获取方法。
- ios海哥开发笔记 (海哥原创,iOS 之NSCoding )
- 程序员面试题精选100题(35)-两链表的第一个公共结点[数据结构]
- 程序员面试题精选100题(36)-在字符串中删除特定的字符[算法]
- ios海哥开发笔记 (海哥原创,iOS 之iOS 之NSIndexPath )
- xcode6中增加pch文件
- eWebEditor 编辑器功能不能使用
- HMM:隐马尔可夫模型HMM
- 程序员面试题精选100题(37)-寻找丑数[算法]
- Oracle12c64位下使用PL/SQLDeveloper的解决办法
- hdu 1828 Picture 线段树 矩形周长并
- POJ—Building a Space Station
- iOS海哥开发笔记 (海哥原创,iOS 之同步请求、异步请求、GET请求、POST请求 )