iAd Changes for Swift
iAd
Added ADClient.requestAttributionDetailsWithBlock(_: (([NSObject : AnyObject]!, NSError!) -> Void)!)
Added ADClientError [enum]
Added ADClientError.Unknown
Added ADClientErrorDomain
Modified ADAdType [enum]
Raw Value Type | |
---|---|
From | -- |
To | Int |
Modified ADBannerView
Declaration | |
---|---|
From | class ADBannerView : UIView { init!(adType type: ADAdType) var adType: ADAdType { get } weak var delegate: ADBannerViewDelegate! var bannerLoaded: Bool { get } var bannerViewActionInProgress: Bool { get } func cancelBannerViewAction() var advertisingSection: String! } extension ADBannerView { var requiredContentSizeIdentifiers: Set<NSObject>! var currentContentSizeIdentifier: String! class func sizeFromBannerContentSizeIdentifier(_ contentSizeIdentifier: String!) -> CGSize } |
To | class ADBannerView : UIView { init!(adType type: ADAdType) var adType: ADAdType { get } weak var delegate: ADBannerViewDelegate? var bannerLoaded: Bool { get } var bannerViewActionInProgress: Bool { get } func cancelBannerViewAction() var advertisingSection: String! } extension ADBannerView { var requiredContentSizeIdentifiers: Set<NSObject>! var currentContentSizeIdentifier: String! class func sizeFromBannerContentSizeIdentifier(_ contentSizeIdentifier: String!) -> CGSize } |
Modified ADBannerView.delegate
Declaration | |
---|---|
From | weak var delegate: ADBannerViewDelegate! |
To | weak var delegate: ADBannerViewDelegate? |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 4.0 |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 4.0 |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 4.0 |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 4.0 |
Modified ADClient
Declaration | |
---|---|
From | class ADClient : NSObject { class func sharedClient() -> ADClient! func determineAppInstallationAttributionWithCompletionHandler(_ completionHandler: ((Bool) -> Void)!) func lookupAdConversionDetails(_ completionHandler: ((NSDate!, NSDate!) -> Void)!) func addClientToSegments(_ segmentIdentifiers: [AnyObject]!, replaceExisting replaceExisting: Bool) } |
To | class ADClient : NSObject { class func sharedClient() -> ADClient! func determineAppInstallationAttributionWithCompletionHandler(_ completionHandler: ((Bool) -> Void)!) func lookupAdConversionDetails(_ completionHandler: ((NSDate!, NSDate!) -> Void)!) func requestAttributionDetailsWithBlock(_ completionHandler: (([NSObject : AnyObject]!, NSError!) -> Void)!) func addClientToSegments(_ segmentIdentifiers: [AnyObject]!, replaceExisting replaceExisting: Bool) } |
Deprecation | |
---|---|
From | -- |
To | iOS 9.0 |
Deprecation | |
---|---|
From | -- |
To | iOS 9.0 |
Modified ADError [enum]
Raw Value Type | |
---|---|
From | -- |
To | Int |
Modified ADInterstitialAd
Declaration | |
---|---|
From | class ADInterstitialAd : NSObject { weak var delegate: ADInterstitialAdDelegate! var loaded: Bool { get } var actionInProgress: Bool { get } func cancelAction() func presentInView(_ containerView: UIView!) -> Bool func presentFromViewController(_ viewController: UIViewController!) } |
To | class ADInterstitialAd : NSObject { weak var delegate: ADInterstitialAdDelegate? var loaded: Bool { get } var actionInProgress: Bool { get } func cancelAction() func presentInView(_ containerView: UIView!) -> Bool func presentFromViewController(_ viewController: UIViewController!) } |
Modified ADInterstitialAd.delegate
Declaration | |
---|---|
From | weak var delegate: ADInterstitialAdDelegate! |
To | weak var delegate: ADInterstitialAdDelegate? |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 4.3 |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 4.3 |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 4.3 |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 4.3 |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 4.3 |
Raw Value Type | |
---|---|
From | -- |
To | Int |