Re: After conversion to ARC, IB still inserting MRR
Re: After conversion to ARC, IB still inserting MRR
- Subject: Re: After conversion to ARC, IB still inserting MRR
- From: Fritz Anderson <email@hidden>
- Date: Wed, 31 Oct 2012 18:19:44 -0500
On 31 Oct 2012, at 4:46 PM, Quincey Morris < email@hidden> wrote: On Oct 31, 2012, at 7:16 , Fritz Anderson <email@hidden> wrote:
What is your target OS and SDK?
iOS6, deploy back to iOS5
If I understand your original question correctly, it's not an ARC issue or an iOS SDK issue. It's rather that Xcode's template for inserting code is out of date. Possibly the old template was left in deliberately at the iOS 6 launch (the mootness of viewDidUnload being new in that version), or possibly it was just an oversight.
If this is happening in Xcode 4.5, then I suggest you file a bug report as a gentle reminder to Them to adjust the template in a future version of Xcode.
Behaves as expected.
It's not a question of templates, but of the code that Interface Builder itself automatically generates. IB is (or means to be) fairly clever about confining XIBs/storyboards to the features supported by the target OS.
-viewDidUnload is still sent by iOS 5, which is the OP's target. If the product's target OS is iOS 5, Interface Builder will insert -viewDidUnload. If the target OS is iOS 6, it won't. I just did the experiment.
— F
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden