MLLinkShortener is a useful class to shorten your links using some of the most common services, like goo.gl, bit.ly or is.gd.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
MLLinkShortener Demo
MLLinkShortener Files
MLLinkShortener.xcodeproj
.gitattributes
.gitignore
README.md
Source Code License.rtf

README.md

MLLinkShortener

MLLinkShortener is a useful class to shorten your links using some of the most common services, like goo.gl, bit.ly or is.gd.
It supports blocks and it's asynchronous so your app won't be blocked waiting for the shortened link. It's also ARC-enabled and is compatible with iOS 5.0 SDK and later.
Here are some features:

  • Supports goo.gl, bit.ly, is.gd, v.gd and Linkyy
  • Block-based, no more delegates or notifications required.
  • Asynchronous connections
  • Supports for goo.gl and bit.ly API keys
  • ARC-enabled

Use MLLinkShortener in your projects

  1. Download the latest code version from the repository (using the Download Source button or your preferred command-line tool).
  2. If you have to, extract the archive.
  3. All you need is contained in the MLLinkShortener Files folder.
  4. Drag is to your project and make sure that the option Copy items is checked.
  5. That's it!

Demo

A demo project, called MLLinkShortener Demo, is included so you will see how to use this class.

License

The license for this source code is included in the Source Code License file.
It's a BSD-like license with attribution: you can use this code in your projects, even if they are commercial or closed-source; you only need to credit me!
For warranties and other info about this code, read the license file or here.

Changelog

Version 1.0 @ June 30th, 2013

  • Initial release: more services will be supported soon…

Credits

Matteo Del Vecchio
Matthew Labs

Web: Matthew Labs
Twitter: @MatthewLabs
Facebook: facebook.com/MatthewLabsDev
Google+: Matthew Labs Page