iOS Developer Library

Developer

Core Data Framework Reference NSFetchedResultsSectionInfo Protocol Reference

Options
Deployment Target:

On This Page
Language:

NSFetchedResultsSectionInfo

This protocol defines the interface for section objects vended by an instance of NSFetchedResultsController.

  • The number of objects (rows) in the section.

    Declaration

    Swift

    var numberOfObjects: Int { get }

    Objective-C

    @property(nonatomic, readonly) NSUInteger numberOfObjects

    Availability

    Available in iOS 3.0 and later.

  • objects objects Required Property

    The array of objects in the section.

    Declaration

    Swift

    var objects: [AnyObject]? { get }

    Objective-C

    @property(nonatomic, readonly) NSArray *objects

    Availability

    Available in iOS 3.0 and later.

  • name name Required Property

    The name of the section.

    Declaration

    Swift

    var name: String { get }

    Objective-C

    @property(nonatomic, readonly) NSString *name

    Availability

    Available in iOS 3.0 and later.

  • indexTitle indexTitle Required Property

    The index title of the section.

    Declaration

    Swift

    var indexTitle: String? { get }

    Objective-C

    @property(nonatomic, readonly) NSString *indexTitle

    Discussion

    This is used when displaying the index.

    Availability

    Available in iOS 3.0 and later.