New sample: AppPrefs
https://developer.apple.com/library/ios/samplecode/AppPrefs/Introduction/Intro.html
Update sample with last snapshot