Grant Davis

5pods

GDIColor

A category of convenience and utility methods for UIColor. More Coming soon!

License: MIT

  • Objective C

GDICoreDataKit

Tools to work with CoreData. More Coming soon...

License: MIT

  • Objective C

GDIImageOperation

GDIImageOperation is an NSOperation subclass that makes use of NSURLSession for requests, NSCache for in memory caching, and also caches images to disk.

This project is similar to SDWebImage but is lighter weight and the GDIImageOperation can be used independently for custom download tasks. GDIImageOperation also uses iOS7+ APIs and supports using custom NSURLSession and custom configuration for caching rules.

This project also includes a category on UIImageView to asynchronous loading images from cache, or network, when necessary.

License: MIT

  • Objective C

GDIIndexBar

GDIIndexBar is a component for navigating sections of a UITableView. It reproduces the index bar seen in the Contacts app on iOS and styled to match both iOS6 and iOS7 by default. GDIIndexBar can also be customized through the appearance protocol or by subclassing.

GDIIndexBar behaves by automatically sizing and positioning itself on the right side of the provided UITableView. Subclasses can alter this by overriding the layoutSubviews method of the GDIIndexBar. GDIIndexBar provides automatic vertical adjustments for the index bar by setting a GDIIndexBarAlignment value.

GDIIndexBar is supports being added directly to a UITableView as a child subview, or can exist in a different view than the table while still positioning automatically. NOTE: In order to correctly receive touch events as a subview of a UITableView, the delaysContentTouches property is automatically set to NO.

License: MIT

  • Objective C

Gravity

Gravity is a collection of commonly used categories, components, and helpers to perform a variety of tasks from drawing gradient fills, resizing scroll views for keyboards, generating colors with hex values, and much more.

License: MIT

  • Objective C