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
import Flurry_iOS_SDK | |
func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool { | |
// Override point for customization after application launch. | |
Flurry.startSession("YOUR_FLURRY_API_KEY") | |
// Your code... | |
return true | |
} |
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
//: Natural Language Processing in iOS 11, with the help of this post: https://medium.com/swiftworld/swift-world-whats-new-in-ios-11-natural-language-processing-2a16b7422334 | |
// This can only be run in Xcode 9 | |
import UIKit | |
let options: NSLinguisticTagger.Options = [.omitPunctuation, .omitWhitespace] | |
let text = "Silicon Valley is a nickname for the southern portion of the San Francisco Bay Area, in the northern part of the U.S. state of California. In 2014, tech companies Google, Yahoo!, Facebook, Apple, and others, released corporate transparency reports that offered detailed employee breakdowns. Let's go running or walking to the shops." | |
let range = NSRange(location: 0, length: text.utf16.count) | |
// |
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
Verifying my Blockstack ID is secured with the address 19BuCGqPZEXgwGgepxs5ZdiQQRSMhCcfFi https://explorer.blockstack.org/address/19BuCGqPZEXgwGgepxs5ZdiQQRSMhCcfFi |