To run the example project, clone the repo, and run pod install
from the Example directory first.
To use TwilioLookup you must have an account on Twilio. You can register a new one on the Twilio sign up page.
Once you have an account you can configure TwilioLookup to use it.
Find in the Twilio dashboard, by clicking on the "Show API Credentials" link on the upper right corner, your Account SID
and Account Token
and configure them as shown below.
One of the best place to configure TwilioLookup is in the application(_, didFinishLaunchingWithOptions:)
implementation.
func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {
// ...
TwilioLookup.accountSid = "ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
TwilioLookup.accountToken = "your_auth_token"
return true
}
TwilioLookup is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "TwilioLookup"
Fabio Borella, [email protected]
TwilioLookup is available under the MIT license. See the LICENSE file for more info.