NSFetchedResultsSectionInfo Protocol Reference

Framework
/System/Library/Frameworks/CoreData.framework
Availability
Available in iOS 3.0 and later.
Companion guide
Declared in
NSFetchedResultsController.h

Overview

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

Tasks

Accessing Objects

Accessing the Name and Title

Properties

indexTitle

The index title of the section. (required)

@property (nonatomic, readonly) NSString *indexTitle
Discussion

This is used when displaying the index.

Availability
  • Available in iOS 3.0 and later.
Declared In
NSFetchedResultsController.h

name

The name of the section. (required)

@property (nonatomic, readonly) NSString *name
Availability
  • Available in iOS 3.0 and later.
Declared In
NSFetchedResultsController.h

numberOfObjects

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

@property (nonatomic, readonly) NSUInteger numberOfObjects
Availability
  • Available in iOS 3.0 and later.
Related Sample Code
Declared In
NSFetchedResultsController.h

objects

The array of objects in the section. (required)

@property (nonatomic, readonly) NSArray *objects
Availability
  • Available in iOS 3.0 and later.
Declared In
NSFetchedResultsController.h