warning: property's synthesized getter follows Cocoa naming convention for returning 'owned' object
来源:互联网 发布:北电网络 超级连接 编辑:程序博客网 时间:2024/05/22 03:31
warning: property's synthesized getter follows Cocoa naming convention for returning 'owned' objects
该错误是因为命名的原因。
ios5 命名要求相比以前更需要注意,命名不能以new,copy等开头。
在写代码时,想要修改一个类名,函数名或变量名,直接使用重构功能就行,当然不止这些。如果自己一个一个改,效率比较低,还有风险。
Step 1.选中函数名,右击,选择Refactor...
Step 2.输入新的函数名,然后点一下Preview,看看有多少修改
Step 3.点Apply执行即可
- warning: property's synthesized getter follows Cocoa naming convention for returning 'owned' object
- Property's synthesized getter follows Cocoa naming convention for returning 'owned' objects (2012-01
- Semantic Issue: Property's synthesized getter follows Cocoa naming convention for returning 'owned'
- Property's synthesized getter follows Cocoa naming convention for returning 'owned' objects
- Semantic Issue: Property's synthesized getter follows Cocoa naming convention for returning 'owned'
- property's synthesized getter follows Cocoa naming convention for returning 'owned' objects
- property's synthesized getter follows Cocoa naming convention for returning 'owned' objects
- Property's synthesized getter follows Cocoa naming convention for returning 'owned' objects
- property's synthesized getter follows Cocoa naming convention for returning 'owned' objects
- Property's synthesized getter follows Cocoa naming convention for returning 'owned' objects
- property's synthesized getter follows Cocoa naming convention for returning 'owned' objects
- property's synthesized getter follows Cocoa naming convention for returning 'owned' objects
- error: property's synthesized getter follows Cocoa naming convention for returning 'owned' objects
- Error解决:Property's synthesized getter follows Cocoa naming convention for returning 'owned'
- Property's synthesized getter follows Cocoa naming convention for returning 'owned' objects
- error: property's synthesized getter follows Cocoa naming convention for returning 'owned' objects I
- property's synthesized getter follows Cocoa naming convention for returning 'owned' objects
- iOS开发 error: property's synthesized getter follows Cocoa naming convention for returning 'owned' obj
- ubuntu 升级python2.7时出错ln -sf /usr/local/bin/python python
- IOS 清除UIWebView的缓存
- 开始进行手机测试---只有APK
- windows消息机制笔记
- java中Executor、ExecutorService、ThreadPoolExecutor介绍
- warning: property's synthesized getter follows Cocoa naming convention for returning 'owned' object
- Genesis-3D 入门教程—14.发布到iOS平台
- C# 给多线程传递参数的三种方式
- xml中1字节的UTF-8序列的字节1无效
- 机顶盒(STB)相关知识
- zoj 2750 Idiomatic Phrases Game
- google在Big Data 應用上的技術與論文介紹
- (转)用javah 导出类的头文件, 常见的错误及正确的使用方法
- Android编译环境的搭建和编译