SFormDelegate Protocol Reference

Conforms to NSObject
Declared in SFormDelegate.h
Availability
Related samples

Overview

Protocol for any classes which act as a delegate of a ShinobiForm. Delegates are notified when data is submitted from the form, or if a submission was attempted but failed.

Instance Methods

form:didNotSubmitWithInvalidFields:

The delegate is notified when an attempt was made to submit data, but it failed.

- (void)form:(ShinobiForm *)form didNotSubmitWithInvalidFields:(NSArray *)invalidFields

Parameters

form

The form containing the data.

invalidFields

The invalid fields in the form.

Declared In

SFormDelegate.h

formDidSubmit:

The delegate is notified when data is submitted from the form.

- (void)formDidSubmit:(ShinobiForm *)form

Parameters

form

The form containing the data.

Declared In

SFormDelegate.h

formWillSubmit:

The delegate is notified when the form is about to submit data.

- (void)formWillSubmit:(ShinobiForm *)form

Parameters

form

The form containing the data.

Declared In

SFormDelegate.h