Tutorial 3-3: More Interface Connections
On May - 2 - 2009 3 COMMENTS
Go ahead and open the “HelloiPhone” project from the previous tutorial. Remember the slider we added to the interface? Today we will give it some functionality.
Open “HelloiPhoneViewController.h” and edit it to look like this:
#import <uikit /UIKit.h> @interface HelloiPhoneViewController : UIViewController { IBOutlet UILabel *sliderValue; } @property (nonatomic, retain) UILabel *sliderValue; -(IBAction) sliderChanged: (id) s; -(IBAction) goButton; @end </uikit>