iPhone IBOutlet Tutorial
64 views | +0 today
Follow
Your new post is loading...
Your new post is loading...
Scooped by iphoneiboutlet
Scoop.it!

How to Learn iPhone Programming: Interface Builder: Connecting Objects

How to Learn iPhone Programming: Interface Builder: Connecting Objects | iPhone IBOutlet Tutorial | Scoop.it

Every object you add in Interface Builder - buttons, labels, text fields, etc. - must have an IBOutlet instance variable declared in your Xcode project. "IBOutlet" is added before the instance declaration; it simply indicates that this object will be connected to something in Interface Builder.

 

@interface FirstAppDelegate : NSObject <UIApplicationDelegate> {
UIWindow *window;

IBOutlet UIButton *aButton;
IBOutlet UILabel *helloLabel;
}

more...
No comment yet.
Scooped by iphoneiboutlet
Scoop.it!

Intro to Interface Builder Outlets (IBOutlet)

Brand new site - walltlet.com Visit now! This video will help beginners learn how to use Interface Builder to use Objective-C code to interact with UI elemen...
more...
No comment yet.
Scooped by iphoneiboutlet
Scoop.it!

UIViewController - IBOutlet instance variables

Associate IBOutlet instance variables with UIControl objects in Interface Builder...
more...
No comment yet.
Scooped by iphoneiboutlet
Scoop.it!

iPhone Programming: Buttons (UIButton) and Interface Builder

The IBOutlet keyword is used to notify Interface Builder that these three variables will connect to actual UIButtons that are laid out with Interface Builder.

more...
No comment yet.