开发者

How do i migrate an app to iOS 5? (or turn on ARC)

开发者 https://www.devze.com 2023-04-11 14:31 出处:网络
I\'ve got an app i\'m working on and i just started using iOS 5.I\'d like to start using Automatic Reference Counting but I\'m not sure what steps i need to take to either migrate to iOS 5 or at least

I've got an app i'm working on and i just started using iOS 5. I'd like to start using Automatic Reference Counting but I'm not sure what steps i need to take to either migrate to iOS 5 or at least to turn开发者_开发百科 on ARC.


If you look in Edit > Refactor menu, you'll see an option called Migrate to Objective-C ARC. That tool will help convert your code to ARC.


iOS 5 docs are not publically viewable yet, but in your Xcode you can go to the Organizer and view documentation. Search for "Programming with ARC Release Notes" and there's a document in there which will hopefully answer most of the questions you have about the process.

0

精彩评论

暂无评论...
验证码 换一张
取 消