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.