7. Picker Views

In the middle of difficulty lies opportunity.

Albert Einstein

In Chapter 6 you started building the Item view as the concept of passing managed objects around the application was demonstrated. The primary focus was to introduce text-fields as a means to edit managed objects. This chapter will explain how to create special text-fields that have a Core Data driven UIPickerView as the input view. The purpose of a picker text-field is to make selecting from pre-defined values such as a shop aisle as easy and fast as possible

Picker Views

Picker-views make it easy to set a managed object property value using a pre-defined list. The locationAtHome.storedIn, locationAtShop.aisle and unit.name properties are ideal candidates for setting ...

Get Learning Core Data for iOS: A Hands-On Guide to Building Core Data Applications now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.