Configuring the Scroll View and Text Fields

At first, the focus will be on the UITextField objects used to edit the name and quantity values. In the next chapter, custom UITextField objects with the ability to present a UIPickerView will be added. Those special UITextField objects will be used to select an item’s unit.name, locationAtHome.storedIn, and locationAtShop.aisle from a picker. The target layout of the Item view for this chapter is shown in Figure 6.3. All of the fields shown will be contained within a Scroll View to allow scrolling up and down within the view. The buttons will lead to other views used to add and edit units, home locations, and shop locations.

Figure 6.3 The target Item View Controller

The easiest way to create properties ...

Get Learning Core Data for iOS: A Hands-On Guide to Building Core Data Applications 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.