iOS Build a Simple iPhone App with Swift View Controllers and Views Asking for Help

Michael Williams
PRO
Michael Williams
Pro Student 8,059 Points

Updated Xcode today and can't find "labels" in documentation

Am looking up "labels" referenced in the video introducing documentation. I get a lot of hits for "labels," but no matter what I search, I can't seem to find the basic documentation for a simple label.

Anyone know where to find it?

NOTE: Unfortunately, I can't attach screenshots to help show Pasan's screen vs. mine.

Steve Hunter
Steve Hunter
Treehouse Moderator 57,656 Points

If you upload your screenshot to Imgur you can share it in here using the markdown: ! [ hover text ] ( imgur link ) with no spaces.

Steve Hunter
Steve Hunter
Treehouse Moderator 57,656 Points

I don't think I've updated Xcode for a while - I am running version 7.3. If I click the Object library button then start typing label in the library window below; I get a label to select. I'm assuming you've got a newer version of Xcode than me - are you on the beta tester list?

Michael Williams
Michael Williams
Pro Student 8,059 Points

I'm not a beta tester. The results just aren't populating correctly to where I can access the information I need. Here's Pasan's search results, versus mine.

Pasan's search results

versus

My search results, with updated Xcode

6 Answers

Chris Stromberg If you look at Xcode Version 10 the documentation is wildly differnt than what is reflected in these videos. Big Passan fan, but this video needs a real update. When you option+click you only get a Declaration and reference to where it’s declared. There are no more easy to see long descriptions that provide helpful contextual information.

Chris Stromberg
PRO
Chris Stromberg
Pro Student 13,389 Points

If your looking for documentation on label's (UILabel), go here: https://developer.apple.com/documentation/uikit/uilabel

Or

In XCode (version 9.0), select Window, Developer Documentation. Search for UILabel.

The labels documentation varies based on the version of Xcode you have. Since Apple updates Xcode annually, its hard just to work on one version of Xcode. Tutorials on Youtube and other places on the Internet show how to work with multiple version of Xcode.

Please please update.

Hans van de Koot
Hans van de Koot
1,278 Points

This video definitely needs updating. But for what it's worth, search for UILabel instead and you'll find what you need.