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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T19:03:28+00:00 2026-06-07T19:03:28+00:00

Should I read/write data directly from/to a plist file in the view controller or

  • 0

Should I read/write data directly from/to a plist file in the view controller or is it better to define a class for the model and then use its methods to read/write data?

Thanks

  • 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-07T19:03:29+00:00Added an answer on June 7, 2026 at 7:03 pm

    It depends what you’re doing. If you are doing extensive work with the .plist file, then it’s probably better to write a class to handle all of the different things you’re doing to it. If you’re just taking one value out one time or something similar then you could write a class, but it’s not really a significant issue.

    You don’t want your view controller to end up doing a lot of the lifting in areas that don’t pertain directly to the view, so just think about how much code you’ll be adding. If you think there’s a chance you might want to do more things with the .plist file then go ahead and write a class for it.

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

Sidebar

Related Questions

How should a program read and write float numbers from and into binary files
The following line in my C program should provided All/Group/Owner read and write permissions
The following piece of code should read each line of the file and operate
From the MSDN Article I read I should be using the StringBuilder rather than
I have two application. One of those should write data to database, and another
I have implemented a read/write stream to read a buffer, manipulate the data(like adding
I need some methods of storing and getting data from a file (in WIN32
Question: Should I write my application to directly access a database Image Repository or
I have servlet deployed in JBoss. I want to read/write data into a text
The following code does not seem to read/write binary form correctly. It should read

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.