Suppose I had two views. Both are subviews to one main superview, but only one is shown at a time. I want to display the second subview based on what was clicked in the first.
Thus, how can I register a touchdown event in a subview and send a message to the superview in order to make it switch to the second subview. Essentially, is it possible to trigger methods in the super view from a subview? How do regular buttons do it? Aren't they just subviews themselves?
Also, is this the main mac programing board or are there bigger ones?
thanks much,
b
Thus, how can I register a touchdown event in a subview and send a message to the superview in order to make it switch to the second subview. Essentially, is it possible to trigger methods in the super view from a subview? How do regular buttons do it? Aren't they just subviews themselves?
Also, is this the main mac programing board or are there bigger ones?
thanks much,
b