This is a companion discussion topic for the original entry at https://www.raywenderlich.com/4001741-swiftui/lessons/13
This is a companion discussion topic for the original entry at https://www.raywenderlich.com/4001741-swiftui/lessons/13
When I make the example of this lesson, I get an error on the top of the canvas, when I opened the project of the “Download Materials”, it has the same error: “Cannot preview in this file - unexpected error occurred”. this is the Diagnostic:
Sorry to hear you’re having issues. This seems to be very common thanks to the fact SwiftUI is still a really fresh technology. In fact we had our previews break for several of the videos despite no compile issues. The only solution for us was to restart our system.
Great shot at RegEx syntax!
1 Like
It was supposed to be a fun little thing as I was coming up with content to help learn basic concepts and I figured most people would get a giggle at this point haha!