Skip to content

Instantly share code, notes, and snippets.

@johncblandii
Last active December 26, 2015 06:19
Show Gist options
  • Save johncblandii/7106916 to your computer and use it in GitHub Desktop.
Save johncblandii/7106916 to your computer and use it in GitHub Desktop.
This shows how to use Preferences.m/h.
// Add this to the top of your class
#import "Preferences.h"
// Add this in your method to get the preference, where desired; the constant comes from Preferences.h
NSString *preference = [Preferences getUserPreference:PREFERENCE_NAME_HERE];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment