Friday, December 13, 2013

Controls and methods obviously connected, but did not respond to the control and operation of point

posts by fuyunyouziyi edited 2011-10-19 16:15:18
A Window-based-application named TestApp, MainWindow.xib interface on which to add a Label; UIViewController derive a TabView class, increase class method - (IBAction) loadActionSheet, outputs a string; loadActionSheet connected to the Label, in response to click; Click wood runtime reaction;
And that the method is effective when TestAppAppDelegate in;
Reply:
It stands to reason, TabView this view controller class is independent, but why his methods and other classes of Label link
Reply:
XIB you join in a viewcontroller, set his class TabView familiar to your class, and then link again to see if it can?
Reply:
Label can also be connected to the click event?
Reply:
1.label switch button
2.button plus establish contact in the xib in TabView
Reply:
Hit logs ah ah did not look in the end executed

No comments:

Post a Comment