Class INObjectCollection<T extends NSObject>

All Implemented Interfaces:
NSCoding, NSObjectProtocol, NSSecureCoding, ObjCProtocol

public class INObjectCollection<T extends NSObject>
extends NSObject
implements NSSecureCoding
Since:
Available in iOS 14.0 and later.
  • Constructor Details

    • INObjectCollection

      protected INObjectCollection()
    • INObjectCollection

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

      protected INObjectCollection​(NSObject.SkipInit skipInit)
    • INObjectCollection

      public INObjectCollection​(NSArray<T> items)
    • INObjectCollection

      public INObjectCollection​(NSCoder coder)
  • Method Details

    • createFromSections

      public static INObjectCollection createFromSections​(NSArray<?> sections)
    • getSections

      public NSArray<?> getSections()
    • getAllItems

      public NSArray<T> getAllItems()
    • usesIndexedCollation

      public boolean usesIndexedCollation()
    • setUsesIndexedCollation

      public void setUsesIndexedCollation​(boolean v)
    • supportsSecureCoding

      public static boolean supportsSecureCoding()
    • initFromSection

      protected long initFromSection​(NSArray<?> sections)
    • init

      protected long init​(NSArray<T> items)
    • encode

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

      protected long init​(NSCoder coder)