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

Simplify if let unwrapping for userdefaults #179

Closed

Conversation

Harry-KNIGHT
Copy link
Contributor

I found the original code ok but we can simplify that with what I've done for the exact same result.

@twostraws
Copy link
Owner

Thank you! I wrote the original style by preference; I find multi-step if-let rather hard to read, and the indenting gives me a bit of an eye twitch 😅

@Harry-KNIGHT
Copy link
Contributor Author

Thank you! I wrote the original style by preference; I find multi-step if-let rather hard to read, and the indenting gives me a bit of an eye twitch 😅

Okay I understand, it's code style preference 😄

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.

None yet

2 participants