Application Settings and User Defaults. Chapter 12 of the iOS5 Beginner's Book.