Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

iOS Build a Weather App with Swift (Retired) Displaying Our Weather Data Adding a Temperature Label

Daniel Hepting
Daniel Hepting
1,803 Points

how do I use that 'CMD + = ' Shortcut?

'CMD + 0' opens/ hides Navigator. 'CMD+ Shift + 0' opens the Documentation

Matthew Houston
Matthew Houston
7,203 Points

Hey, the command should automatically work. Just make sure that you have the label highlighted. Hope this helps.

3 Answers

Roland Möller
Roland Möller
3,094 Points

Workaround: Goto your System-Settings and click on Keyboard. Hit "Shortcuts" and then on the left click on "App Shortcuts". Click the littel Plus-Button ("+") and select "XCode" for Program. type in the exact name of the shortcut you want to use ( "Size to Fit Content" ). Finally type in the shortcut you want to use (e.g. "cmd + ß" (this combination is not taken by any other shortcut on a german keyboard)). Now Click "add" and from now on you should be able to use the shortcut.

tl;dr: system-settings -> Keyboard -> Shortcuts -> App Shortcuts -> "+" -> "XCode","Size to Fit Content","cmd + ß" -> add

(sorry if I did not translate everything correctly)

Thank you!

Thank you!