aptabase / aptabase-swift

Swift SDK for Aptabase: Open Source, Privacy-First and Simple Analytics for Mobile, Desktop and Web Apps
https://aptabase.com
MIT License
21 stars 8 forks source link

Formatting #16

Closed manucheri closed 11 months ago

manucheri commented 11 months ago

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.

goenning commented 11 months ago

LGTM, thank you 😊