Protocols
The following protocols are available globally.
-
AirServiceKitDelegateexposes optional methods that you can implement in your application to receive events from AirServiceKit. AirServiceKit uses these methods to communicate with your application. For an instance of your class to function as the delegate of AirServiceKit, it must do the following:- Set your object as the delegate (by assigning it to
AirServiceKitViewController'sdelegate property). - Declare that your class adopts the protocol in the class definition. For example:
@interface MyClass () <AirServiceKitDelegate>- Implement any optional methods that you want to participate in.
Declaration
Objective-C
@protocol AirServiceKitDelegate <NSObject>Swift
protocol AirServiceKitDelegate - Set your object as the delegate (by assigning it to
View on GitHub
Protocols Reference