XCode trick
You want to remove the whitespaces at the end of the rows in your code?
Push CMD+SHIFT+F to open global search, select from the Icon “Show find options” and select “Regular Expression“.
[ \t]+$
This is the result:

Ref: albertopasca.it
Latest posts by Alberto Pasca (see all)
- Swift – Simple full screen loader - 11 August 2022
- macOS – Disable microphone while typing - 11 April 2022
- iOS – Secure app sensitive information - 25 March 2022