Group Group Group Group Group Group Group Group Group

Putting Row Data into Cells

Hello,

I am new to coding, so sorry if this is obvious…
I am in iOS Apprentice, Section 2. I just learned to set the Tag field in the Attributes inspector to 1000. The next line in the book, says: bordered width = 30%.
I am assuming that there should be a section in the attributes inspector for setting the border of the label that I just changed the tag to 1000. However, I can’t for the life of me see anything that has to do with border anywhere. How do I set the bordered width to 30%?

Hi and welcome to the forum community @mippster! You could programmatically set a border to a label in (viewDidLoad for example) by using code such as

myLabel.layer.borderColor = UIColor.darkGray.cgColor
myLabel.layer.borderWidth = 3.0

Best,
Gina