Learning iOS Development from scratch 1: Understanding Xcode

Source: Internet
Author: User

Before we started, I had to mention the iphone app development tools, and I didn't have any access to iphone development or any of the devices that Apple used. So my idea is only to know that Xcode is the most professional iOS development tool. Now it's free. I heard that before the need to pay the ability to install, your Mac system should be installed after the AppStore, from the inside of the free area should be able to find, installation can be, just like to have to point to time, not your network is bad. It should be that the app is not on a domestic server. The download is quite slow.

Once installed, the launcher icon should appear on the dock itself. Assuming it doesn't appear, you can drag it from the application to your dock, so it's easy to use.

Let's start by creating the first app and get to know Xcode, and launching your xode will display the Welcome screen, assuming you've already created the app before. The right-hand side displays a list of iOS apps that were previously found. Now we choose Create a new Xcode project to be able to

In the next step because we want to learn iOS development, choose Application below iOS, there are various templates on the right. Of course, let's start with the simplest. Select Singleviewapplication. Then next

There are several items that need to be filled out in this interface, each of which is:

Product Name: Can be filled in, can express your application of the meaning of the good, such as QQ music, drip taxi

Organization Name: Organize names, fill in any

Company Identifier: Corporate identification code

Bundle Identifier: Composed of company Identifier+product name, the personal feeling is the application of the identification code, should be the same as the Android package is the role of it. No need to take care of it.

Devices: Here are three options. Each is iphone,ipad, generic, assuming that your application supports both devices to select generic. Otherwise choose one of the best, here choose iphone

Next will let you choose to save the path, I built a separate MacApp folder to store, it is recommended that you

Click Create after the application of the development of the link, here first to understand the area, basically divided into the middle and lower. In the left and right, the middle part is the editable area in most cases, scale encoding, setting, etc., the left area is the file tree used in your project, is the initial state after project is established, and of course the organizational structure in the file tree should be clear. But we look at it from an MVC perspective. Can still be able to tidy up again, the next article again.

A project will be created here, and by the time we can click Run in the 1 area, we will be able to execute our program, of course this time the result is a blank interface. There is nothing in it, in 2 of the region can choose your application is executed on what device, assuming you connect with the real machine, your application can be published to the real machine execution. The other option is to execute in the emulator.

Learning iOS Development from scratch 1: Understanding Xcode

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.