XCode trick
You want to remove the whitespaces at the end of the rows in your code?
You want to remove the whitespaces at the end of the rows in your code?
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]+$
Here the result:
enjoy cleaning!