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

  • Home
  • SEARCH
  • 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 1030771
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T12:45:11+00:00 2026-05-16T12:45:11+00:00

The iphone app I am creating has an array of commonly used settings. These

  • 0

The iphone app I am creating has an array of commonly used settings. These settings will likely be changed frequently by the user and are pretty small, so I am using archiving to store a small array of objects. My top level view is a series of buttons (for UI design reasons) and not a tableview. These settings are used within one subview, and the user is permitted to change these settings in yet another subview. Right now, I am opening the archive file within each view that needs the settings (reading and/or writing). Should I be reading the settings archive once in the main app delegate, loading the data into a global array or is there some other approach I should be considering? My current approach is fast as the archive is small, but am doing way more reads than is necessary (read once to load labels on the buttons, again when in the view, and again to read/write on the view where the user can change their settings).

Thanks in advance for your guidance.

  • 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-16T12:45:12+00:00Added an answer on May 16, 2026 at 12:45 pm

    You could create a singleton object class to encapsulate, manage access, and potentially cache all these settings in memory for performance. It would be the Model/M in the Cocoa MVC paradigm.

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

Sidebar

Related Questions

I'm creating an iPhone app that will pull data down from a Web API,
I have an iphone app where I call these three functions in appDidFinishLaunching: glMatrixMode(GL_PROJECTION);
In an iPhone app I'm working on, the user needs to enter some configuration
I am new to the iphone platform and am creating an app that retrievals
I am creating a simple FeedReader iPhone app where a RSS is feed is
I'm interested in creating an iPhone app that can stream video from a central
In my iPhone app I have a UIViewController that has a UITableView and another
I'm thinking about creating a location-aware iPhone app that could work offline by coming
My fellow developer and I are creating an iPhone app that is creating a
I am creating an iPhone app in which I am providing a call feature

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.