Summary

In this chapter, you created a new custom control class, ratings view, from scratch and added it to the Restaurant Detail screen. You also added it to the Review Form screen. You configured it to respond to touches so that a user can use it to set a rating. Finally, you implemented ReviewFormViewController, a view controller for the Review Form screen, and configured the Cancel and Done button actions so that the user can dismiss the Review Form screen or submit a review. The submitted review is just printed to the Debug area at the moment, but you'll learn how to save it in a later chapter.

You now have a good grasp of how to create custom UIControl objects, which you can use for your own apps. You also know how to implement a review form that can accept user input for your own apps.

In the next chapter, you'll learn how to work with photos from the camera or Photo Library, as well as how to apply photo filters to the photos that you have.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.144.193.129