Yes, using Ctrl + I in xcode to format.