Destroy your long URL with a Bit.ly shortener iOS class
Objective-C
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
LICENSE
PAAShortnr.h
PAAShortnr.m
README.md

README.md

PAAShortnr

============

Destroy your long URL with a Bit.ly shortener iOS class

Created for a simple use, this Objective-c class allows you to shorter your URL. Usefull for Twitter or other caracters limited services !

Of course you have to create your own account on Bit.ly before using this class.

Usage

APIKey & Login : PAAShortnr.h

Just give your credentials information

static const NSString *APIKey 	= @"your api key from bit.ly";
static const NSString *login 	= @"you login from bit.ly";

Usage

- (void)someMethode
{
	[PAAShortnr bitShortenerWithURL:@"http://www.github.com" andResponse:^(NSString *response, NSError *error)
    {
        if(error == nil) NSLog(@"Succeed with shortenized url : %@",response);
        else NSLog(@"Error : %@",error);
    }];

}

That's all

Contact

Pierre Abi-aad @abiaad

License

PAAShortnr is available under the MIT license. See the LICENSE file for more info.