Skip to content

koke/NSURL-Guess

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

NSURL+Guess

Fix common typos on URLs

If you are getting URLs from a user input, sometimes there are typos, or the users are confused about the whole 'URL' thing.

There are a few ways to be smart about it

Usage

    NSURL *url = [NSURL guessURLWithString:@"hppt:/myblog.com"];
    // url now has http://myblog.com/

About

Autocorrect common typos in urls

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published