Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 202637
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T17:18:27+00:00 2026-05-11T17:18:27+00:00

I followed the Core Data tutorial at http://macresearch.org/cocoa-scientists-part-xxiii-itunes-ifying-core-data-app The finished application displays data in

  • 0

I followed the Core Data tutorial at

http://macresearch.org/cocoa-scientists-part-xxiii-itunes-ifying-core-data-app

The finished application displays data in an NSTableView. Is the ordering of the data persistent as well? And is there a way that you can allow drag and drop rearrangements to the order of the records? I am thinking about something that resembles how iTunes allows you to rearrange songs in a playlist with drag and drop.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-11T17:18:27+00:00Added an answer on May 11, 2026 at 5:18 pm

    Core Data expects you to define your own sorting with NSSortDescriptors, so you’ll have to add your own attribute to track a user-customizable ordering index like that. I’ve had luck using KVO on the entity’s relationship keypath (from within the managed object itself) to change the ordering as needed when new relationship objects are added or removed.

    To handle rearrangement, you’ll want to take advantage of NSTableView’s drag and drop methods and reset the order index attribute as needed. The NSTableView documentation should explain it pretty well.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

When we first added Core Data to our app, the tutorial we followed created
This is my first project with Core Data, I followed the Event tutorial provided
I've followed the tutorial here: http://book.cakephp.org/view/1286/Sending-a-basic-message , which I have successfully used before with
I have a Core Data-based iPhone app with a pre-populated read-only database. What protection
I have started creating an app which uses a core data stack at the
I started with core-plot now and came to some problems. I followed the tutorial
I am fairly new at core data and am having a problem. My app
Hi I have followed the setup guide at: http://myfaces.apache.org/trinidad/installation.html When I include the following
I was doing the Apple Core Data Tutorial , and on the first occasion
I followed the tutorial at: http://krams915.blogspot.com/2011/01/spring-ws-2-ws-security-using-wss4j.html but i get an exception: 14/08/2011 17:56:42 org.apache.catalina.core.StandardContext

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.