0 Replies
      Latest reply on May 8, 2020 2:08 PM by KeithMadison
      KeithMadison Level 1 Level 1 (0 points)

        I'm coding a project in Playgrounds for iPad, and I've run into a problem. I'm trying to create a button with SpriteKit, and I have the following code:

         

        SKSpriteNode(imageNamed: )
        
        
        
        

        How do I point to an image? I've tried using the little "plus" button in the top right-hand corner of the Playgrounds app, but I get the error "cannot convert type UIImage to expected argument type "String"". Thanks!