Aroniousness
Aroniousness

Reputation: 149

Xcode 7.3, Swift 2.2 Storyboards Extremely Slow

I have a huge app in process, and since updating to Xcode 7.3, doing anything in storyboard is like molasses!!

About a month ago, I had about the same speed using one HUGE storyboard, so I split the project up into 5 separate storyboards, and Hallelujah, a hundred times faster! But now, after updating, even dividing to 7; slow as can be! I'm about to back up, then try and recreate one big one, then back up again, then divide again - to see if that does anything; but I am doubtful.

Anyone know how to fix this, or what is wrong with the latest update?

Upvotes: 2

Views: 919

Answers (1)

Aroniousness
Aroniousness

Reputation: 149

Well, not a great solution but, all I can determine is that; if the number of items and constraints in the view gets over a certain amount (using Xcode 7.3), the speed suddenly drops horribly. So what I ended up having to do with this last storyboard (8 of 8) is to take a slide out side pane full of buttons and subviews, and place it in a container view - so that I could give it its own VC and thereby make it a stand alone 9th storyboard.

Not a great solution that's for sure, especially since I had to tie all of the buttons and methods to the parent view controller. I was lucky in this event in that the parent view (my main app map) is a single instance occurrence so I was able to reference it at launch, and merely prefix my former methods with the reference. If this was not so, I guess I would have to have done some serious protocol / delegation.

So, a proper solution (or 'fix' if it is Xcode's doing) is still wanting :)

Upvotes: 1

Related Questions