6 ms·
> When I say it’s in undocumented I mean that the fact that you can use UIkit at all is undocumented. A couple of the example playgrounds expose this. > Also
by saagarjha 8y ago
> When I say it’s in undocumented I mean that the fact that you can use UIkit at all is undocumented.
A couple of the example playgrounds expose this.
> Also there is little documentation that explains things like XCPlayground and PlaygroundsSupport.
Documentation is available here: https://developer.apple.com/documentation/playgroundsupport https://developer.apple.com/documentation/playgroundsupport. It's not great, but it's getting better.
> Also the limitations on Swift Playgrounds are never mentioned anywhere (e.g. autolayout constraints don’t really work for the Playgrounds previews.
They do, but in a buggy way. I have long considered this to be a defect and have filed Radars about this.
> Also, as far as I am aware, you cannot add to the sources folder on the iPad itself. That requires a Mac.
You can create playgrounds on the fly with the Files app, if you know the structure they must have. You cannot edit them in Swift Playgrounds.