Thursday, July 18, 2013

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

Background
In this lesson, you can learn:
  • action (i.e. method)
  • Message


Step#1: To create a new Xcode project - Animation

1. Create a new Xcode project

2. Select "Single View Application" from iOS Application template and then click "Next".

3. Fill in the options for your new project as below:

4. Save this project into "Documents". Please make sure to unclick the option for "Create git repository for this project".

4b. If the project already existed, then one prompt up message for replacement will be prompted.


5 & 6. Click "MainStoryboard.storyboard" and then drag the object "Label" onto the "View" of mainStoryboard. [Class: UILabel]

7. At tab "Attribute", setup the "Text" as "Hello Nattoise" and its "Alignment" as "center".

8. Drag the object "Round Rect Button" onto the "View" of mainStoryBoard. [Class: UIButton]

8b. UIButton properties/ Attribute:





Next:: 

Setup Object
Setup Action
Send Message

No comments:

Post a Comment