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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T20:59:20+00:00 2026-06-06T20:59:20+00:00

Am not well familiar in Coredata storage. I want to save multiple data for

  • 0

Am not well familiar in Coredata storage. I want to save multiple data for a single person and retrieve the data of a selected person. Like wise i have store values in coredata table like below,

ID     Name    Date                 Report                  Status
1      Gopi    31 June 01.90pm      ABCD                    Y
2      Robot   27 June 2 am         hdfsdfk                 N
1      Gopi    31 June 02.00pm      fsdjk                   N
2      Robot   29 June 3am          eyrwruo                 Y
1      Gopi    1 July 3pm           rweyskd                 Y
1      Gopi    2 July 2pm           ABCD                    N
2      Robot   1 July 2.40pm        eirwierundfs            Y
3      John    2 July 10am          fewyrhhskd              Y
3      John    3 July 11am          sdkfksjfnvmnfks         N

In my first view controller i want to show the details like this in tableview,

Gopi            2 July 2pm     >
ABCD            Y 
Robot           1 July 2.40pm  >
eirwierundfs    Y
John            3 July 11am    >
sdkfksjfnvmnfks Y

When the user selects Gopi, It will navigate to another view controller with table view and they can view all records of named Gopi. And also i want to delete the selected user details from the entitiy. Can anyone please help me to get a unique user details from Coredata?

I have stored the values in coredata entity and retrieved all the rows from the entity. But, now am struggling to get a unique values of selected person data from the entity. Could you please help me? 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-06T20:59:22+00:00Added an answer on June 6, 2026 at 8:59 pm

    While fetching record from core data add these two lines

    NSPredicate *predicate = [NSPredicate predicateWithFormat:@"Name==%@",str];
     //  Give your attribute name instead of "name"
     //  In str give the name "gopi" (for your case)  or whatever you want    
    
    [fetchRequest setPredicate:predicate];
    //set predicate to your fetch request
    

    Then execute fetch request

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

Sidebar

Related Questions

http://www.programmersheaven.com/2/FAQ-ADONET Disconnected architecture is not well suited for desktop clients with multiple updates but
I'm being handed some data which is not well defined and subject to change
Well, that might be a strange question, and maybe just because I'm not familiar
I'm familiar with Core Data basics and have done some dabbling, but have not
I'm not well familiar with JS, as I mostly develop desktop applications. But I
Well I am not familiar with threads in java, so I am dealing with
I am not as familiar with Oracle as I would like to be. I
I'm parsing a (not well formed) Apple Plist File with java. My Code looks
My question is probably not well phrased and it's probably a dupe but here
Suppose i have the code snippet as follows : ( clarification purpose/not well formed

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.