Book Image

LiveCode Mobile Development Beginner's Guide (2nd Edition)

Book Image

LiveCode Mobile Development Beginner's Guide (2nd Edition)

Overview of this book

Table of Contents (15 chapters)
LiveCode Mobile Development Beginner's Guide Second Edition
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Time for action – setting up the tab navigation


Before getting into the process of making the Browser card, we need to set up the items that are shared across all the cards in the app. The following steps will help you do this:

  1. We'll use MobGUI again to make life easier. Select revMobGUI by navigating to the Development | Plugins submenu. Also, open the Project Browser from the LiveCode Tools menu to observe the stack structure as it develops.

  2. Create a new Mainstack, set its name to WebScraper, and save it someplace.

  3. In these instructions, we'll use iPhone in portrait orientation, but feel free to use iPad or an Android size for the card. Either select iOS7 and 320x480 in the MobGUI window or your preferred options.

  4. As you did in the Time for action – using MobGUI to remember layouts for us section in Chapter 3, Building User Interfaces, use the MobGUI tools to add a Navbar and click on Snap to top of the card window, a Tab-bar with Snap to bottom of the card window, and Bg colors for both....