iOS development Xcode6.1 Create only xib files, no storyboard Hello World app
Since Xcode6, the default is to create storyboard instead of xib files, and as a beginner, it is important to understand how xib is loaded, so you need to create a project without storyboard
1. Create a new project
2. Select a template for only one view
Select Single View application and click Next
3. Fill in the project information
No need to select core data, after filling out the information, click Next, then click Create
4. Delete storyboard and launchscreen.xib files
Throw storyboard and Launchscreen into the wastebasket.
5. Modify the info.plist file
Delete info.plist files in main storyboard file base name and launch screen interface file base name two properties
6. Create a user interface view xib file
Click Next, then save as "Helloworldview" click Create
7. Modify the View controller file
Creating an association between a view and a controller, Xcode creates the ViewController.h and VIEWCONTROLLER.M files by default, so you don't have to create your own
1) Modify Xib of the View file File ' s Owner
Click File ' Owner in the list, press Command+option+3 to open the Identity Inspector, modify the class in the custom class to Viewcontroller
iOS Development Xcode6 Add xib file, remove Storyboard's Hello World app