Abstract
In Chapter 2, you learned that when building WatchKit user interfaces, you have to know at design time which user interface objects you need and you must include them all in the storyboard. In some cases, this just isn’t possible. Suppose, for example, that you wanted to display the results of a database query in rows, with one row (and hence one group of user interface objects) for each query result. In general, you can’t know in advance how many query results there will be. You could try to work around this by adding a fixed number of groups to the storyboard and then, at run time, hiding any that you find you don’t need. You might be able to make that approach work in some cases, but it’s wasteful of scarce resources on the watch and doesn’t really work if you need to display different query results in different ways.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2015 Kim Topley
About this chapter
Cite this chapter
Topley, K. (2015). Tables and Menus. In: Learn WatchKit for iOS. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-1025-3_6
Download citation
DOI: https://doi.org/10.1007/978-1-4842-1025-3_6
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-1026-0
Online ISBN: 978-1-4842-1025-3
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)