Welcome, Guest
Username Password: Remember me

Grouped section for each entity added
(1 viewing) (1) Guest

TOPIC: Grouped section for each entity added

Grouped section for each entity added 1 year, 8 months ago #1

Hi!

I was wondering how to go about making a grouped table view section for each entity that i add? I'm using SCArrayOfObjectsSection but can't seem to figure this out. Also is it possible to add a custom row to a section that is not bound to a property from the added entity (ex.: a summary row)?


Thanks!
  • codebonbon
  • OFFLINE
  • Expert Boarder
  • Posts: 149
  • Karma: 8

Re: Grouped section for each entity added 1 year, 8 months ago #2

You mean you want a new section for each entity you have in your Core Data model, or do you need a new section created whenever you add a new object of type entity at runtime?
  • tarekskr
  • OFFLINE
  • Administrator
  • Posts: 2404
  • Karma: 72

Re: Grouped section for each entity added 1 year, 8 months ago #3

Hi again!

Sorry for the confusion. I need a new section created whenever i add a new object of type entity at runtime.

Thanks!
  • codebonbon
  • OFFLINE
  • Expert Boarder
  • Posts: 149
  • Karma: 8

Re: Grouped section for each entity added 1 year, 8 months ago #4

I think you have the same request as jsaarinen: www.sensiblecocoa.com/forum/general-disc...it=6&start=6#246

This will definitely get a high priority amongst our requested features.
  • tarekskr
  • OFFLINE
  • Administrator
  • Posts: 2404
  • Karma: 72

Re: Grouped section for each entity added 1 year, 8 months ago #5

Hmm...

I used to achieve this using a mix of UITableViewDelegate/UITableViewDatasource methods an NSFecthRequest/NSFecthresultsController. How would i achieve this without breaking too much the "sensible coding style" i'm falling in love with?

Thanks!
  • codebonbon
  • OFFLINE
  • Expert Boarder
  • Posts: 149
  • Karma: 8

Re: Grouped section for each entity added 1 year, 8 months ago #6

Hi Harold:

When is your latest deadline for this? We can try to give you something before that
  • tarekskr
  • OFFLINE
  • Administrator
  • Posts: 2404
  • Karma: 72
Time to create page: 0.89 seconds