| | 1 | 模板的例子,PCUIViewController复制View的生成 |
| | 2 | |
| | 3 | <?xml version="1.0" encoding="UTF-8"?> |
| | 4 | <archive type="cn.pconline.IOSTemplate.xml" version="0.10"> |
| | 5 | <layout> |
| | 6 | <object class="PCButtonView" id="PCButtonView1"> |
| | 7 | <string key="setFrame:">{{0, 420}, {320, 50}}</string> |
| | 8 | <int key="setButtonNum:">2</int> |
| | 9 | <string key="setButtonIds:">PCButton1,PCButton2</string> |
| | 10 | <string key="setButtonTitles:">栏目1,栏目2</string> |
| | 11 | <string key="setTargetUrl:">http://mrobot.pcauto.com.cn/v2/cms/channels/1,http://mrobot.pcauto.com.cn/v2/cms/channels/2</string> |
| | 12 | </object> |
| | 13 | <object class="PCTableView" id="PCTableView1"> |
| | 14 | <string key="setFrame:">{{0, 50}, {320, 350}}</string> |
| | 15 | <string key="setUrl:">http://mrobot.pcauto.com.cn/v2/cms/channels/1</string> |
| | 16 | </object> |
| | 17 | </layout> |
| | 18 | </archive> |