FIrst, I want to say I am really liking the Bronze/Silver/Gold challenge divisions in this 3rd edition of the book, compared to the 2nd edition. They have really been helping to establish my understanding as I go through the chapters.
Up to this point they have been great! But on this chapter there is some ambiguity and a sense of pointlessness to the Silver challenge.
For the Silver challenge having us programmatically set the AutoresizingMask for the subviews of a XIB seems awkward since this view was not created programmatically to begin with. And then it gets strange when I ponder how to distinguish between the two UIButtons on the view in the XIB. Other than trying to use their location in the array returned from the subviews call, which I don’t think should be relied upon in practice since it could change if other views were added. And even then, initially, it would have to be guessed at which UIButton is which.
I looked into the tag property but that is intended to get set when the view is created, again programmatically.
I tried using the Label feature in the Interface Builder but it seems to not be accessible at run-time.
I am just left feeling like it is best to skip this Challenge. I get the premise well enough especially if it had been a programmatically created view to begin with.