I installed Xcode 6.3 which includes support for Swift 1.2. It turned up a ton of error messages, which are mostly casting issues.
I navigated to the storyboard, an
Launching Xcode while holding shift fixed it for me.
(This suppresses Xcode's state restoration.)
Update: Xcode 6.3.1, released today, resolves this issue.
Update Xcode 6.3.1
For me, everything works !
It is not a bug anymore since Apple fixed it in Xcode 6.3.1
.
Temporary solution:
If you have currently opened Assistant Editor switch to another file using alt+click
. You can keep your @IBDesignables
.
I can confirm this bug. I was stuck in storyboard and could do nothing to get out of it (couldn't even open the assistant). As a workaround, with the storyboard open, right-click the .storyboard
file and select Open As
- Source Code
. This will switch your storyboard to code and you will be able to then switch to any file.
I gather from the apple developer forums that this is an @IBDesignable issue. Especially in projects that use custom fonts, additional xibs, etc.
I have somehow fixed my issue by removing all @IBDesignable from swift UIView class definitions. You can open your project directory with TextMate or other, search and remove all "@IBDesignable"
However I still think this is a MAJOR bug, that needs to be worked on.. so keep filing bug reports to Apple.