Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #1077 "Block implicity retains 'self'" warnings #1078

Merged

Conversation

rnapier
Copy link
Contributor

@rnapier rnapier commented Jul 9, 2018

Adds self-> to all implicitly captured ivars. In the vast majority of cases this could be replaced with self., but in some cases this may modify behavior and would require extensive testing. By using self->, this should introduce no changes in behavior.

This change also adds indent settings in the project for files that use tabs or 2-space indent. As much as practical, this PR attempts to minimize trivial whitespace changes, but does re-indent multi-line method calls that require different spacing with self->.

@chrisballinger
Copy link
Collaborator

Awesome, thank you!

@chrisballinger chrisballinger merged commit 2199643 into robbiehanson:master Jul 10, 2018
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.

2 participants