iOS - picking from a scrolling list
Chris Sheffield
cmsheffield at me.com
Wed Apr 4 12:42:51 EDT 2012
Graham,
Check out iphonePick, or mobilePick if you want to be cross platform. That should do what you want. It's all explained in the dictionary.
Chris
--
Chris Sheffield
Read Naturally, Inc.
www.readnaturally.com
On Apr 4, 2012, at 10:31 AM, Graham Samuel wrote:
> In an iOS app I'm developing I would like to use a scrolling text list where the user can drag the whole list up and down (i.e. scroll the list) but can also select a line by touching it. This type of interaction is permitted in iOS: a simple example is the index of Apple's own Contacts app.
>
> I have looked at the latest iOS notes for LC5.5 (Scroller Control - UIScrollView) and I can't understand how the textual list (like an ordinary LC scrolling field) would come in to the scroller; I'm also just beginning to use MobGUI to introduce some native controls, and that has a scroller object too. It is complex and consists of a group into which it is possible to introduce such an LC field, but in that case it is sensitive to touches, but not to dragging/scrolling - I tried setting the parameter 'delay touches' but it didn't seem to change anything.
>
> Obviously I have missed some underlying concept here. The LC iOS doc says that a scroller isn't a container for other controls, but I don't know what that means. It seems a gnomic pronouncement rather on the lines of "Light is not a thing" or “Die Welt ist alles, was der Fall ist.” Sounds terrific, but what does it actually mean?
>
> I also tried reading the UIScrollView section of Apple's documentation. It's promising in a way (it mentions the need to do the kind of thing I'm talking about) but it doesn't help me enough to allow me to proceed.
>
> Does anyone know how to do this? I have asked MobGUI support, but I don't know how reactive they are.
>
> TIA
>
> Graham
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
More information about the use-livecode
mailing list