iOS开发学习笔记3

今天学习Psychologist

成都创新互联公司主要从事网站建设、网站设计、网页设计、企业做网站、公司建网站等业务。立足成都服务山阴,十载网站建设经验,价格优惠、服务专业,欢迎来电咨询建站服务:18982081108

遇到的一个问题是,Xcode生成的ViewController class name is "ViewController", I want change it to "PsychologistController", this can be done by:

    1. click on the class name (in the source code)

     2. edit->refactor->rename

then another problem is, the storyboard can't connect to the new named controller,

need to change the customer class in the story board editor:

as desribed in:

http://stackoverflow.com/questions/19370208/how-to-connect-storyboard-to-viewcontroller

  1. Choose your view controller in the list of scenes on the left side.

iOS 开发学习笔记 3

2. Choose the Identify Inspector on the right side.

3. Choose the custom view controller class from the Class list.

iOS 开发学习笔记 3


标题名称:iOS开发学习笔记3
本文来源:http://hxwzsj.com/article/jhcjoo.html

其他资讯

Copyright © 2025 青羊区翔捷宏鑫字牌设计制作工作室(个体工商户) All Rights Reserved 蜀ICP备2025123194号-14
友情链接: 成都网站制作 重庆手机网站建设 企业网站建设公司 自适应网站建设 宜宾网站设计 成都品牌网站设计 网站制作 成都网站设计 网站建设费用 重庆电商网站建设 移动网站建设 响应式网站设计 成都网站建设公司 成都定制网站建设 网站建设 手机网站制作 成都网站建设公司 重庆网站建设 营销型网站建设 成都网站建设公司 企业网站设计 响应式网站设计