Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6727597
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T10:04:05+00:00 2026-05-26T10:04:05+00:00

I am looking for a way to store data about a user in iOS

  • 0

I am looking for a way to store data about a user in iOS 4 that is similar to SharedPreferences in Android. Android’s SharedPreferences basically stores key value pairs for an application and only that application can access it.
http://developer.android.com/reference/android/content/SharedPreferences.html

Does iOS 4 have something built in that can accomplish what SharedPreferences does in Android?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T10:04:06+00:00Added an answer on May 26, 2026 at 10:04 am

    NSUserDefaults is your choice.

    http://developer.apple.com/library/mac/#documentation/Cocoa/Reference/Foundation/Classes/NSUserDefaults_Class/Reference/Reference.html

    Typically you’d like to:

    • use standard user defaults ([NSUserDefaults standardUserDefaults])
    • store preferences using -set*:ForKey: (* being int, double, bool, dictionary, object…)
    • retrieve them using -*ForKey:
    • -synchronize when needed
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am looking for a optimal way to store info about which users already
I am looking at building an application that stores data locally using openDatabase. I
I'm building an application that stores lots of data per user (possibly in gigabytes).
I'm looking for a NoSQL-way to store machinedata like information about tools, work pieces,
I'm looking for a good way to visualize ASP.NET session state data stored in
I am looking for a way to store references to variables inside a NSMutableArray.
I am looking for a neat/clean way to store a list of strings into
I'm in the process of creating a class that stores metadata about a particular
I'm looking for a good way to maintain permissions on who can add data
I'm looking for a best practise way to handle incoming time series data. One

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.