What is the purpose of 'Notes' under Document in XCode

后端 未结 7 1702
野的像风
野的像风 2021-02-05 17:43

There is a free text field under the font selection box in Xcode 5. It seems to belong to the Notes category. So: What is the purpose of Notes and the empty bo

7条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-02-05 18:44

    The whole "Document" box is just there to help organise your objects in the Storyboard. You can give it a label, so you can easily identify it in the "Scene" list among others.

    The Notes, unspectacularly, look like they are just your "notes" about the object, a helper textbox where you can write information that can help you (or someone looking at your project) better understanding what the interface element is for.

    Think about it as a "//" comment, but just for visual elements on the Storyboard.

提交回复
热议问题