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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T07:37:29+00:00 2026-05-31T07:37:29+00:00

I am currently working on producing the data model for my application and it

  • 0

I am currently working on producing the data model for my application and it is extremely important I get it designed correctly before implementation can begin otherwise it will be a huge problem.

My situation is, I have an entity which is a Post. Each post has many Tags associated with it. Initially, I wanted to store an array of tags within each Post, but then I realised this would not be normalised and there would be repetitive data. As each post may have tags in common with each other.

This led to the creation of the Tag entity. My issue is how do I model the relationship? Many posts are associated with many tags. Each tag may be associated with one or more posts.

Any ideas? Do I need a mapping table, or does Core Data handle this? 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-05-31T07:37:31+00:00Added an answer on May 31, 2026 at 7:37 am

    Core Data supports many-to-many relationships so this shouldn’t be a problem as long as you define the model correctly. For instance:

    enter image description here
    enter image description here
    enter image description here

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

Sidebar

Related Questions

Currently working with NSURLConnection. Found a great website showing important delegate methods coming with
Am currently working on an application that requires users to submit posts and comments
Im currently working on a site that you can upload large files.. on local
Currently working on a Spring 2.5 web application, looks as if the business has
Currently working through a Teach Yourself WPF tutorial. Usually I can mentally convert from
I will try to get straight to the point. I am currently working with
I am working towards producing a small application that parses XML from a URL
Currently working on an ASP.NET MVC 3.0 application and using FormsAuthentication . When the
Currently working on a bespoke ecommerce application using Codeigniter. I have a products table
Currently working on a little Windows Phone (7.5) application and one of the pages

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.