Class NSIndexPath

All Implemented Interfaces:
NSCoding, NSObjectProtocol, NSSecureCoding, ObjCProtocol

public class NSIndexPath
extends NSObject
implements NSSecureCoding
  • Constructor Details

    • NSIndexPath

      public NSIndexPath()
    • NSIndexPath

      protected NSIndexPath​(NSObject.Handle h, long handle)
    • NSIndexPath

      protected NSIndexPath​(NSObject.SkipInit skipInit)
    • NSIndexPath

      public NSIndexPath​(long index)
    • NSIndexPath

      public NSIndexPath​(NSCoder coder)
    • NSIndexPath

      public NSIndexPath​(long[] indexes)
  • Method Details

    • getLength

      public long getLength()
    • supportsSecureCoding

      public static boolean supportsSecureCoding()
    • getIndexes

      public int[] getIndexes()
    • getIndexes

      public int[] getIndexes​(NSRange positionRange)
      Since:
      Available in iOS 7.0 and later.
    • getSection

      public int getSection()
    • getRow

      public int getRow()
    • getItem

      public int getItem()
      Since:
      Available in iOS 6.0 and later.
    • row

      public static NSIndexPath row​(long row, long section)
    • item

      public static NSIndexPath item​(long item, long section)
      Since:
      Available in iOS 6.0 and later.
    • init

      protected long init​(long index)
    • addIndex

      public NSIndexPath addIndex​(long index)
    • removeLastIndex

      public NSIndexPath removeLastIndex()
    • getIndexAt

      public long getIndexAt​(long position)
    • compare

      public NSComparisonResult compare​(NSIndexPath otherObject)
    • encode

      public void encode​(NSCoder coder)
      Specified by:
      encode in interface NSCoding
    • init

      protected long init​(NSCoder coder)