DEV Community

Cover image for Can You Code On iPhone?
Timo Ernst
Timo Ernst

Posted on • Edited on • Originally published at timo-ernst.net

Can You Code On iPhone?

Few days ago while watching the Apple iPhone 12 keynote I wondered – Could you use this thing as a device to do programming on? So I tried. In this Video I will try to build a React + Node/Express app entirely on my iPhone SE using my favourite iOS IDE PlayJs.

For more crazy dev videos follow me here:

Top comments (5)

Collapse
 
meetalexhales profile image
Alex Hales

You don't need prior experience to dive right into creating apps for Apple platforms. Apple's app development curriculum makes it easy for anyone to code in Swift just like the pros — whether it's for a semester in school, for professional certification, or to advance your skills.

Collapse
 
jonathan_wilson_95ca2be11 profile image
Jonathan Wilson

Yes, you can code on an iPhone! While it's not as powerful as a full desktop or laptop environment, there are several apps and tools that allow you to write and run code directly on an iPhone:

Text Editors and IDEs:

  • Pythonista: A powerful Python IDE for writing Python scripts with support for various libraries and integrations.
  • Playgrounds: Apple’s own Swift Playgrounds app lets you learn and write Swift code directly on an iPhone. It's beginner-friendly and perfect for Swift development.
  • Textastic: A versatile code editor that supports multiple languages (HTML, CSS, JavaScript, PHP, and more).
  • GoCoEdit: A mobile text editor with syntax highlighting for many programming languages.

Cloud-based IDEs:

  • Replit: A cloud-based IDE that allows you to code in many languages. You can access it from the browser on your iPhone.
  • Glitch: Another online platform for building apps in JavaScript and Node.js.

SSH Access to a Remote Server:
If you have access to a remote server, you can SSH into it using an app like Termius and code directly on the server, running programs on a more powerful machine.

Run Code in the Browser:
For web development, you can use online tools like JSFiddle or CodePen to write and test HTML, CSS, and JavaScript directly from your iPhone browser.

While coding on an iPhone may not offer the same flexibility as a full development environment, these apps provide a decent way to experiment, learn, or even code on the go. Hottu Tech

Collapse
 
jonathan_wilson_95ca2be11 profile image
Jonathan Wilson

Yes, you can code on an iPhone! Apps like Pythonista (for Python), Swift Playgrounds (for Swift), and Textastic (for multiple languages) let you write and run code. Cloud-based IDEs like Replit and Glitch allow coding in many languages directly from the browser. You can also use SSH apps like Termius to access remote servers and code remotely. While not as powerful as a laptop, these tools let you code on the go! Online Medical Supplies UK

Collapse
 
andrewbaisden profile image
Andrew Baisden

I think it has a lot of potential. With a bigger screen and maybe an external keyboard it could be a pretty mobile setup. 😁

Collapse
 
timo_ernst profile image
Timo Ernst • Edited

Been thinking the same! Maybe with a foldable display smartphone? 🤔