Discoverability
Making the ribbon interaction discoverable presents a particular challenge in this recipe. Users might not immediately make the connection between a hanging red shape and a control they can manipulate.
Developer Matthijs Hollemans suggested a simple approach to address this challenge. Until the user interacts with the ribbon, it wiggles slightly a few times, separated by several seconds between each wiggle. The wiggle draws attention to the nature of the control, and the wiggles stop as soon as the user has correctly worked through the control style. A system preference can override this behavior for repeat application uses:
- (void)wiggle { if (wiggleCount++ > 3) return; // Wiggle slightly ...
Get The Core iOS Developer’s Cookbook, Fifth Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.