Create a helloworld project for iOS 6 Based on nib

Source: Internet
Author: User

Create a nib-based helloworld Project

Create a project

Start xcode and click File → new → project. On the open choose a template for your new project page, select single view application project template.

Click Next. The page is displayed.

 

Follow the prompts and enter relevant content based on your actual situation and requirements. The following describes the options.

Product Name: Project name.

Organization Name: Organization name.

Company identifier: Company logo (important ).Generally, the company's domain name is input in (such as com.51work6), which is similar to the package name in Java.

Bundle identifier: Bundle identifier (important ).The identifier consists of product name + company identifier. Because it is used when the App Store publishes an application, its name cannot be repeated.

Class prefix: The prefix of the class.Prefix the generated class (such as xzy viewcontroller ).

Devices: Select a device.You can build an iPhone or iPad-based project or a general project. A general project is a project that can adapt to both the iPhone and iPad, both on the iPhone and iPad.

Use storyboards: Whether the project uses the story board technology.

Use automatic reference counting: Whether the project uses arc(Automatic reference counting) Technology. Arc helps us manage the project memory.

Include Unit Tests: Whether to generate a class related to unit test.

After setting related project options, click Next to go to the next level page. Select the file storage location as prompted, and then click the create button.

Select the label control in the object library in the lower-right corner, drag it to the view and adjust its position. Double-click the label control to make it editable (you can also set it through the control properties), and enter Hello World

So far, the entire project has been created.

Related Article

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.