iOS 开发学习笔记 3

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了iOS 开发学习笔记 3相关的知识,希望对你有一定的参考价值。

今天学习Psychologist


遇到的一个问题是,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.

技术分享

2. Choose the Identify Inspector on the right side.

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

技术分享

以上是关于iOS 开发学习笔记 3的主要内容,如果未能解决你的问题,请参考以下文章

iOS学习笔记8-地图开发

iOS开发学习笔记

iOS开发ReactiveCocoa学习笔记(-)

iOS开发学习笔记(OC语言)——网络请求

ios和mac开发 学习资料

iOS APP开发概述----学习笔记001