sindresorhus / dark-mode

Control the macOS dark mode from the command-line
MIT License
661 stars 28 forks source link

Remove redundant code #6

Closed LarsJK closed 7 years ago

LarsJK commented 7 years ago

Removed some redundant code and avoided some force unwrapping.

sindresorhus commented 7 years ago

Thank you for the review! :) I really appreciate it. I'm just starting out with Swift, so I'm very keen on learning best practices and what to avoid.


I could also use a review of the Swift part of https://github.com/wulkano/aperture/pull/26 if you have any interest. No worries if not though.

LarsJK commented 7 years ago

Cool 👍 Will have a look at wulkano/aperture#26 later!