iOS Development--Real-world OC & Environment Building Code (play Uinavigationcontroller and Uitabbarcontroller)
Here we are directly on the example;
One: Create a new project Singleview Controller, name is not Icocos
Two: because we use the pure Code implementation, so delete the storyboard and viewtroller two files
Three: create a class that inherits from Tabbar Controller, we name ask Icocos Viewcontroller
Three: import the Icocos viewcontroller that you just created in the Appdelegate implementation file, And initialize a main interface window in the launch interface Windowdidfinishlaunchingwithoptions and initialize the Icocos Viewcontroller we imported and display it.
Four: Create the corresponding controller in the viewdidload in our new Icocos Viewcontroller and add it to the Tabbar as child sub-view:
Five: the interface after setting up the environment is the picture below (it is shown in white because we use the IOS7). Here to give everyone a small task, IOS6 above the run to see what the difference, you can know the IOS6 and ios7/8 a lot of differences, which will facilitate the adaptation later.
Here we just made a simple environment to build, but this is enough sunny to master how to build a software interface you want, about the back of the package, optimization, and other interface implementation will need to learn and practice.
Storyboard Mainstream app Framework build: http://www.cnblogs.com/iCocos/p/4690659.html
Xib Mainstream app Framework build: http://www.cnblogs.com/iCocos/p/4690714.html
iOS development--Real-world OC & Environment Building Code (play Uinavigationcontroller and Uitabbarcontroller)