SEssentialsAccordionDelegate Protocol Reference

Conforms to NSObject
Declared in SEssentialsAccordionDelegate.h
Availability
Related samples

Overview

The delegate of a SEssentialsAccordion object must adopt the SEssentialsAccordionDelegate protocol. Optional methods of the protocol allow the delegate to keep track of when sections in the accordion are opened, closed, added, deleted or moved.

Instance Methods

accordion:didCloseSection:

Called when a section has been closed.

- (void)accordion:(SEssentialsAccordion *)accordion didCloseSection:(SEssentialsAccordionSection *)section

Declared In

SEssentialsAccordionDelegate.h

accordion:didInsertSection:atIndex:

Called when a new section has been inserted into the accordion.

- (void)accordion:(SEssentialsAccordion *)accordion didInsertSection:(SEssentialsAccordionSection *)section atIndex:(NSInteger)index

Declared In

SEssentialsAccordionDelegate.h

accordion:didMoveSectionFromIndex:toIndex:

Called when a section has been moved.

- (void)accordion:(SEssentialsAccordion *)accordion didMoveSectionFromIndex:(NSInteger)fromIndex toIndex:(NSInteger)toIndex

Parameters

accordion

The SEssentialsAccordion sending the message

fromIndex

The start index of the moving section

toIndex

The final index of the moving section

Declared In

SEssentialsAccordionDelegate.h

accordion:didOpenSection:

Called when a section has been opened.

- (void)accordion:(SEssentialsAccordion *)accordion didOpenSection:(SEssentialsAccordionSection *)section

Declared In

SEssentialsAccordionDelegate.h

accordion:didRemoveSection:

Called when a section has been deleted.

- (void)accordion:(SEssentialsAccordion *)accordion didRemoveSection:(SEssentialsAccordionSection *)section

Declared In

SEssentialsAccordionDelegate.h

accordion:shouldCloseSection:

Called before a section is closed.

- (BOOL)accordion:(SEssentialsAccordion *)accordion shouldCloseSection:(SEssentialsAccordionSection *)section

Declared In

SEssentialsAccordionDelegate.h

accordion:shouldMoveSectionFromIndex:toIndex:

Called before a section is moved. Returning NO will block the section from moving.

- (BOOL)accordion:(SEssentialsAccordion *)accordion shouldMoveSectionFromIndex:(NSInteger)fromIndex toIndex:(NSInteger)toIndex

Parameters

accordion

The SEssentialsAccordion sending the message

fromIndex

The start index of the moving section

toIndex

The final index of the moving section

Declared In

SEssentialsAccordionDelegate.h

accordion:shouldOpenSection:

Called before a section is opened.

- (BOOL)accordion:(SEssentialsAccordion *)accordion shouldOpenSection:(SEssentialsAccordionSection *)section

Declared In

SEssentialsAccordionDelegate.h

accordion:shouldRemoveSection:

Called before a section is deleted.

- (BOOL)accordion:(SEssentialsAccordion *)accordion shouldRemoveSection:(SEssentialsAccordionSection *)section

Declared In

SEssentialsAccordionDelegate.h

accordion:willCloseSection:

Called before a section is closed.

- (void)accordion:(SEssentialsAccordion *)accordion willCloseSection:(SEssentialsAccordionSection *)section

Declared In

SEssentialsAccordionDelegate.h

accordion:willInsertSection:atIndex:

Called before a new section is inserted into the accordion.

- (void)accordion:(SEssentialsAccordion *)accordion willInsertSection:(SEssentialsAccordionSection *)section atIndex:(NSInteger)index

Declared In

SEssentialsAccordionDelegate.h

accordion:willMoveSectionFromIndex:toIndex:

Called when a section is about to move.

- (void)accordion:(SEssentialsAccordion *)accordion willMoveSectionFromIndex:(NSInteger)fromIndex toIndex:(NSInteger)toIndex

Parameters

accordion

The SEssentialsAccordion sending the message

fromIndex

The start index of the moving section

toIndex

The final index of the moving section

Declared In

SEssentialsAccordionDelegate.h

accordion:willOpenSection:

Called before a section is opened.

- (void)accordion:(SEssentialsAccordion *)accordion willOpenSection:(SEssentialsAccordionSection *)section

Declared In

SEssentialsAccordionDelegate.h

accordion:willRemoveSection:

Called before a section is deleted.

- (void)accordion:(SEssentialsAccordion *)accordion willRemoveSection:(SEssentialsAccordionSection *)section

Declared In

SEssentialsAccordionDelegate.h