SQRDReaderSettingsControllerDelegate
@protocol SQRDReaderSettingsControllerDelegate
The delegate of a SQRDReaderSettingsController
object must adopt the SQRDReaderSettingsControllerDelegate
protocol.
-
Indicates that the reader settings flow presented successfully.
Declaration
Objective-C
- (void)readerSettingsControllerDidPresent: (nonnull SQRDReaderSettingsController *)readerSettingsController;
Swift
func readerSettingsControllerDidPresent(_ readerSettingsController: SQRDReaderSettingsController)
Parameters
readerSettingsController
The successfully presented
SQRDReaderSettingsController
instance. -
Indicates that the reader settings flow failed to present.
Declaration
Objective-C
- (void)readerSettingsController: (nonnull SQRDReaderSettingsController *)readerSettingsController didFailToPresentWithError:(nonnull NSError *)error;
Swift
func readerSettingsController(_ readerSettingsController: SQRDReaderSettingsController, didFailToPresentWith error: Error)
Parameters
readerSettingsController
The
SQRDReaderSettingsController
instance that failed to present.error
An error in the
SQRDReaderSettingsControllerErrorDomain
. SeeSQRDReaderSettingsControllerError
for possible error types.