After Auto-ARC Conversion: Assigning retained object to unsafe property; object will be released after assignment

前端 未结 2 613
-上瘾入骨i
-上瘾入骨i 2021-02-01 16:23

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

@property (nonatomic, retain) NSMutableArray *cards;

was replaced

2条回答
  •  不知归路
    2021-02-01 16:35

    It looks wrong that it converted nonatomic, retain to nonatomic. I've always seen it convert to nonatomic, strong. If you can produce a simple project that converts in the way you saw it then I suggest filing a radar with it.

    I assume by the way that you're using the latest Xcode.

提交回复
热议问题