r/iOSProgramming • Objective-C / Swift • Jun 17 '18

Proof of Concept - Xcode on iPad!

https://twitter.com/louisdhauwe/status/1008071487721439233
173 Upvotes

33 comments sorted by

View all comments

39

u/iGoalie Objective-C / Swift Jun 17 '18

(Serious) I’ll probably get downvotes for this, but honestly why would you want this?

Writing code on an iPad would be an incredibly frustrating experience.

I think it’s a cool proof of concept, but I can’t imagine actually using this for anything more than a novelty

26

u/klapasdron Jun 17 '18

In my point of view, I always felt like you should be able to fully build an app for iOS on iOS, regardless of how convenient that would be. Also a lot of people wish for a merge between macOS and iOS, even though we know it's not happening. And honestly, the iPad has become so feature rich and productive that I don't think it would be so bad, specially with a keyboard case

9

u/athros Jun 17 '18

Yet people do just that with Coda, Codea and Pythonista, including releasing games with them Like Starsceptre (written in Codea) and MapMan (written in Pythonista).

I've done a few prototypes, and now taking a challenge to write an entire game (Code, Music, Art) on just my iPad with a Mac as the builder (yes, my friends are jerks). Thus far, I've had to rethink how I do certain things (VCS, temp art, moving art from one app to another, moving music from one app to another etc) but overall, no real problems.

If there was a full blown XCode that I could use, I'd be on that in a heartbeat. I'd much rather write in Swift than Lua or Python, but the only app that does that (Dringend) is dead and abandoned. I have a bluetooth keyboard I use (mechanical when at home, Apple's when I'm on the go) so I'm not just typing on the screen, which I wouldn't be able to do easily.

2

u/[deleted] Jun 17 '18

I'd like it as a quick proof of concept or try stuff out thing, but I don't see myself working daily on it. I think what Apple has but expanded could be interesting to see what could be done.

3

u/reeetwyio Jun 18 '18

Why would it be frustrating? You can hook up a keyboard and it's nearly indistinguishable from a laptop. Heck, you could remote desktop into it from your windows machine and use this to develop native iOS while using Windows. This has tons of potential if it can be made to work really well and Apple doesn't kill it.

2

u/shiggie Jun 17 '18

Well, if it was a proof of concept of how a decent UI experience could be provided on the iPad, that would be interesting. But, it's not. It still runs Xcode on the mac remotely to compile and install. So, not a proof of concept that a standalone LLVM/UIKit system could be done either.

It's proof of concept of a tethered Xcode client iPad app. I think it's kind of cool (and useless).

-3

u/AntiProtonBoy Jun 18 '18

Compile times would quite atrocious on today's iOS device.

3

u/im2slick4u objc_msgSend Jun 18 '18

Obviously you can’t really compare this apples to apples but I’ve done a bit of compiling on arm devices that are less powerful than modern iPhones and haven’t noticed it being significantly worse than a similarly specd x86 chip. In the demo in the tweet they are compiling remotely on a Mac, but I don’t see why compilation would be a problem locally.

1

u/AntiProtonBoy Jun 18 '18

All depends on the project size and what language you're compiling. For small Objective-C projects, no issue. Anything more complex than that, the Xcode performance hit will hurt productivity.

Typically I'm working and building C++ projects that takes about good 10 to 15 minutes to build on a 4 core Xeon with 32 GB memory. Xcode struggles with auto completion and indexing. ARM would certainly perform considerably worse in comparison.