iOS Development: Can I store an array of integers in a Core Data object without creating a new table to represent the array?

Posted by BeachRunnerJoe on Stack Overflow See other posts from Stack Overflow or by BeachRunnerJoe
Published on 2010-12-27T21:42:56Z Indexed on 2010/12/27 22:54 UTC
Read the original article Hit count: 149

Filed under:
|
|
|

Hello. I'm using Core Data and I'm trying to figure out the simplest way to store an array of integers in one of my Core Data entities. Currently, my entities contain various arrays of objects that are more complex than a single number, so it makes sense to represent those arrays as tables in my DB and attach them using relationships. If I want to store a simple array of integers, do I need to create a new table with a single column and attach it using a one-to-many relationship? Or is there a more simple way?

Thanks in advance for your wisdom!

© Stack Overflow or respective owner

Related posts about iphone

Related posts about ipad