Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
plists and modal views Each dictionary has all the information we need Right now we're just pulling the name of each drink into the app using the name key. In order to populate the ingredients and directions, we need to use the other keys. We could just type those right into our code, but we're better developers than that, so we'll pull them up into constants. The only thing left is getting the proper dictionary to the detail view controller so it can pull the information it needs. Go ahead and start setting everything up! The view controller needs direct access to the datasource, and the easiest way to get to that data is going to mean some quick code refactoring. 1 Organize your dictionary constants to avoid bugs