Page 1 of 1

touch objects for iPhone

Posted: Fri Nov 05, 2010 9:57 pm
by bn
If you want your list on the iPhone or any other touch device it is not easy to code the "touch" into the objects. A touch is different from a mouseClick, since on a touch-device you often have a mouseMove message between mouseDown and mouseUp. If you want your object to scroll then you have to have a mouseMove handler. But then you have to figure out whether the user wants to scroll or click.

I learned this from an attempt to make a scrolling list field like in the address book of the iPhone. I guess this will be a fairly common interface element on any touch device. It allows you to scroll a list and to select one line of that list. Easily done in a mouse-driven environment, but tricky in a touch environment.

What RevMobile needs are objects for the mobile/touch interface. This with regards to functionality but also as far as design is concerned. This is currently up to the individual developer to implement.

I post this as a revlet:
http://berndniggemann.on-rev.com/iphonelistfieldrevlet/
and as a zipped stack
http://berndniggemann.on-rev.com/iphone ... vecode.zip

a "slotmachine" i.e. a endlessly scrolling "wheel" field, like on the iPhone to set timers etc. can be found here:
as revlet
http://berndniggemann.on-rev.com/slotma ... inerevlet/
as zipped stack
http://berndniggemann.on-rev.com/slotma ... ne.rev.zip

If you have comments/improvements/questions, they are welcome.
regards
Bernd

Re: touch objects for iPhone

Posted: Fri Nov 05, 2010 10:37 pm
by paul_gr
Thanks Bernd.
much appreciated.

Paul

Re: touch objects for iPhone

Posted: Fri Nov 05, 2010 10:48 pm
by olive
Thank you very much Bernd for your reply and this post ! :-)

Re: touch objects for iPhone

Posted: Tue Mar 22, 2011 3:36 pm
by ystan2010
Hi,

Thanks a lot for your assistance!

I am more looking for the real slot machine emulator like those in the casino. Do you have any scripts or codes for that by chance?

Thanks,
JYST

Re: touch objects for iPhone

Posted: Wed Mar 23, 2011 6:01 am
by ystan2010
Hi, thanks for the post anyway. I am not looking for slot machine for iphone. I am looking for a real casino slot machine emulator. Can anyone here help me please?

Thanks,
JYST

Re: touch objects for iPhone

Posted: Wed Mar 23, 2011 11:08 am
by bn
Hi Ystan,

lets discuss this in the original thread since what you have in mind is not for iOS/mobile.

http://forums.runrev.com/phpBB2/viewtop ... 624#p32624

Kind regards

Bernd

Re: touch objects for iPhone

Posted: Fri May 20, 2011 8:24 am
by cocochen
bn wrote:If you want your list on the iPhone or any other touch device it is not easy to code the "touch" into the objects. A touch is different from a mouseClick, since on a touch-device you often have a mouseMove message between mouseDown and mouseUp. If you want your object to scroll then you have to have a mouseMove handler. But then you have to figure out whether the user wants to scroll or click.

I learned this from an attempt to make a scrolling list field like in the address book of the iPhone. I guess this will be a fairly common interface element on any touch device. It allows you to scroll a list and to select one line of that list. Easily done in a mouse-driven environment, but tricky in a touch environment.

What RevMobile needs are objects for the mobile/touch interface. This with regards to functionality but also as far as design is concerned. This is currently up to the individual developer to implement.

I post this as a revlet:


a "slotmachine" i.e. a endlessly scrolling "wheel" field, like on the iPhone to set timers etc. can be found here:
as revlet

regards
Bernd
Hi, thanks for the post anyway. I am not looking for slot machine for iphone. I am looking for a real casino slot machine emulator. Can anyone here help me please?

Thanks,
JYST