Updates progress callback to use NSInteger

Pull Request #606 resolves this issue in the code but not in the Documentation.