Reading preferences in your application


show more Reading preferences in your application provides you with in-depth training on Developer. Taught by Bill Weinman as part of the iOS SDK and SQLite: Building Data-Driven Apps (2013) show less
please wait ...

Reading preferences in your application

Now, we have a working settings bundle. We need to be able to read the values in our code. In this movie we'll look at how that is done. We'll go ahead and open the BWRSS-preferences that I created in the last movie. I'm going to open that in Xcode by double-clicking on the .xcode project file. So, this is the version that has these preferences Root.plist in it. I'm going to come up here into RSSDB and open the RSSDB.m.

So, this is our data base routines, and I just closed the Utilities panel because we don't need that, it's taking up space here. If we look down here at the deleteOldItems, we'll see rather along SQL Query it takes up two strings. Two strings right next to each other in C or C++ or in Objective-C concatenates these two strings together. Objective-C has borrowed this even with its NSString literals. So, this is really all one string delete from blah, blah, blah, all the way up to this closing quote here.

Now, what we have here is a subquery. Everything in ...

Reading preferences in your application
Video duration: 5m 20s 3h 45m Intermediate

Viewers:

Reading preferences in your application provides you with in-depth training on Developer. Taught by Bill Weinman as part of the iOS SDK and SQLite: Building Data-Driven Apps (2013)

Subject:
Developer
Software:
iOS
Author:
please wait ...