The 6 inspectors in XCode

Name Shortcut Key Description
file helper Command + Option + 1

shows you all the file details related to this
one view  

quick help Command + Option + 2

shows you quick help documentation related to
view controllers

identity inspector Command + Option + 3

lets you see and change the class that represents the view controller
for this particular scene

This tab within the inspector is particularly important because you’ll be using it
whenever you want to point a UI control to a custom class you’ve created within your
project

attributes inspector Command + Option + 4

allows you to change any attribute on the
currently selected object.

eg: You commonly use this section to change titles of buttons and other
visible properties on an object

size inspector Command + Option + 5

you can modify all
aspects of a view’s framing

Below that is a section called Constraints, which you used to set the auto-layout
constraints

connections inspector  Command + Option + 6  make connections to allow for your code to communicate with your interface

you can see the outlet connections we made for the tableView property on
the view controller as well as the table view’s delegate and dataSource properties


 

Create By Master HaKu

原文地址:https://www.cnblogs.com/davidgu/p/4938569.html