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 7884035
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T04:41:32+00:00 2026-06-03T04:41:32+00:00

I need to reset by database and userdefaults value in my OS X app.

  • 0

I need to reset by database and userdefaults value in my OS X app. How can I do it? In IOS app we have an option like ‘Reset contents and settings‘. But I don’t see such an option when I run OS X app. What I’m doing right now is, drill down to /users/library and delete the .storedata file under my project folder. But with this method I am not able to reset my userdefaults value. Is there any other way out? I am new to OS X programing.

Thanks in advance!

  • 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-06-03T04:41:33+00:00Added an answer on June 3, 2026 at 4:41 am

    You will need to manually nil the values of your NSUserDefaults and delete the database al-together and then recreate it. Best option would be to include an empty database and copy it over to the Library folder (or wherever you access it) if it does not exist.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to reset a database in Django, using: python manage.py reset app but
I have an app on Heroku and need to clean up the database there,
I need to reset a MySQL Field value automatically at midnight. It is a
I have an SQLite database from which I need to delete records periodically. What
Hi i need to be able to reset a HiddenField's value if my AutoCompleteExtender
I have a rails app where I need to add authentication. The problem is
I need to recover/reset the admin password for JetBrain's TeamCity . I have full
I'm writing unit-tests for an app that uses a database, and I'd like to
I've got a SQL Anywhere 9 database, and I would like to reset the
I have some calculated values in the core data database that I need to

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.