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)
- Unity3D – Snap object in editor grid - 3 January 2021
- Swift – UIView gradient extension - 7 December 2020
- iOS – Data Leakage: App background cache - 16 November 2020