[Xcode] Trailing whitespaces

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:


enjoy.

Ref: albertopasca.it

Alberto Pasca