Thursday, July 18, 2013

iOS7 > Lesson #6b - Practice on Action and Message

3 Setup Object 3 Steps

<Step #1 - .h file>

1. Click "xxxViewController.h" and edit the code like this:


 @property (strong, atomic) IBOutlet UILabel *label1;



<Step #2 - .m file>
2. Click "xxxViewController.m" and edit the code like this:


 @synthesize label1;


<Step #3 - Storyboard file>
In tab "Connections", drag the Referencing Outlet "label1" onto the object "Label - Hello Nattoise".

Previous::
Practice on Action and Message

Next::  

No comments:

Post a Comment