Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 4. Storing data in collections > Making the Rental Manager application ...

4.4. Making the Rental Manager application data driven

One outstanding problem with the Rental Manager application is that the mapping of city names to geographical locations is hardcoded, when what you ideally want is for it to be data driven and easily updateable without the need to recompile the entire application.

These concepts nicely match the functionality provided by an NSDictionary object (with the key being the city name and the value being its matching location type) that obtains its initial contents from a plist file.


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint