nib文件的默认搜索规则
2015-03-24 12:00
253 查看
if you do not specify a nib name, and do not override the
If the view controller class name ends with the word ‘Controller’, as in
It looks for a nib file whose name matches the name of the view controller class. For example, if the class name is
loadViewmethod in your custom subclass, the view controller searches for a nib file using other means. Specifically, it looks for a nib file with an appropriate name (without the
.nibextension)
If the view controller class name ends with the word ‘Controller’, as in
MyViewController, it looks for a nib file whose name matches the class name without the word ‘Controller’, as in
MyView.nib.
It looks for a nib file whose name matches the name of the view controller class. For example, if the class name is
MyViewController, it looks for a
MyViewController.nibfile.
相关文章推荐
- [[MyViewController alloc] initWithNibName:nil bundle:nil]; 搜索 Nib 文件的规则及注意事项
- linux下gcc默认搜索头文件及库文件的路径
- Windows搜索DLL文件的基本规则
- 4.2.7: Struts2的输入校验---校验文件的搜索规则
- linux下gcc默认搜索头文件及库文件的路径
- vc CFileDialog 打开文件默认文件规则
- gcc 和 arm-linux-gcc 编译器的默认搜索头文件路径
- Drupal配置文件settings.php搜索规则
- win2003 默认搜索不到文件中的字或词组的解决办法
- linux下gcc默认搜索头文件及库文件的路径
- 修改MVC视图默认搜索规则(IViewEngine)
- GCC选项——不使用默认系统库函数及不搜索默认头文件路径
- scrapy用不同规则抓取多个网站(基于csv文件)以及向爬虫传递参数(参数可默认)
- 对gcc搜索路径的研究/以及不修改/etc/ld.so.conf使用非默认路径下的库文件--LD_LIBRARY_PATH
- 校验文件的搜索规则 推荐
- Emacs-165-打开文件的时候忽略默认的搜索目录
- linux下gcc默认搜索头文件及库文件的路径
- linux下gcc默认搜索头文件及库文件的路径
- eclipse CTRL+H默认打开文件搜索
- 【C语言】【unix c】将头文件放在默认的头文件搜索目录里面