Could i build a ARC framework and use it in a non-ARC project?

后端 未结 3 905
天命终不由人
天命终不由人 2020-12-15 11:38

I think the title explains my question pretty well, I\'m currently working on a small framework for my personal needs, and thought about building it with ARC (if thats possi

3条回答
  •  独厮守ぢ
    2020-12-15 12:39

    You can link against the glue library provided by Apple (as Brad has said in his answer above). However, the __weak variable qualifier is not compatible with operating systems below 4.3 (As mentioned here: iOS 5 Best Practice (Release/retain?) in a comment by sudo).

提交回复
热议问题