Welcome, Guest
Username Password: Remember me

Sensible Table Views and Core Data
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: Sensible Table Views and Core Data

Sensible Table Views and Core Data 1 year, 10 months ago #1

can somebody say anything about sensible table views in cooperation with coredata?

in normal tableviews "NSFetchedResultsController" is a great way to handle coredata and tableviews. also if coredata is changed, the tableview gets updated automatically and so on.

is there a way to simply combine this? sensible table views and coreData?
  • choise
  • OFFLINE
  • Fresh Boarder
  • Posts: 3
  • Karma: 0

Re: Sensible Table Views and Core Data 1 year, 10 months ago #2

Core Data integration is one of the top requested features by our customers, and will be available in our next minor 1.1 Sensible TableView release (due roughly in a couple of months).

The way this will be handled is via an SCTableViewModel subclass that will take an NSFetchedResultsController and a class definition (same as in intro video) of the managed object.

Also, version 1.1 is expected to have SQLite features similar to object-binding, where Sensible TableView will automatically generate its cells from the associated database tables.

Hope this helps.
  • tarekskr
  • OFFLINE
  • Administrator
  • Posts: 2402
  • Karma: 72
Last Edit: 1 year, 9 months ago by tarekskr.

Re: Sensible Table Views and Core Data 1 year, 9 months ago #3

When I add or edit data in my table, it is reflected by a change in my array. How should I go about updating my sqlite database as well for the time being? I already have the methods, I just need to find a trigger to call them.
Thanks
  • baberuth22
  • OFFLINE
  • Expert Boarder
  • Posts: 84
  • Karma: 2

Re: Sensible Table Views and Core Data 1 year, 9 months ago #4

We'll be posting a new video in a couple of days (with our new Sensible TableView release) that describes exactly how to do that using Core Data. The good news is that is will take you less than one page of code We'll keep you posted.
  • tarekskr
  • OFFLINE
  • Administrator
  • Posts: 2402
  • Karma: 72

Re: Sensible Table Views and Core Data 1 year, 9 months ago #5

Core Data integration now released! Please check release announcement.
  • tarekskr
  • OFFLINE
  • Administrator
  • Posts: 2402
  • Karma: 72
  • Page:
  • 1
Time to create page: 1.46 seconds