Skip to content

Instantly share code, notes, and snippets.

@ydn
Created June 11, 2015 17:30
Show Gist options
  • Save ydn/9dd2a5e75caaefb09416 to your computer and use it in GitHub Desktop.
Save ydn/9dd2a5e75caaefb09416 to your computer and use it in GitHub Desktop.
Flurry iOS Native Ad Tracking (Swift Example)
func setupWithFlurryNativeAd(adNative: FlurryAdNative, atPosition: NSInteger){
ad.removeTrackingView()
self.ad = adNative;
self.ad.trackingView = self;
}
@dbgrandi
Copy link

I'm missing some context on this.
Is ad.removeTrackingView() supposed to reference self.ad?
Should adNative be a let = e.g. (adNative: FlurryAdNative!, ...)

@DrkSephy
Copy link

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