Friday, December 6, 2013

property attribute list usage and differences

posts by xunyii edited 2012-04-25 12:50:45
property in the parameters mean? For example: assign, copy, retain, strong, weak. This is what does this mean? What role, we hope to explain, the more detailed the better.

Also:
Why perform an array data1 = [data mutableCopy], delete data1 elements, data invariant, and modify data1 elements, data but it will change?

Reply:
I also understand that the first three, mainly after two strong and weak, like a little information after adding 5.0
Reply:
Seeking answers ah
Reply:
strong action = no arc of retain
weak = no arc of assign
Reply:
reference to the third floor of the reply:
strong role = no arc of retain
weak = no arc of assign

Feel so how about it?
Reply:
Good answer less, up about

Reply:
references, 4th Floor reply:
reference to the third floor of replies:

strong action = no arc of retain
weak = no arc of assign

Feel so how about it?

strong and weak is the use of arc can add attributes, if you disable arc, these two properties can be ignored. If the arc is enabled, then it is quite strong and retain, weak and assign quite
Reply:
The rule is
assign constant use and do not release
copy, retain statement after every release, except that the memory address different, retain a pointer to the same memory address, copy the memory address pointer to open new different aspects of the same

5.0 After the strong, weak individual basic need
Reply:
See the 6th and 7th floor of the answers, clear a lot of, ah, more thank you
Reply:
ps: 6 floor began to say really makes me a little sprout

No comments:

Post a Comment