How to update uiviewcontroller storyboard shortcut / text box from .m controller?

I am new to iphone development and I am currently using xcode 4.2.

I drew a UIViewController in a storyboard. I put some tags in the UIViewController. It is associated with the controller.m file.

How can I, from the viewdidload function of the controller.m file, update the text in the shortcut?

I do not know how to get the variable name or element descriptor name in uiviewcontroller on the storyboard.

+3
source share
1 answer

, IBOutlet . UIElement, , - , ..

Control-click UIElement UIViewController.h( : RETURN-Command-Option: ). XCode , ( IBActions - , UIElement). UIElements ViewController, .

YouTube, , . /IB, UI, - , , , , .

: IBOutlet, UIElement, - . . UIViewController - Control- UIViewController ( Inspector) == .

+6

All Articles