I’ve done the “Challenge” exercise on page 96. My problem was that the text “Label” from the staticText Label was always shown. That means that the concatenated text with the number of characters was overlaid to “Label”. I’ve solved the problem by clear the field “Title” in attribute editor of the StaticText Label. I also use the method “awakeFromNib”.
How would solve an advanced programmer this issue? Is there a more elegant way to do this?
Another question is about the main function. When is main created automatically? In my application I can not find e file called “main”. Where is he main?