1?? StoryBoard: In Info.plist, you can view the main StoryBoard, the portal StoryBoard, the default is Main.storyboard, you can modify the StoryBoard created for yourself. 2?? Viewcontroller each viewcontroller is bound to have a class file, when the program executes, it goes into the binding class file to execute the program, which is represented as an interface in the app. For each new Viewcontroller, create a new corresponding class (inherited from Uiviewcontroller), and bind the Viewcontroller and class files in the Properties 3??? Segue when creating multiple Viewcontroller in an app, the segue realizes the jump between Viewcontroller and the corresponding logic (data exchange, etc.), segue is divided into Adaptivesegues, Deprcatedsegues, as well as custom (custom), each of the segue under the multi-connection method. 4??? UI components in a Viewcontroller, you can add a lot of different UI components, after each UI component is created, can be linked to the Viewcontroller class way to implement the logic of the response, the link is divided into outlet and action two kinds, Outlet is mainly a display-oriented, binding as a class property, action is mainly action-related, bound to the method of the class. 5?? Navigationcontroller Select: After Editor-embed?in-navigaion?controller, add Navigationcontroller, add a view automatically, and will be used as a portal, Through a segue and the previous entrance Viewcontroller connection, the connection method is (Root?view controller), after adding Navigationcontroller, you can add Navigationitem, Edit his three attributes directly in the original entry Viewcontroller Navigationitem: Lvalue, Median, right, or add bar Button item in these three locations to implement the Click function. If you want to have navigationitem in the same way as the Viewcontroller, the Segue connection should be selected as push. 6??? Tabbarcontroller Select: editor-embed in-tab baR controller can add paging, support up to 5 paging, each page is composed of different viewcontroller, on the tab Bar controller, connect segue to the new Viewcontroller, choose the connection mode as view? Controllers, the new Viewcontroller has the bottom of the Tab?bar, click Tab Bar to edit the properties of the Bar?item, specify the picture and title, etc., the Badge property can display the top right of the item in the red number marker. 7?? Using the Sketch to make simple icons using Sketch software can easily make simple icons, https://github.com/sethlilly/Font-Awesome-Symbols-for-Sketch, downloaded with Sketch Open, That includes the collection of symbols, which makes it easy to make icons with these symbols and simple geometries. When exporting, select the 1x,2x,3x size, the software will automatically add @2x and other suffixes, after three pictures dragged into Xcode, Xcode will be recognized as a picture, and automatically adapt to a variety of resolutions of the screen.
iOS Learning--ui related summary