News for hackers. Stuff that matters.
Re:Ask HN: Coding on an iPad? by greggman7 on Monday January 13, 2025 @03:17PM (#42688492)
AFAIK this is still mostly forbidden by Apple

> 2.5.2 Apps should be self-contained in their bundles, and may not read or write data outside the designated container area, nor may they download, install, or execute code which introduces or changes features or functionality of the app, including other apps. Educational apps designed to teach, develop, or allow students to test executable code may, in limited circumstances, download code provided that such code is not used for other purposes. Such apps must make the source code provided by the app completely viewable and editable by the user.

https://developer.apple.com/app-store/review/guidelines/

So except for education you can't code on an iPad.

That said, you could access a website like stackblitz or codepen or codesandbox. No idea how well those run on iPad.

Re:Ask HN: Coding on an iPad? by hnlurker22 on Monday January 13, 2025 @03:22PM (#42688584)
I thought you can do a SwiftUI project on an iPad using playgrouds, then send the project to your macbook if you want to release from there. I never tried it though.
Re:Ask HN: Coding on an iPad? by Jtsummers on Monday January 13, 2025 @03:25PM (#42688637)
https://support.apple.com/guide/playgrounds-ipad/share-a-pla...

You can actually publish from the iPad now. I think that's been an option for 2 years or so.

Re:Ask HN: Coding on an iPad? by greggman7 on Monday January 13, 2025 @04:11PM (#42689399)
Yes of course, Apple doesn't have to follow it's own rules.
Re:Ask HN: Coding on an iPad? by musicale on Monday January 13, 2025 @09:46PM (#42692876)
Well yes, Apple's internal software development teams aren't bound by Apple's standard external developer license.

Though I suppose the EU might eventually insist that external developers gain access to the same APIs that Apple itself can use.

Re:Ask HN: Coding on an iPad? by ImJamal on Tuesday January 14, 2025 @02:13PM (#42702245)
> Though I suppose the EU might eventually insist that external developers gain access to the same APIs that Apple itself can use

Isn't that one of the issues Microsoft had in their monopoly trial?

Re:Ask HN: Coding on an iPad? by musicale on Friday January 17, 2025 @10:55PM (#42745669)
yes...
Re:Ask HN: Coding on an iPad? by scarface_74 on Tuesday January 14, 2025 @10:39AM (#42698544)
https://www.theverge.com/2024/7/22/24200536/windows-xp-ipad-...

For terminal emulation, you can use iSH.

An app is allowed to use the standard method to read and write to use the standard document storage API where any installed storage providers can be accessed - iCloud, Google Drive, DropBox, the local device, etc