Summary
In this chapter, you created a custom subclass of the UIStackView
class that displays a journal entry rating in the form of stars, and you modified this subclass so users can set a rating for a journal entry by tapping it. After that, you added it to the Add New Journal Entry screen. Finally, you implemented it on the Journal Entry Detail screen.
You now know how to create custom views for your own apps.
In the next chapter, you’ll learn how to work with photos from the camera or photo library.
Learn more on Discord
To join the Discord community for this book – where you can share feedback, ask questions to the author, and learn about new releases – follow the QR code below: