O'Reilly logo

Learning Core Data for iOS: A Hands-On Guide to Building Core Data Applications by Tim Roadley

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required