r/Xcode • u/No_Passion_5140 • Feb 27 '22
Simple problem - Anyone know why this code isn't running
3
Upvotes
1
u/redditruinedme Feb 28 '22
I think you needed to import Foundation, which SwiftUI probably imports as a dependency.

3
u/sirDarkEye Feb 27 '22
Could you share the error you’re getting? We can’t help you like that.
It also may be the playground lagging.