I'm new to swift playground, and I tried to create a instance of Type like Scene or Graphic. But every time I try it keep saying cannot find 'Scene' in scope
or cannot find 'Graphic' in scope.
What I am missing here? Thanks
I'm new to swift playground, and I tried to create a instance of Type like Scene or Graphic. But every time I try it keep saying cannot find 'Scene' in scope
or cannot find 'Graphic' in scope.
What I am missing here? Thanks
If you're using Xcode 12.5 beta, try to enable import App types
from the right menu (you can open the right menu using the top right corner button). I think that should solve the problem, but i could be wrong.
Also read this answer by Vitali