Post

Replies

Boosts

Views

Activity

Swift playgrounds author template
Looking at previous year's submissions and prior to that (2019 submissions), I could notice the change in the format of playgroundbook content in. XCode, such as in chapter pages it was Contents.swift and Manifest.plist (for 2019 submissions) with Sources and PrivateResources directories for code base and assets, whereas for 2020 submissions it was main.swift ,LiveView.swift for chapter pages and UserModules directory for the codebase. Is there any compulsion regarding which of the above two structures I should use to build my playgroundbook or am I free to use any of it ? Thanks.
1
0
869
Apr ’21
Cutscene page not occupying full frame in swift playgrounds
I'm using a cutscenepage in my playgroundbook (for swift playgrounds on macOS) built using hype4. However, the scene or the animation is not completely occupying the frame, leaving a whitespace at the bottom. I tried setting LiveViewEdgeToEdge to both YES and NO in manifest.plist , but the problem persists in either of the cases. Check the attached link below for the screenshot. ibb.co/NNRcZdF What's causing this behaviour ? Please help me fix the problem. Thanks.
2
0
865
Apr ’21
Use of Graphics and audio in playground
I'm using few images and audio in my playground/playgroundbook which is from a famous TV show. I'm not sure if there's any copyright infringement against use of those images/audio. The swift student challenge guidelines state that, any public domain images and/or audio files can be used with rightful credits and and a brief explanation. So, is it safe/sufficient if I give the credits and explanation, or should I consider replacing those assets ? Thanks in advance.
1
0
799
Apr ’21