SEssentialsAccordionDataSource protocol is adopted by an object to provide
the content for the sections within the accordion. It has one required method.
The content supplied by the datasource is only retained by the Accordion while the content is visible on screen, and will be released when scrolled off screen or the section is closed. It is up to the class adopting the
SEssentialsAccordionDataSource protocol to retain content so it can be requested at any time.
– accordion:contentForSection:required method
Provides the content
UIView for a given section. This method is called at some
point between the section being added to an accordion, and the section being
opened. If the datasource on an accordion is replaced, the content for each
section will be re-requested.
- (UIView *)accordion:(SEssentialsAccordion *)accordion contentForSection:(SEssentialsAccordionSection *)section
SEssentialsAccordion requesting the content
SEssentialsAccordionSection for which the content is being requested