开发者

Core Data grouping data in table

开发者 https://www.devze.com 2023-01-01 09:07 出处:网络
I am using core data trying to create a simple database app, I have an entity called \"Game\" which has a \"creator\". I have basically used the iPhone table view template and replaced the names. I ha

I am using core data trying to create a simple database app, I have an entity called "Game" which has a "creator". I have basically used the iPhone table view template and replaced the names. I have the games listed by creator. Currently the tableview looks like this...

Chris Ryder Chris Ryder Chris Ryder Chris Ryder Dan Grimaldi Dan Grimaldi Dan Grimaldi Scott Ricardo Tim Thermos Tim Thermos

I am trying to grou开发者_StackOverflow社区p the tableview, so that each creator has only one cell in the tableview and is listed once and only once like this...

Chris Ryder Dan Grimaldi Scott Ricardo Tim Thermos

any help or suggestions would be greatly appreciated.


It is not clear what you are asking. What is the goal of your data model? More information about whist you are trying to accomplish and where you are getting stuck will help you get better answers.

Update

You are going to need to use a relationship. Why are you trying to avoid that?

0

精彩评论

暂无评论...
验证码 换一张
取 消