Hi,
First post and I am a total newbie when it comes to Ipads & Macs... And also this forum, so sorry if I post in wrong section.
My son use Ipad at school and they use Swift Playground there.
To be able to do some programming at home, I have set up Vmware with Sequoia 15.1.
I installed the app Swift Playground and try to run the playground Get Started with Code and some other education playgrounds.
If I understand correctly, it should be some landscape and a figure on the canvas... For me it is only a blue area.
I installed XCode, but could not figure out how to run the learning examples there. Tips? Is it possible to run the education playgrounds there?
I removed Swift Playgrounds and installed it again, same issue.
I also installed IOS 18.1 (?) but I am not sure it is needed.
Any suggestion of how I can get contents to show on the canvas? Except of bying an Ipad. ;)
Playground Support
RSS for tagShare playground data, manage live views, and control the execution of a playground in Swift Playgrounds using Playground Support.
Posts under Playground Support tag
15 Posts
Sort by:
Post
Replies
Boosts
Views
Activity
Hi apple I have been stuck for 2 days and it still does not work
Updated to iOS 18.2 beta 1 as soon as it was released on iPhone 15 pro max. playground icon on Home Screen but been waiting all this time and no activation. Dose anyone know if there is a known fault.
Okay everyone who click into or just pass by this post ,to cut a farrrirly
long story short ,here is the thing...
I was devloping my app in the playground on my Mac , which was building for the iPad, In the early time of real machine commissioning(through the Xcode ),everything is okay everything is okay..
"well,mabe it's time to deploy my app to the playground in ipad"! Then,to top it all off🤣,then playground tell me
(In case that you can't understand chinese and creat ambiguity )
emm that's too tight...,so I can only got back to the Xcode changing my language version to swift 5
then.....
Noting change ....
and
I think err.. in order to properly deploy app to iPad
,I had to rework my code with swift 5!
So, I almost fell on my knees ,can somebody who in charge of the playground ,can somebody who in charge of the playground ,just ,just! shove swift 6 in the playground (as long as it make my code run anyway),
otherwise there's no way to debug it!
please please plase!
I am currently running MacOS 12.7.6 version and this is the last update on my machine, and swift playgrounds is not downloading in it, so I want its older version, I think I need Swift Playgrounds 4.1, so please give me a solution.
Thank you so much!
hi
im fairly new to coding.. about a month, just so u know.. 😇
I am going through the tasks in (Swift Playgrounds) and I am currently in (Learning to code 2) the chapter is (Random gems everywhere) and I tried every possible solution to complete it, but to no avail!
any suggestions, comments, or corrections or tips, would be greatly appreciated!
I will attach some screenshots for a reference of what I'm trying to accomplish..
Try to learn some Swift coding but Playgrounds keeps crashing.
I run Playgrounds 4.1 on latest Monterey 12.7.5, from a MacBook Air dated back 2017.
Part of the error log says:
Thread 9 Crashed:: Dispatch queue: com.apple.UIKit._UIViewServiceInterfaceConnectionRequest com.apple.PlaygroundsMac.ExecutionExtension
The error can be reproduced by re-running the code; Everything goes well when the code was run at first time, but is doomed to fail at second run.
Any help?
In Swift-UI Playgrounds Learn to Code 2 under the Chapter "Variables" and the exercise "Checking for Equal Values", there is no instruction to use the predefined variable numberOfSwitches in the goal instruction.
Does anyone know of any documentation for the various directives in the guidebook?
Things like @GuideBook, @Guide, @Task, @SuccessMessage, etc.
Thanks,
David
I was expecting all of the code to run in main thread, but both task and async function is working in backfround thread. Any explanations?
I want to get the loop times info in playground. But it seems to only display the latest result for a loop on the right side. Do I miss anything? Xcode 15.0.1
import Cocoa
for i in 1...5{
print("\(i)")
}
I have a screenshot:
i have a simple code running on Xcode 15.2 and is showing blank in the liveView
I am expecting to see Hello button in default blue , which navigates me to empty screen when tapped
can someone helpe me why preview is not rendering properly?
thank you so much
I am using Swift Playground to teach "coding" to my nephew. One of the strict requirements I am trying to explain him is: when you are required to solve a problem, you need to use only the instructions/harward/etc you have available.
In the first episode of "Get started with code" -> "Commands" -> "Issuing commands", you are presented with two commands moveForward() and collectGem().
In the second episode "Toggle a Switch" you are introduced to a new command "toggleSwitch()".
Up to this point, the learner was introduced to three commands: moveForward(), collectGem(), toggleSwitch().
However, in order to solve the puzzle in the second episode, you need also to use another command: turnLeft(), that has not been referenced.
It is clear that looking for unknown commands is part of learning to code, but this occurs too early in the playground. Please consider also that some non-English young learners have no idea on how to write "turn left", so they cannot even type the first letters and hope in the auto-completion of the commands.
This has not been well thought by the designers of the playground.
Hey folks!
I remember some weeks/months ago to get some lessons with updated Swift 5.9, I'm just not sure if this happened while I was using Swift Playgrounds beta from TestFlight.
Anyways, I went back to study using Swift Playgrounds and all the lessons are using Swift 5.8 here.
I don't know what happened or how can I have the lessons updated again.
Anyone else noticed this issue? Any tip on how to solve it?
The “Get Started with Apps” in Playgrounds looks great but it won’t allow me to advance to the next activity. It seems to think that my solution is incorrect, but what I did matches the solution provided in the “hint.” This could be corrected by either allowing for more variety in the responses, or by allowing the user to advance to the next activity regardless of whether the response they provided was correct.