为什么我们必须综合? [英] Why we have to synthesize?
本文介绍了为什么我们必须综合?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我是新手,我想知道为什么我们必须合成.
解决方案
您不必使用@synthesize
,但是如果没有使用,则您有责任为该属性编写setter和getter方法. /p>
Hi I'm new to i phone I want to know why we have to synthesize.
解决方案
You don't have to use @synthesize
, but if you don't then you are responsible to write the setter and getter methods for that property.
这篇关于为什么我们必须综合?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文