0

i tried hard to solve arc problem when i declared property.

@property (readonly) NSMutableDictionary* activeTransfers;

@synthesize activeTransfers;

When i declared Property then i got an error.(arc forbids synthesizing a property of an objective-c object with unspecified storage attribute.),What i have to do for solve the problem.

Nikunj
  • 41
  • 7

2 Answers2

0

Change your property declaration to:

@property (nonatomic,strong) NSMutableDictionary* activeTransfers; & then check.

Vishal
  • 8,246
  • 6
  • 37
  • 52
0

Simply use :

@property(strong) NSMutableDictionary *activeTransfers;

And no need to synthesize in .m

Anoop Vaidya
  • 46,283
  • 15
  • 111
  • 140