Last active
December 26, 2015 06:19
-
-
Save johncblandii/7106916 to your computer and use it in GitHub Desktop.
This shows how to use Preferences.m/h.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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