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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T15:11:11+00:00 2026-05-20T15:11:11+00:00

I need to show some data in a textview coming from coredata (like this

  • 0

I need to show some data in a textview coming from coredata (like this for example),
what I need to show in textView

I imagine a possible solution (dont know if is the right one or how to do it, please advice),
so bring the data from coredata to a string, appending all the data neeeded in the string with the equivalent of “\n” for new line where needed; then show the data in the text view,
(please refer to example image to know what is needed)

  • so how to bring the data from coredata to this textView with this formatting?
  • please note I only want to know if this is a proper way to do it (imagined solution? or if there is a more proper way?)

Thanks a lot!!

  • 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-20T15:11:12+00:00Added an answer on May 20, 2026 at 3:11 pm

    I tackled an identical issue in one of my apps.

    The approach I took was to first structure my core data model so that the pieces of data had enough granularity so that I could construct different views as required. In other words, instead of one property for “name”, I have three properties. One for “first name”, one for “middle name”, and a third for “last name”. I also created a separate “data layer” object so that I could easily get to pieces of my data from anywhere in the app.

    Next, to construct my view that shows data in a sort of form view. Using Interface Builder, I simply laid out a view using primarily UILabel view objects as placeholders. Then, as the user switches between person views, I call on the data layer object for pieces of data and just “fill in” in the UILabel placeholders.

    I also render a PDF file in paragraph form. Similar to what you are doing. For that, I use an NSMutableString along with the NSString stringWithFormat convenience method. Using NSMutableString, you can concatenate strings with newline characters embedded as needed. For this, I also call on my data layer object for the pieces of data.

    [[NSString stringWithFormat:@"Date of Visit: %@", dateOfVisitString]   drawInRect:stringRect withFont:theFont];
    

    Hope this helps. Good Luck.

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

Sidebar

Related Questions

In our application, we have some forms which need to show some data specifically
I've got problem. I'm using windows.forms ListView to show some data and I need
I need to show some information in a graph, the data is held in
I basically need to show a wait window to the user. For this i
I like to have a popup modal dialog that need to show the list
i tried several ajax/js frameworks and data grids to show some mysql data, but
I have a hits table with millions of records. I need to show some
I am using slideToggle to show some data in a div. Here's my code:
I have a table which takes show some data in its cells, which comes
I need to show a screen or something, saying 'Loading' or whatever while long

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.