Saturday, January 4, 2014

mutableCopy and copy memory counter problems

Ask:
After I use a NSMutableArray mutableCopy to copy data, found that the data memory counter is not incremented.
When using the copy test, plus a normal counter, check the documentation turned down under "objectiveC2.0 Programming" said use retain, alloc, copy and mutableCopy memory counters are incremented by one, is that why not?

No comments:

Post a Comment