Reputation: 1842
I working on an iOS application in Swift and each time I write code or chose a name of variable/method from list, XCode compiles project. It can be seen from the processor usage graph that is not an visual-only problem.
This slows down my mac, variable/methods suggestions appears also slow...
I have updated to XCode 7.1.1 but still does that. Any suggestions?
Upvotes: 2
Views: 248
Reputation: 1171
Do you have a view that is defined as IB Designable and not in a framework? If so, Xcode will recompile your project when code changes. One option is to comment out the designable directive until you need to modify the class again.
Upvotes: 1
Reputation: 2056
I had the same issue some weeks ago and I finally found hat it's because I used 2 Xcode's windows: one for the storyboard and one for the code. As soon as I stopped using 2 windows, XCode stopped to build my storyboard after every code update. Note that I'm not talking about tabs but windows.
Upvotes: 5