Search found 3 matches

Go to advanced search

by Simeon Courtie
Tue Feb 11, 2014 3:54 pm
Forum: Issues
Topic: Random access database. How to 'lucky dip' from a collection of items.
Replies: 4
Views: 128
 
Jump to post

Random access database. How to 'lucky dip' from a collection of items.

I've got that skip command working fine. Next question - how do I get my random number (generated using arc4random_uniform(N) I assume) into the skip value? I can't find a way of accessing the code within Appery.

by Simeon Courtie
Tue Feb 11, 2014 2:32 pm
Forum: Issues
Topic: Random access database. How to 'lucky dip' from a collection of items.
Replies: 4
Views: 128
 
Jump to post

Random access database. How to 'lucky dip' from a collection of items.

How can I create a random access database? I've got Appery to 'invoke a service', accessing a restservice database (as per the tutorial). In my app, I'd like a button click to request a random item of data from this database collection, rather than always the first item, or the entire list. If there...

Go to advanced search