XCode新建类模板
zhenglibao edited this page Nov 15, 2018
·
1 revision
从这里下载模板文件解压到 "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Xcode/Templates/File Templates/User Interface"
然后在通过xcode新建文件的时候会出现FlexXml向导,如下图:
通过该向导可以同时创建对应的类和xml文件,可以根据需要修改对应的模板文件。
Flexbox Introduction & performance (in Chinese)
Tutorial 1: Create View Controller with xml layout
Tutorial 2: Create Table Cell with xml layout
Tutorial 3: Embed xml layout into traditional view hierarchy
Tutorial 4: Use custom view in xml layout
Tutorial 5: Create reusable view using xml layout file