Welcome, Guest
Username Password: Remember me

allowMovingItems - How to use?
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: allowMovingItems - How to use?

allowMovingItems - How to use? 1 year, 4 months ago #1

New user getting my feet wet.

Do you have any samples of how to use the 'allowMovingItems' property of, say, SCArrayOfItemsModel, or SCArrayOfItemsSection?

Specifically, when the items in the 'section' are reorganized, that change needs to be recorded in the underlying data model. (specifically, for me, core data)

Is it possible (perhaps v3.0? ) to have STV support a special ordering field in the core data model, where STV automatically maintains for ordering purposes? So you could set a core data integer field as the 'ordering' property for a section, and STV would change those integer field to reflect the revised ordering as needed.

(I'm still new to all this, and new to IOS in genral, so perhaps there's already a preferred method to do this)

Thanks for you great product.

Re: allowMovingItems - How to use? 1 year, 4 months ago #2

Welcome to the forum Seth!

Actually our STV 2.0 release will support Core Data reordering by having the user provide a reordering field. Expect the new release within a weeks time. I'll keep you posted.
  • tarekskr
  • OFFLINE
  • Administrator
  • Posts: 2404
  • Karma: 72
  • Page:
  • 1
Time to create page: 0.67 seconds