hungrybeast
hungrybeast

Reputation: 135

Adding a Label to my Storyboard in Xcode

I am using the latest Xcode and I am developing an iOS 10 app. Now I want to add a Button and a Label to my Storyboard. How?

I currently have the First and Second Tab/Page and im a total Xcode newbie. I had a Hackintosh but it was slow, so I bought a Mac and now I am ashamed not to know how to add a Label item. I hope they will add a VisualStudio-like Interface as a optional setting... So back to the Question, how should I add Items? I am running El Capitan if it helps.

Upvotes: 8

Views: 22639

Answers (3)

Jichao
Jichao

Reputation: 41805

In Xcode 11.2, the Library's icon changed to a plus sign. enter image description here

Upvotes: 21

Roger Perez
Roger Perez

Reputation: 3139

In xcode 10.1 the Library to get a label is now on top next to the standard editor and assistant editor. I am new to xcode and was following an old video tutorial so it took me a while to find it.

location of label for library xcode

Upvotes: 30

Monomeeth
Monomeeth

Reputation: 773

Within Xcode make sure Utilities are visible. Look at the top right of your Xcode window and ensure the Utilities icon is blue:

enter image description here

Now at the bottom of the Utilities pane, you should see a Filter field. In this field you can search for "Label" and "Button". When you have what you want, click and drag it to your storyboard.

I would strongly recommend you do an online Xcode course or check out some YouTube videos. It will be definitely worth the time and money!

Upvotes: 9

Related Questions