Get rid of warning "subview transition … requires Core Animation"
Get rid of warning "subview transition … requires Core Animation"
- Subject: Get rid of warning "subview transition … requires Core Animation"
- From: Jerry Krinock <email@hidden>
- Date: Fri, 10 Aug 2012 15:57:04 -0700
After migrating a project to Xcode 4, I'm getting warnings from several of the xibs,
"Adding a subview transition requires the view or one of its ancestors to enable Core Animation layer."
These xibs have no animation, at least none that I ever *remember* adding in. Someone else with this problem determined that it was probably due to a bug in Interface Builder, leaving behind vestiges of animation objects which had been deleted.
http://stackoverflow.com/questions/7891642/how-to-get-rid-of-warnings-about-enabling-core-animation-layer
Proceeding as he did, indeed I found the following in my xib,
<string key="NSFrameSize">{620, 415}</string>
<reference key="NSSuperview" ref="210262484"/>
<reference key="NSNextKeyView" ref="52954864"/>
<object class="NSDictionary" key="NSViewAnimations">
<string key="NS.key.0">subviews</string>
<object class="CATransition" key="NS.object.0">
<string key="subtype">fromTop</string>
<string key="type">fade</string>
<array key="__CACodingContents">
<string>subtype</string>
<string>type</string>
</array>
</object>
</object>
I've tried several ways to hand-edit that out of there, but always end up "corrupting" my xib.
Is hand-editing the correct fix for this problem? Does anyone know how to remove it from the above xml?
Thanks,
Jerry
_______________________________________________
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