Created
June 11, 2015 17:30
-
-
Save ydn/9dd2a5e75caaefb09416 to your computer and use it in GitHub Desktop.
Flurry iOS Native Ad Tracking (Swift Example)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
func setupWithFlurryNativeAd(adNative: FlurryAdNative, atPosition: NSInteger){ | |
ad.removeTrackingView() | |
self.ad = adNative; | |
self.ad.trackingView = self; | |
} |
I'm also missing context on this, I'm not entirely sure what ad.removeTrackingView()
is referring to. This gist was essentially a port of the gist here: https://gist.github.com/flurrydev/986110ef3d8e7da3af24#file-flurryiosnativeadtracking-mm
In the context of the article where this comes from, it's not clear where this code fits in.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm missing some context on this.
Is
ad.removeTrackingView()
supposed to referenceself.ad
?Should
adNative
be alet
= e.g.(adNative: FlurryAdNative!, ...)