Skip to content

Conversation

@richardjrossiii
Copy link
Contributor

We no longer do @throw [NSException exceptionWith...] anywhere in the code base, replaced usages of if (conditon) [NSException raise:... with PFParamter/ConsistencyAssert where appropriate.

This is related to #6.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be a .count like the others? I wasn't sure as it seemed suspect.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be checking for nil, since empty array there would mean that we should not fetch any keys explicitly.

@nlutsenko nlutsenko added this to the 1.8.2 milestone Aug 21, 2015
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: limit < 0?

@richardjrossiii
Copy link
Contributor Author

@nlutsenko diff updated.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The comment sounds different, intentional?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy-pasta spaghetti

@nlutsenko
Copy link
Contributor

LGTM, minus nits. Please resolve all of them before merging.

We no longer do `@throw [NSException exceptionWith...]` anywhere in the code base, replaced usages of `if (conditon) [NSException raise:...` with PFParamter/ConsistencyAssert where appropriate.

This is related to #6.
richardjrossiii added a commit that referenced this pull request Aug 25, 2015
Cleaned up usages of exceptions and asserts.
@richardjrossiii richardjrossiii merged commit cfa7fcf into master Aug 25, 2015
@richardjrossiii richardjrossiii deleted the richardross.assertions branch August 25, 2015 22:22
richardjrossiii added a commit that referenced this pull request Aug 25, 2015
richardjrossiii added a commit that referenced this pull request Aug 26, 2015
Fixed assertion messages that were unintentionally changed in #86.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants