Hi Everyone
As requested here is a sample stack showing a basic iOS style list. This example uses the contacts from the SQLite Database.
If you open the script for the "Create list from db" button you will see that the list is created by setting some properties of the "contact list" group. The script for building the list is all contained in the "contact list" group script. If you extend the stack you will see the templates and the behavior button, which you can edit to meet your needs.
The properties you can set on the "contact list" group are
the sortItem - the item number you want the list to be sorted by
the itemSeparator - the itemDelimiter to be used
the uniqueItem - eg if each entry contains a unique id which you want to be stored but not shown state which item it is. The is set as the cUniqueID of each list item
the showInitial - true or false is alphabetical headers are to be shown
the listContents - the list to be displayed
You can update the behavior button with how you want each line to behave when clicked. The stack also creates a scroller to scroll over the list.
Please let me know if you have any questions.
Kind regards
Elanor
iOS List Example
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
iOS List Example
Post by elanorb » Thu Sep 19, 2013 12:35 pm
- Attachments
-
- contactListExample.zip
- (27.01 KiB) Downloaded 404 times
Elanor Buchanan
Software Developer
LiveCode
Software Developer
LiveCode
Return to “Summer School 2013”
Jump to
- LiveCode Community
- ↳ Announcements
- ↳ Developer Services Marketplace
- ↳ User Groups and Events
- ↳ SoCal LiveCode Group
- ↳ Greater Toronto Area LiveCode Users Group
- ↳ Off-Topic
- ↳ Made With LiveCode
- Getting Started With LiveCode
- ↳ Getting Started with LiveCode - Complete Beginners
- ↳ Getting Started with LiveCode - Experienced Developers
- ↳ Converting to LiveCode
- ↳ App Building Course
- ↳ Simple Messages
- ↳ Calculator
- ↳ Notes
- ↳ Clock
- ↳ Web Browser
- ↳ Weather
- ↳ Compass
- ↳ Photos
- Developing With LiveCode
- ↳ Talking LiveCode
- ↳ Databases
- ↳ Games
- ↳ Internet
- ↳ Multimedia
- ↳ Software Engineering
- ↳ Version Control
- ↳ Feature Proposals
- ↳ Bug Triage
- ↳ Legacy Project: MetaCard
- Extending LiveCode
- ↳ Using Plugins for Customizing the LiveCode IDE
- ↳ Using Externals
- ↳ Making IDE Plugins
- ↳ Building Externals
- ↳ LiveCode Builder
- Platform Specific
- ↳ Windows
- ↳ Mac OS
- ↳ Linux
- ↳ iOS Deployment
- ↳ Android Deployment
- ↳ CGIs and the Server
- ↳ HTML5
- ↳ Raspberry Pi
- Academic Endeavors
- ↳ Teaching with LiveCode
- ↳ Research and Post Secondary
- ↳ LiveCode University
- ↳ Educational Outreach
- Livecode Open Source Archived Forum- closed to posting
- ↳ Engine Contributors
- ↳ IDE Contributors
- ↳ Documentation and Tutorials
- ↳ Brainstorms
- ↳ Community Projects
- ↳ rIDE
- Third Party Extension Support
- ↳ Marketing Your Products
- ↳ Animation Engine
- ↳ chartsEngine
- ↳ MobGUI
- ↳ lcTaskList
- ↳ SQL Yoga
- ↳ MergEXT
- ↳ Data Grid Helper
- ↳ idea2app and Coding School
- ↳ Admin Archive
- LiveCode Hosting
- Forum Archives
- ↳ Archived: Third Party Extension Support
- ↳ rTree
- ↳ rGrid
- ↳ Data Tree
- ↳ Archived: LiveCode Open Source
- ↳ LiveCode Global Jam
- ↳ Testing Support
- ↳ Archived: Academic Endeavors
- ↳ September Academy
- ↳ Summer School 2013
- ↳ Archived: Project Specific
- ↳ Business and Kiosks
- ↳ Digital Art and Portfolios