Semantic Issue: Property's synthesized getter follows Cocoa naming convention for returning 'owned' objects

前端 未结 10 1243
伪装坚强ぢ
伪装坚强ぢ 2020-12-07 06:54

I\'m currently using the iOS 5 SDK trying to develop my app. I\'m trying to make an NSString a property, and then to synthesize it in the .m file (I have done this before wi

10条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-07 07:24

    In CoreData if you use "new..." in attribute (compile normally) it will crash randomly with a "bad access" exception.

    There is no crash log and the line shown with the "All Exceptions Breakpoint" will not help you at all.

提交回复
热议问题