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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T21:31:12+00:00 2026-05-23T21:31:12+00:00

This is mainly an advice question, so any pointers are much appreciated. I have

  • 0

This is mainly an advice question, so any pointers are much appreciated.

I have a text file that I would like to draw on when filling UITableViews. I just don’t know when I should actually read the file, or even how. Do I use NSFileManager, or NSFileWrapper, or should I roll my own? Will a Object Placeholder be needed in the Nib file?

The idea is to create an “inventory” system that utilizes a navigation-tableView-tabBar combo.

I’ve tried to figure out something, but after starting and restarting, I realized I should ask for help.

Specs include Xcode4, some basic understanding, and about 13 different trashed projects.

  • 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-23T21:31:13+00:00Added an answer on May 23, 2026 at 9:31 pm

    When and how you read the file will depend largely on the file size. If it is a fairly small file, then you can read it synchronously on -(void)viewDidLoad. If it is larger, then you will need to read it asynchronously and display an activity indicator until the read is finished. Here is a simple method for reading a text file into an NSString:

    - (NSString *) getTextFromFile:(NSString *)filePath {
       return [NSString stringWithContentsOfFile:filePath usedEncoding:nil error:nil];
    }
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This question is mainly to verify my current idea. I have a series of
Hey guys, hope this isn't too much of a n00b question I'm mainly a
I have a python program that does something like this: Read a row from
Why doesn’t Objective-C have namespaces? It seems like a simple feature that would make
This question and my answer below are mainly in response to an area of
Looking for some practical advice here and any experiences people have had in a
I have current PHP codebase written in procedural (mainly) style that our client is
This question is mainly geared towards Zend in PHP, although it certainly applies to
I have seen this mainly in the source of Facebook Bootloader.setResourceMap
When you say thin data access layer, does this mainly mean you are talking

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.