Pro iOS Table Views and Collection Views by Tim Duckett

Pro iOS Table Views and Collection Views by Tim Duckett

Author:Tim Duckett
Language: eng
Format: epub
Publisher: Apress, Berkeley, CA


If you run the project again, you’ll see a working Search function complete with a Cancel function that dismisses the keyboard and reloads the table with the full data set (Figure 9-14).

Figure 9-14.The working search function

Happy, Healthy Tables

If the overall user experience of the iOS device family had to be boiled down to a single adjective, I’d go for “smooth.” Everything about the interface of well-written apps moves without hesitation, stuttering, or jerkiness. Get it right, and the overall impression is that of a precision, well-oiled device.

Table views have a lot of moving parts, so if that level of smoothness is going to go wrong anywhere, it could be here. Although the UITableView, UICollectionView and their supporting classes are designed and written for performance, it is possible to build table and collection views that don’t perform well, especially if you lose sight of some basic best practices.

In this section, we take a look at some things you can do—both quick fixes, and some more in-depth—to make sure that your views perform as well as they possibly can.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.