instead of:
self.myDictionary = dictionary;
you should do:
@synthesize myDictionary;
...
-(void)setMyDictionary:(NSDictionary *)dictionary {
...
myDictionary = dictionary
}
Your problem occurs cause calling:
self.myDictionary = dictionary;
is equal to
[self setMyDictionary:dictionary];