Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode adds a lot of <animations/> tag in my storyboard and xib file

Just wanna know if anybody has the same issue as mine: Xcode adds a lot of tags into the storyboard I touch. I try to remove but I can't because it keep adding those tags back.

It this a bug of the new Xcode I'm using (7.0.1)?

like image 540
Sam Zhao Avatar asked Oct 02 '15 14:10

Sam Zhao


People also ask

What's the difference between XIB and storyboard?

A storyboard is like a canvas where you put all your . xib files. You no longer have any . xibs, you just have View Controllers directly on your canvas.


1 Answers

As of Xcode 7.2 Beta (7C46I) released on 10/28/2015, just like these tags were added automatically when opening a Storyboard or XIB file in Xcode 7 or 7.1 on El Capitan, these tags are now being removed automatically by just opening a Storyboard or XIB file. (It now seems that the addition of the tags may have been unintentional.)

As this has caused some issues with modifications to Storyboard and XIB files within some of my teams I recommend that if you're working with multiple people on a project that you a) coordinate to all use the same version of Xcode and b) coordinate a time to switch from Xcode 7.1 to 7.2 to avoid unnecessary merge conflicts.

XIB file showing these tags removed after opening with Xcode 7.2 beta: XIB file showing these tags removed after opening with Xcode 7.2 beta.

like image 157
Derek Lee Avatar answered Dec 13 '22 11:12

Derek Lee