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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T13:55:58+00:00 2026-05-27T13:55:58+00:00

I have 2 entries 1. category (main one) 2. info the relationship is 1

  • 0

I have 2 entries
1. category (main one)
2. info

the relationship is 1 to many , for every category there is several info’s

after i added the several info classes to each categoty
i want to get each category relationship list in the detailsviewcontroller

I created a temp class in the details view the contain the selected category
how do i get access to the list of INFO’S ??

  • 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-27T13:55:59+00:00Added an answer on May 27, 2026 at 1:55 pm

    Without seeing your code or model classes, I can’t give you the exact answer. But when you made your model, you probably named your relationship something like “infosForCategory”. When you generated the model it made a NSMutableSet for that 1-to-many relationship. In that case, you can access the list of infos with:

    NSMutableSet *myInfos = myCategory.infosForCategory;
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have some codes like this: cats = Category.objects.filter(is_featured=True) for cat in cats: entries
I have a database in MySQL which have entries of time. There are more
I have an application that contains two Activities with <intent-filter> <action android:name=android.intent.action.MAIN/> <category android:name=android.intent.category.LAUNCHER/>
On my site I got entries which have category. Site have only 5 categories,
Assume I have a table with the following entries: ID VALUE CATEGORY ----------------------- 1
I have two classes : Expenditure and Category. An Expenditure can have multiple Categories.
I have a csv file that contains XML entries. Imagine that each XML entry
I have a big rhyme database with 360000 words (entries). Every word has a
I have an app that will have entries of both varchar(max) and varbinary(max) data
I have imported our SVN repository into Mercurial and now we have entries for

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.