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 Handling Failures

How can I add object like label or image view to my object library on my Xcode

I am having problems on creating my own app because the xcode does not have things I should be using

Chris Howie
Chris Howie
13,216 Points

Once you have the object library open right side bar - click on the utilities button at the bottom of the menu(third icon). If you type label you should see label. This same thing applies to image view.

Are you saying that you are no longer seeing those? If that is the case I had a code signing error earlier this week, I restarted my mac so that it would refresh the preferences for Xcode. Give that a shot and see if it corrects this for you. Try the first option before doing the restart.

Let me know if I am off base.

I found the label and everything but now when I drag it there is a big lock which shows on my main storyboard

Chris Howie
Chris Howie
13,216 Points

Select your main storyboard file. Then open the utilities menu - click on the identify inspector(3rd icon) - Look for the word "Document" - You'll see lock - See if that is set to "inherited - (nothing)" .

thanks man

Chris Howie
Chris Howie
13,216 Points

No problem! I am learning right now to, so questions like this help me probably more than they help you haha.

1 Answer

I have created the same FunFacts app as Pasan's and the my code is correct but its showing this error "Swift Compiler Error Command failed due to signal: Segmentation fault: 11" how can I fix it?