- Register for an API key
- Go to https://www.tumblr.com/oauth/apps and click the “Register Application” button. You’ll need an existing tumblr account to register and api application.
- Add the Tumblr SDK
https://github.com/tumblr/TMTumblrSDK
- Install using CocoaPods
Podfile in root project directory
- Podfile
- Install using CocoaPods
Podfile in root project directory
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
@IBOutlet weak var streamTitleLabel: UILabel! | |
@IBOutlet weak var streamDescriptionLabel: UILabel! | |
@IBOutlet weak var streamImageView: UIImageView! | |
@IBOutlet weak var streamSponsoredLabel: UILabel! | |
@IBOutlet weak var streamSponsoredImageView: UIImageView! | |
@IBOutlet weak var streamSourceLabel: UILabel! |
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 application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool { | |
// Start Flurry session | |
Flurry.startSession("YOUR_FLURRY_API_KEY"); | |
// A basic Flurry Event | |
Flurry.logEvent("Started Application"); | |
return true; | |
} |
OlderNewer