I have a sample UITableViews stack I'd like to share with everyone. I was thinking about making it more comprehensive, but because it's so simple to implement tables in this way, I have decided to share the framework and let others experiment with going further.
UITableViews are the Data Grids of Cocoa programming. Unfortunately, UITableViews are not supported as an iOS object at this time. But, UIWebView is! And, thanks to some simple CSS/HTML, and a few LiveCode side tricks, it is possible to create a convincing UITableView without much effort.
The CSS project I picked is located at http://code.google.com/p/iphone-universal/. It's very lightweight and very, very easy to implement. The stack I've attached has the project's CSS file embedded and deploys it on preOpenStack to the apps Documents folder.
From there, the preOpenCard script generates a table of the states in the United States of America along with their capital cities. When you tap on a row, it takes you to another card which displays the name of the state and it's capital in two fields.
It's a simple demonstration of a very useful function. Feel free to provide feedback.
Brent Anderson
Tasty UITableViews
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- Posts: 18
- Joined: Wed Jul 12, 2006 4:40 am
Tasty UITableViews
- Attachments
-
- Table Library.livecode.zip
- The Stack
- (199.59 KiB) Downloaded 335 times
Re: Tasty UITableViews
Thtat's pretty clever. Looks great.
I just downloaded his UiUIKit, it has all the right images in it too. Nice.
I just downloaded his UiUIKit, it has all the right images in it too. Nice.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
Re: Tasty UITableViews
14" MacBook Pro
Former LiveCode developer.
Now recovering.
Former LiveCode developer.
Now recovering.