Using UISegmentedControl to switch between two views
问题 I created a subclass of UIViewController. In it I have two properties of: @property (nonatomic, retain) IBOutlet UIView *presetsView; @property (nonatomic, retain) IBOutlet UIView *customView; I added a new UIView to my .xib and put some UI elements in it. I want to hide one view, and show the other based on when the UISegmentedControl is pressed. My question is in Interface Builder, my original View that was provided me by IB, has an outlet connected to it already to File's Owner. Because I