Silver Challenge Question


Originally I solved this challenge by placing the segmented controls within the HynosisView itself, instead of the HypnoViewController.

I realized after reviewing some of the other solutions posted here that in context of the exercise I was incorrect, as I assume the purpose was to learn about self.view and accessing a controller’s view methods in this manner.

My questions:

We create an instance of the HypnosisView *hv and set that as the View, so why do we use [self.view setColor] instead of [hv setColor]?

Does it matter where we actually place the segmented control? Is it completely relative to the design of the app?