I have coded this method in a class:
- (NSMutableDictionary *)fetch {
NSMutableDictionary *ret = [[NSMutableDictionary alloc] init];
// filling ret with some data here
return ret;
}
Is the way of returning this NSMUtableDictionary object without release correct ?
Thx for helping,
Stephane
Do the following:
To learn more about
autoreleaseing, read this Apple document called Memory Management Programming Guide.