十年網(wǎng)站開(kāi)發(fā)經(jīng)驗(yàn) + 多家企業(yè)客戶 + 靠譜的建站團(tuán)隊(duì)
量身定制 + 運(yùn)營(yíng)維護(hù)+專業(yè)推廣+無(wú)憂售后,網(wǎng)站問(wèn)題一站解決
今天學(xué)習(xí)Psychologist
成都創(chuàng)新互聯(lián)公司主要從事網(wǎng)站建設(shè)、網(wǎng)站設(shè)計(jì)、網(wǎng)頁(yè)設(shè)計(jì)、企業(yè)做網(wǎng)站、公司建網(wǎng)站等業(yè)務(wù)。立足成都服務(wù)山陰,十載網(wǎng)站建設(shè)經(jīng)驗(yàn),價(jià)格優(yōu)惠、服務(wù)專業(yè),歡迎來(lái)電咨詢建站服務(wù):18982081108
遇到的一個(gè)問(wèn)題是,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
Choose your view controller in the list of scenes on the left side.
2. Choose the Identify Inspector on the right side.
3. Choose the custom view controller class from the Class list.