I'm using playgrounds for iPad, and I'm trying to add an image to a SpriteKit node (I.e. I have SKSpriteNode(imageNamed: )). How do I add an image? I'even tired using the "plus" button in the top-right-hand corner, adding an image, and then inserting the image in my code, but I get the error "cannot convert value of type 'UIImage' to expected argument type 'String'). So, how do I point to an image? Thanks!
Post
Replies
Boosts
Views
Activity
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!
I submitted a Playground for this year's Swift Student Challenge. The results were released today, but I can't view my status. I've visited the webpage, and signed into my account, but it just keeps looping back to https://developer.apple.com/wwdc20/swift-student-challenge/apply/. I've tried it with 3 different browsers, on a laptop and an iPad.
I didn’t receive an e-mail from Apple. I tried signing into the “check your status” webpage, but it keeps looping back to the login page (I.e. I sign in, it takes me back to the “please sign in to see your status” page, I log in again, repeat). I only have one Apple ID so it has to be the right account.