I just converted an old project to ARC using Xcode's automatic refactoring.

@property (nonatomic, retain) NSMutableArray *cards;

was replaced by:

@property (nonatomic) NSMutableArray *cards;

This makes sense because what I've read is that "strong" is the default state. However, the following line is giving me the error in the title:

self.cards = [[NSMutableArray alloc] initWithCapacity:54];

The error is solved by adding strong back in where retain used to be:

@property (nonatomic, strong) NSMutableArray *cards;

However... if I need to go back and put strong in to every @property declaration that was retain... why did the ARC refactoring remove them all?

Edit
Report