nmock / GIS

An utility to search Google Images.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Google Image Search

This is a simple utility to search for images using the Google Images API.

Demonstrates Pinterest-esque layout, hiding navigation bar on scroll, recent searches, and auto-complete.

Demo

Google Image Search Demo

Restrictions

You are restricted to 64 results without an API key and 1000 results with an API key.

Auto Complete Delay

Google seems to be rate limiting the endpoint, so we are delaying auto-complete requests by 0.4 seconds by default to help cull excessive requests

Libraries

  • AFNetworking
  • AMScrollingNavbar
  • CHTCollectionViewWaterfallLayout
  • PureLayout

License

GIS for iOS is released under a slightly modified Simplified BSD License.

Please don't upload this code directly to the App Store as is without making subsantial improvements.

Known Bugs / Possible improvements

  • allow user to view full image, image details, etc.
  • allow user to change search options (grayscale images, faces, clip art, safe search, etc.)
  • better error handling
  • create plist to handle all constants / tweakable values for easy tweaking for stakeholders
  • show loading inline by way of custom uicollectionviewcell footer / headers
  • better error/state handling (reachability, network errors, API errors, end of results, no results, etc.)

About

An utility to search Google Images.


Languages

Language:Objective-C 98.3%Language:C++ 0.9%Language:Ruby 0.7%