我是iOS编程的新手。请解释一下__strong和__weak属性的含义以及它们为什么被使用?
strong和weak是在属性声明中使用的修饰符,而__strong和__weak则用于变量声明。
strong
weak
__strong
__weak