Formatting changes to better follow recommended/common ways to format Swift. For example avoid ";" and "()" when not needed, usage of "self" when not needed for clarity, and some other things.
Also removes some redundant whitespace/new-lines.
If one wants to there are ways to setup automatic formatting using various tools (such as swift-format, SwiftFormat, SwiftLint, etc.). That can be for another PR though.
For this PR I have just made some basic changes that are (usually 😅) not controversial, but of course if there are any objections to the style I can change.
Formatting changes to better follow recommended/common ways to format Swift. For example avoid ";" and "()" when not needed, usage of "self" when not needed for clarity, and some other things.
Also removes some redundant whitespace/new-lines.
If one wants to there are ways to setup automatic formatting using various tools (such as swift-format, SwiftFormat, SwiftLint, etc.). That can be for another PR though.
For this PR I have just made some basic changes that are (usually 😅) not controversial, but of course if there are any objections to the style I can change.