Developing for big iPad on small laptop

Getting into LiveCode for iOS? Ask your questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

allengwinn
Posts: 37
Joined: Tue Aug 21, 2012 4:46 pm

Developing for big iPad on small laptop

Post by allengwinn » Tue Aug 21, 2012 4:53 pm

We are trying to figure out how to do component layout on a card for a Retina iPad (2048x1536) using 1024x768 or 1080p laptops as a development platform. Has anyone developed a good way to see the card you're working on developing? Seems like there should be an easy way to "zoom" the view but we can't find it.

Klaus
Posts: 14177
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Developing for big iPad on small laptop

Post by Klaus » Wed Aug 22, 2012 12:39 pm

Hi Allen,

well, this is our problem unfortuntaly :cry:

The only trick I can think of is to group EVERYTHING on your cards, add a scrollbar to that group
and adjust the stack size so you can access otherwise "hidden" objects.

EDIT!
Another cool idea:
1. Create a little helperstack (palette) with only a scrollbar on it that lets you change the Y position of the stack! Know what I mean?
2. Set its startvalue to -512, endvalue to +512 or whatever suits your needs.
3. script like this (pseudocode)

Code: Select all

## Will center the stack on the screen but changes its Y axis
## Put whatever you need into the tX
on scrollbardrag tValue
  put item 1 of the screenloc into tX
  put item 2 of the screenloc into tNewY
  add tValue to tNewY
  set the loc of stack "the BIIIIGGGG one" to tX,tNewY
end scrollbardrag
This way you can also access all objects on the card without changing the stack height! :D

Best

Klaus

Dixie
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 1336
Joined: Sun Jul 12, 2009 10:53 am

Re: Developing for big iPad on small laptop

Post by Dixie » Wed Aug 22, 2012 1:06 pm

Hi...

Maybe Klaus means something like this..
Open the attached Stack 'shuffleAbout'... Open another stack...click in the stack 'shuffleAbout', select the stack that you wish to move about the screen ( I have only accommodated up & down, but you could add left & right as well) click on the requisite button to move the stack upwards or downwards...

It might help

Dixie
Attachments
shuffleAbout.livecode.zip
(1.24 KiB) Downloaded 494 times

Klaus
Posts: 14177
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Developing for big iPad on small laptop

Post by Klaus » Wed Aug 22, 2012 1:22 pm

Dixie wrote:Maybe Klaus means something like this..
Yes, maybe... :D

endernafi
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 296
Joined: Wed May 02, 2012 12:23 pm
Contact:

Re: Developing for big iPad on small laptop

Post by endernafi » Wed Aug 22, 2012 3:02 pm

left & right implemented...
http://cloud.keehuna.com/0Z0D3r2b1r0R

Thanks to Klaus & Dixie...


Regards,

~ Ender Nafi
~... together, we're smarter ...~
__________________________________________

macOS Sierra • LiveCode 7 & xCode 8

allengwinn
Posts: 37
Joined: Tue Aug 21, 2012 4:46 pm

Re: Developing for big iPad on small laptop

Post by allengwinn » Wed Aug 22, 2012 7:42 pm

Right. Here's my dilemma. I work for a University and am putting together course materials for exec types (CIO, CFO, VP's) who are trying to place app development in the enterprise. The majority are energy and large healthcare providers. The course objective not to teach them to program, but to steer them toward a reasonable management/costing strategy. The first two days, however, I want to lead them through developing a simple app for the iPads we're going to be giving them :) This is the best way I know to show them that things which seem simple, on the surface, aren't necessarily simple--and illustrate what they are getting into.

My plan, currently, is to spend part of the first day prototyping screens using Blueprint (great app, by the way). Then we're going to spend the balance of the time writing some rather trivial code in Corona and getting it on the iPad.

The thing I like about Livecode is that we might be able to incubate thinking toward updating/managing desktop experiences along with mobile. But this issue is a show-stopper for me. I'm disappointed this issue has been allowed to remain unaddressed for so long by Runrev.

Dixie
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 1336
Joined: Sun Jul 12, 2009 10:53 am

Re: Developing for big iPad on small laptop

Post by Dixie » Wed Aug 22, 2012 7:47 pm

What issue ?

Dixie

allengwinn
Posts: 37
Joined: Tue Aug 21, 2012 4:46 pm

Re: Developing for big iPad on small laptop

Post by allengwinn » Wed Aug 22, 2012 8:30 pm

This is a screenshot of my iMac (1920x1080) when we have a 1536x2048 card up. The only way to place gadgets on the card is to manually enter location values in order to see the whole card unless there's something I'm missing.
Attachments
retina-screen.jpg

Dixie
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 1336
Joined: Sun Jul 12, 2009 10:53 am

Re: Developing for big iPad on small laptop

Post by Dixie » Wed Aug 22, 2012 8:39 pm

Ok.. now I understand what you are talking about, apologies... I did not make the connection from your post that laying out objects on a card was the problem.. but perhaps even worse, I have no solution for you except perhaps to use the stack that was posted earlier so that you can shuffle you card around your Mac screen...

be well,

Dixie

allengwinn
Posts: 37
Joined: Tue Aug 21, 2012 4:46 pm

Re: Developing for big iPad on small laptop

Post by allengwinn » Wed Aug 22, 2012 8:51 pm

Yeah, as I say, it's a killer issue for anyone realistically wanting to do development on the iPad. But since the cross-platform world seems to be trending Corona and Mono, that's likely what we should be putting in front of enterprises who are going to spend millions if not billions of dollars over the next few years on ... :) [you get the idea!]

programmerBUSLVMD
Posts: 6
Joined: Fri May 04, 2012 5:53 am

Re: Developing for big iPad on small laptop

Post by programmerBUSLVMD » Tue Aug 28, 2012 9:00 pm

There are monitors that rotate offering both landscape and portrait modes. You might want to look into that as an external monitor option. Also some video drivers will let you specify landscape/portrait (they are assuming this kind of monitor I guess). With a laptop, and external keyboard and mouse, rotate the external monitor 90 degrees. Mountain lion on my MacBook pro has this software option under displays for my external monitor. Also some monitor wallmounts support this.

paulsr
Posts: 222
Joined: Thu Jul 19, 2012 9:47 am
Contact:

Re: Developing for big iPad on small laptop

Post by paulsr » Thu Aug 30, 2012 5:03 am

...but it would be even nicer if RunRev would implement a scaling option, like the one for the iOS simulator.

IMO, of course.

--paul

snm
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 253
Joined: Fri Dec 09, 2011 11:17 am

Re: Developing for big iPad on small laptop

Post by snm » Thu Aug 30, 2012 7:19 am

... or scrolling the content of window

Klaus
Posts: 14177
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Developing for big iPad on small laptop

Post by Klaus » Thu Aug 30, 2012 11:54 am

... and universal peace 8)

paulsr
Posts: 222
Joined: Thu Jul 19, 2012 9:47 am
Contact:

Re: Developing for big iPad on small laptop

Post by paulsr » Mon Sep 03, 2012 10:39 am

endernafi wrote:left & right implemented...
http://cloud.keehuna.com/0Z0D3r2b1r0R

Thanks to Klaus & Dixie...


Regards,

~ Ender Nafi
Yes... thanks from me too. That's really helpful.

--paul

Post Reply