iOS Developer Library

Developer

CoreData Framework Reference NSFetchedResultsSectionInfo Protocol Reference

Options
Deployment Target:

On This Page
Language:

NSFetchedResultsSectionInfo

Inherits From


Not Applicable

Conforms To


Not Applicable

Import Statement


Swift

import CoreData

Objective-C

@import CoreData;

Availability


Available in iOS 3.0 and later

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

  • numberOfObjects numberOfObjects Required Property

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

    Declaration

    Swift

    var numberOfObjects: Int { get }

    Objective-C

    @property(nonatomic, readonly) NSUInteger numberOfObjects

    Import Statement

    Objective-C

    @import CoreData;

    Swift

    import CoreData

    Availability

    Available in iOS 3.0 and later

  • objects objects Required Property

    The array of objects in the section. (required)

    Declaration

    Swift

    var objects: [AnyObject] { get }

    Objective-C

    @property(nonatomic, readonly) NSArray *objects

    Import Statement

    Objective-C

    @import CoreData;

    Swift

    import CoreData

    Availability

    Available in iOS 3.0 and later

  • name name Required Property

    The name of the section. (required)

    Declaration

    Swift

    var name: String? { get }

    Objective-C

    @property(nonatomic, readonly) NSString *name

    Import Statement

    Objective-C

    @import CoreData;

    Swift

    import CoreData

    Availability

    Available in iOS 3.0 and later

  • indexTitle indexTitle Required Property

    The index title of the section. (required)

    Declaration

    Swift

    var indexTitle: String { get }

    Objective-C

    @property(nonatomic, readonly) NSString *indexTitle

    Discussion

    This is used when displaying the index.

    Import Statement

    Objective-C

    @import CoreData;

    Swift

    import CoreData

    Availability

    Available in iOS 3.0 and later