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

Fix typos in README.md #220

Merged
merged 2 commits into from
Apr 6, 2023
Merged

Fix typos in README.md #220

merged 2 commits into from
Apr 6, 2023

Conversation

teddy5518
Copy link
Contributor

@teddy5518 teddy5518 commented Apr 6, 2023

Summary

Fixed few typos to increase readability and clarity of the document.

Reasoning

typealiases is listed as type aliases in the official document. And, I fixed few words (time doesn't contain any meaning as whenever means occasion already, and I strongly believe static vars is typo.

Please react with 👍/👎 if you agree or disagree with this proposal.

README.md Outdated
@@ -1569,7 +1569,7 @@ _You can enable the following settings in Xcode by running [this script](resourc

## Patterns

* <a id='implicitly-unwrapped-optionals'></a>(<a href='#implicitly-unwrapped-optionals'>link</a>) **Prefer initializing properties at `init` time whenever possible, rather than using implicitly unwrapped optionals.** A notable exception is UIViewController's `view` property. [![SwiftLint: implicitly_unwrapped_optional](https://img.shields.io/badge/SwiftLint-implicitly__unwrapped__optional-007A87.svg)](https://realm.github.io/SwiftLint/implicitly_unwrapped_optional)
* <a id='implicitly-unwrapped-optionals'></a>(<a href='#implicitly-unwrapped-optionals'>link</a>) **Prefer initializing properties at `init` whenever possible, rather than using implicitly unwrapped optionals.** A notable exception is UIViewController's `view` property. [![SwiftLint: implicitly_unwrapped_optional](https://img.shields.io/badge/SwiftLint-implicitly__unwrapped__optional-007A87.svg)](https://realm.github.io/SwiftLint/implicitly_unwrapped_optional)
Copy link
Member

@calda calda Apr 6, 2023

Choose a reason for hiding this comment

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

This was correct before. We would want this to be either "at init time" like it was before , or "in init". I don't think "at init" makes sense.

Copy link
Contributor Author

@teddy5518 teddy5518 Apr 6, 2023

Choose a reason for hiding this comment

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

@calda Thank you for reviewing. I realized at made time needed there. I will revert as previous one as I do not want to make any unnecessary changes when the previous one is already right. Thank you! 😃

@calda calda merged commit 3329854 into airbnb:master Apr 6, 2023
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