3 ms·
Swift Playgrounds looks great but I'm surprised no one has mentioned the frustration that Apple is shipping something on iPad that other developers have been ba
by greggman 10y ago
Swift Playgrounds looks great but I'm surprised no one has mentioned the frustration that Apple is shipping something on iPad that other developers have been banned from making since iPad shipped
From the Swift Playground website:
> Send your code to a friend’s iPad using Mail, Messages, or AirDrop
No other apps are allowed to do this because of the iOS Terms of Service restrictions
- na85 10y agoBy now, people are used to being dicked around by the masters of whatever walled garden they choose to play in. It's not like this sort of behaviour is new to Apple (or any of their competitors) .
- Longhanks 10y agoPythonista does the same since months, just for Python code.
- rhinoceraptor 10y agoYou can even do little web servers in Pythonista and access it from the browser. I didn't think iPads allowed that sort of thing.
- greggman 10y agoThat's great but unless they're running Python in WebKit it's actually against the current terms of service > 3.3.2 An Application may not download or install executable code. Interpreted code may only be used in an Application if all scripts, code and interpreters are packaged in the Application and not downloaded. The only exception to the foregoing is scripts and code downloaded and run by Apple's built-in WebKit framework, provided that such scripts and code do not change the primary purpose of the Application by providing features or functionality that are inconsistent with the intended and advertised purpose of the Application as submitted to the App Store.
- steve_taylor 10y agoCodea has been around for a few years now. It lets you code iPad apps on the iPad using Lua. You can even export the project to Xcode so you can eventually deploy your creations to the App Store. And this is certainly not the only iOS-based coding environment. It looks like Apple has knowingly made an exception for this use case because it's not the type of thing they had set out to prevent with their rules around loadable code. Apps like Codea bring a lot of value to the platform. http://twolivesleft.com/Codea/ http://twolivesleft.com/Codea/
- swift 10y agoWow; very cool! I've been hoping for something like this ever since I read Bret Victor's essay "Learnable Programming": http://worrydream.com/LearnableProgramming/ http://worrydream.com/LearnableProgramming/
- greggman 10y agoThe terms of service only disallow downloading code. As long as codea only allows copying and pasting code it's not breaking any terms You can see this is how they handled it https://bitbucket.org/TwoLivesLeft/core/wiki/CopyingCode https://bitbucket.org/TwoLivesLeft/core/wiki/CopyingCode Swift Playground doesn't seem to have that limit which arguably makes Swift Playground a whole lot better and arguably anti-competitive
- deleted 10y ago[deleted]