NSMutableDictionary *dict = [[NSMutableDictionary alloc] init];
(Value stored to 'dict' during its initialization is never read)
- You don't use 'dict'.
- You don't release 'dict' after you're done with it. It is leaked because you used 'alloc' to create it, and you own it automatically and hence have to release it when you're done with it.
I suggest learning how Memory Management works on iOS/OS X before continuing further. This is not something you can ignore; you need to learn it.