sickanimations/ActionSheetPicker — pull request #25 by grgcombs (2011-11-22 08:31:14+00:00)
Title: Pretty big refactor again ... streamlining, abstraction, and some blocks action

- We previously had both a target/selector mechanism and a delegate mechanism for receiving success/cancel events. It was too confusing to me, so I eliminated the delegate remnants in favor of target/successAction/cancelAction behavior.
- I've abstracted away the ActionSheetPicker class ... It's strings array functionality now lives in an ActionSheetStringsPicker. This cleans things up for other non-strings decedents.
- I've added a first round of blocks to the ActionSheetStringsPicker class, and included some demo code in the example app. Personally, I love the fact that with this, you don't need a bunch of other callbacks, or targets, or success/failure actions, etc. Everything you need to operate it is in one short method.