iphone - Reusable NSMutableDictionary -
In that forum someone offered me a code solution that used to work great, but for my understanding, I would like to know What is the difference between the 2 blocks of code:
Block 1
NSMutableDictionary * step_info = [NSMutableDictionary Dictionary];
block 2
NSMutableDictionary * step_info = zero; Step_info = [NSMutableDictionary dictionary];
It may also be important to mention that step_info has to be loaded again in another NSmutabledictionary to reload.
Thank you for your help
None compiler step_info = Nil
is optimized remotely and you are left with the same code.
The following is another method you can take:
NSMutableDictionary * step_info; Step_info = [NSMutableDictionary dictionary];
Comments
Post a Comment