Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
1 - Day Intro to iOS7 and App Building
Rating: 4.5 out of 5(102 ratings)
14,783 students

1 - Day Intro to iOS7 and App Building

Setup Xcode and build your first app today!
Last updated 1/2014
English

What you'll learn

  • Download and Setup XCode
  • Inspector, Project Navigator, Debugger
  • Breakpoints
  • Your First App! The Button App

Course content

4 sections21 lectures1h 29m total length
  • Intro - How to Install XCode0:16
  • Step-by-step Downloading and Installing Code1:42
  • Overview - Building your First App0:22
  • Opening XCode and Creating your First Project6:07
  • Label Use7:03

    The left side panel in XCode is known as the Navigator.

    This is where all the files included in your project are located. You can search for things, analyze errors, and add break points among a host of other things. When you click on a file, its contents will be shown in the center screen. To view two files at once, simply hold down the "option" key and click a file.

    The right side panel is known as the Inspector.

    In the inspector, you can add UI (user interface) elements to your application. Furthermore, you can change the size and physical properties of those elements here.

    The bottom panel is referred to as the debug console or debugger.

    When you recieve errors (and you will!), this is where they show up.

    And as shown in the video, all of these views can be toggled with the three buttons on the top right of XCode.

    We will be using each of these areas extensively throughout the course, so you will have plenty of time to get comfortable with them!

  • Adding a UIButton to our First Project8:53

    For reference, the code that was written to change the label's text is as follows:

    - (void)buttonPressed

    {

    self.titleLabel.text = @"Hello Class!";

    }

    You will learn what all of this means shortly! But for know, notice how the statement between the curly braces sounds somewhat similar to English. This is not by mistake, but instead a characteristic of Objective-C, the programming langugage in which most iPhone apps are written in.

    The dot notation signifies "ownership" and can be read as "self's titleLabel's text is equal to Hello Class." Right now, the word "self" sounds a little goofy but bear with me- it's another way of saying "My."

  • Multiple Choice
  • Changing Colors!3:57

    Try playing around with the attributes inspector (the area on the right side of the screen). Click on your label, and see if you can change it's background to green and try making the font a bit bigger. The best way to learn is to experiment- so go ahead!

  • UITextField6:11
  • UINavigationController and UIImageView7:00

    Try adding one more View Controller Object to your storyboard and then transitioning, or in iOS speak, "segueing" to that from your View Controller with the world on it. To do this, you will need to add another UIViewController and a button somewhere in your project.

    **Just make sure to click the "push" segue as your segue type! Push segues can only be used when using UINavigationController and are the only segue that will give you a back button for free. If you select something like a modal segue, then the new screen will be presented with no way out! (for now). You can delete segues by clicking the circle on top of the arrow that links your View Controllers and pressing delete.

    UINavigationController is a great and popular way to transition from screen to screen in iPhone applications. In fact, if you take out an iPhone right now and open up a few of your favorite apps, you will be guaranteed to see it! Look out for the navigation bar on the top of the screen.

Requirements

  • Mac running OS 10.8+
  • XCode 5 (We'll walk you through it)

Description

This course is a quick introduction to XCode and Apple's app building environment. At the end of the course you will have built your first simple button app in XCode 5.

**Please note: Since we build in Apple's native environment this course requires you to have a Mac running OS 10.8+ in order to install XCode. This is an Apple mandate.

Who this course is for:

  • Zero Previous Experience Required!