简体   繁体   English

__strong和strong,__ weak和weak之间有什么区别?

[英]what are the differences between __strong and strong, __weak and weak?

I am a noob in ios programming. 我是ios编程的菜鸟。 Please, explain me the meaning for these __strong and __weak properties and why they are used? 请解释一下这些__strong和__weak属性的含义以及它们的使用原因?

strongweak是属性声明中使用的修饰符,而__strong__weak用于变量的声明。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM