Updates progress callback to use NSInteger

Pull Request #606 resolves this issue in the code but not in the Documentation.
Merge pull request #685 from jeffleeismyhero/patch-1

Updates progress callback to use NSInteger