YSKInitializerDelegate protocol

#import <YSKInitializerDelegate.h>

The protocol defines the callbacks of the delegate that is called by the initializer.

These callback methods are called during the initializer's lifecycle. The delegate will be notified when the initialization process starts and finishes (successfully or with an error).

Instance methods

-initializer:didFailWithError:

Called if the initialization process finished with an error.

-initializerDidBegin:

Called when the initialization process started.

-initializerDidFinish:

Called when the initialization completes successfully.

Method descriptions

-initializer:didFailWithError:

- (void) initializer:(YSKInitializer *) initializer
didFailWithError:(NSError *) error

Called if the initialization process finished with an error.

Parameters:
error

Error that occurred during initialization.

-initializerDidBegin:

- (void) initializerDidBegin:(YSKInitializer *) initializer

Called when the initialization process started.

-initializerDidFinish:

- (void) initializerDidFinish:(YSKInitializer *) initializer

Called when the initialization completes successfully.