HCViews 1.2 was released today. As well as fixing a small bug in HCChevronView
it also adds UIAlertView (HCContext)
This adds a context
property to UIAlertView
to allow an object to be associated with it. The aim is to allow the delegate to perform the appropriate action without having to add a property on the view controller or having to assign arbitrary numbers to the alert view's tag.
1.2 also adds support for Cocoapods subspecs, you can now include just the HCViews that you would like:
pod 'HCViews/HCBlockView', '~> 1.2'
pod 'HCViews/HCChevronView', '~> 1.2'
pod 'HCViews/HCClippingView', '~> 1.2'
pod 'HCViews/UIAlertViewHCContext', '~> 1.2'
or get everything
pod 'HCViews', '~> 1.2'
The full source is available on GitHub