I am trying to add the Applovin delegates in my SKScene. And when i add AlAdLoadDelegate as delegate, the xcode shows me this error
Type 'GameScene' does not conform to protocol 'ALAdLoadDelegate'
So i think i have to add a protocol manually. But i don't know how to convert this in swift
@protocol ALAdLoadDelegate <NSObject>
-(void)adService:(ALAdService *)adService didLoadAd:(ALAd *)ad;
-(void)adService:(ALAdService *)adService didFailToLoadAdWithError:(int)code;
@end
This is how I am adding AlAdLoadDelegate in my SKScene...
class GameScene: SKScene, GKGameCenterControllerDelegate,SKPhysicsContactDelegate, ALAdLoadDelegate {
.... My code
}
Can anyone help me in integrating Applovin in ios8 or tell me how can i fix these issues?