barrettj/SVProgressHUD — pull request #1 by stringer630 (2012-10-04 19:28:38+00:00)
Title: NSArray category for block enumeration while updating using SVProgressHUDIndicatorTypeProgressBar

I've written a category on NSArray which works just like enumerateObjectsUsingBlock:, but after each object is enumerated the progress on a SVProgressHUDIndicatorTypeProgressBar is updated. Useful if you are enumerating a large list of objects and performing the same computation on each and want to easily show the progress. I found it useful when adding lots of core data records, and wanted to display how far the import process was in the UI.

You call it like so:

```
[objects enumerateObjectsWithSVProgressHUDUsingBlock:^(id obj, NSUInteger idx, BOOL *stop) {
// Work here
}];
```

I've added another button to the example project's view controller entitled `show while enumerating objects` which showcases the functionality.

Any questions give me a bell: luke.stringer@me.com

Cheers!