While creating properties, is it correct to replace all retains with strong, and all assigns with weak?
I’m switching to ARC any helpful tips?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Read Transitioning to ARC Release Notes
Use Xcode’s guide: Edit > Refactor > Convert to Objective-C ARC.
At first, it may report various issues( in the precheck building phase), just try fixing all issues, try again and (build and fail )again, and it would be done mostly smoothly in the end when all issues are fixed, leaving your code with ARC.
Note that the pre-checking rules are more tough than usual build settings.