Live data from Hacker News

Show HN: Run dedicated iOS Simulators in the browser

appetize.io

31–40 of 69 posts

Re: Show HN: Run dedicated iOS Simulators in the browser

#32
post #22
post #21

Earlier quoted context omitted.

The one piece that puzzles me is how the frames are being captured from the iOS simulator. Are you launching multiples per user account, where each one is a different session at a different portion of the screen, and essentially screenshotting each? Or did you modify the simulator somehow and are hooking in to grab the screen, so that way its irrelevant of their position on screen? Thanks!

We wrote some custom OS X code to capture frames from individual processes. That way the simulators don't need to be positioned in any way or even visible. Cheers.

(don't see a link to reply under your last comment)

yea, so the incoming keystrokes and mouse movements are managed through some custom OS X code as well.

the specific method we're using is CGEventPostToPSN, more information here: https://developer.apple.com/library/mac/documentation/Carbon...

Re: Show HN: Run dedicated iOS Simulators in the browser

#33
post #28

Yo, dawg... http://i.imgur.com/Ib0WUeT.png

uh... oh boy. you're really pushing the boundaries of our testing... :)

Haha, I'm a little surprised since this was the first thing I did. Actually works pretty well.

Re: Show HN: Run dedicated iOS Simulators in the browser

#35
post #22
post #21

Earlier quoted context omitted.

The one piece that puzzles me is how the frames are being captured from the iOS simulator. Are you launching multiples per user account, where each one is a different session at a different portion of the screen, and essentially screenshotting each? Or did you modify the simulator somehow and are hooking in to grab the screen, so that way its irrelevant of their position on screen? Thanks!

We wrote some custom OS X code to capture frames from individual processes. That way the simulators don't need to be positioned in any way or even visible. Cheers.

(No reply button under your other comment either)

Thats a pretty sweet API, never seen that before, thanks! I'm going to play around with it a bit to see what it can do!

Re: Show HN: Run dedicated iOS Simulators in the browser

#36
Nice work! I might pay for a version of this to get our graphic designer off using Xcode (my app uses an art/config format which can be pulled from a web server). Especially if it could help them quickly test results on multiple device formats and iOS versions. It'd be handy to have a slower full-resolution option too!

Re: Show HN: Run dedicated iOS Simulators in the browser

#39
post #36

Nice work! I might pay for a version of this to get our graphic designer off using Xcode (my app uses an art/config format which can be pulled from a web server). Especially if it could help them quickly test results on multiple device formats and iOS versions. It'd be handy to have a slower full-resolution option too!

Definitely on our to-do list. Stay tuned!
Post reply on HN