Skip to content

konrad1977/STinyURL

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

STinyURL

Shorten URL with TinyUrl synchronous and asynchronous.

How to use:

Synchronous

   NSString *longUrl = @"http://www.spelnyheterna.se/Nyhet/1804/Lagg-undan-mobilen";
   NSError *error = nil;
   NSString *shortUrl = [STinyURL shortenUrl:longUrl 
   					error:&error];

Asynchronous

   NSString *longUrl = @"http://www.spelnyheterna.se/Nyhet/1804/Lagg-undan-mobilen";
   [STinyURL shortenUrlAsync:longUrl
           completionHandler:^(NSString *shortenUrl) {
                 	//ShortenUrl
     	}];

About

Shorten URL with TinyUrl synchronous and asynchronous

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published