Googlify SDK for iOS
Overview
Googlify SDK is a simple, fast and powerful SDK that let's you grab search results for websites, images and news as well as spelling corrections and search suggestions within a few lines of code.
Undoubtedly, Google's services will be of tremendous use in your career. In fact, in my career I had to use Google in my second project. I realized that there's no implementation of the Google API on the market that is both fast and easy to use. So, I decided to dedicate some of my time in order to bring you what I've been using in my projects all along.
Before you use this SDK you should be aware of the fact that the Web, News & Image search APIs are deprecated and will be unavailable in the next couple of years but the Spelling & Suggest API will continue to operate.
- Google spelling corrections
- Google search suggestions
- Google web search
- Google images search
- Google news search
- Requires no API Key, which means that you don't have to register to Google.
- Automatically encodes the query.
- Takes advantage of the fastest JSON parser available for iOS.
- Automatically recognizes the language code in order to display country based results. (Valid only for Google Suggest)
This is a documentation sample added just to give you a taste of how it works.
GooglifyWebSearch
An instance of GooglifyWebSearch let's you use Google's engine to search for websites. It get's the results in JSON format (that's what makes it fast). In order to get the results you need to listen to it's delegate.
E.g.
- (void)searchTheWeb:(NSString *)searchText
{
GooglifyQuery *query = [[GooglifyQuery alloc] init];
query.string = searchText;
GooglifyWebSearch *webSearch = [[GooglifyWebSearch alloc] init];
webSearch.delegate = self;
webSearch.query = query;
[webSearch search];
}
// ...
- (void)googlifyWebSearchDidFinish:(GooglifyWebSearch *)webSearch
{
GooglifyResult *firstResult = [webSearch.results objectAtIndex:0];
NSLog(@"First result, website title: %@", firstResult.titleNoFormatting);
NSLog(@"First result, website url: %@", firstResult.url.absoluteString);
// Take a look at the GooglifyResult class for an in depth description
// of what a GooglifyResult object has to offer.
}
- (void)googlifyWebSearch:(GooglifyWebSearch *)webSearch didFailWithError:(NSError *)error
{
NSLog(@"Error: %@", error.description);
}
- Automatic Reference Counting (A.R.C.)
- iOS Version 3.0 or higher.
- Complete source code of the Googlify SDK.
- A detailed documentation with code samples.
- Written instructions.
- A video tutorial.
- A demo project.
Please, make sure you have read and understood the Google's API Terms Of Use (TOS) before using this SDK.
More item by keroulisnikos
Catalogue View
Smart URL
Gaussian Blur


