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 6686067
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T05:07:45+00:00 2026-05-26T05:07:45+00:00

Really weird problem. I have a tableView that pulls data out of a Core

  • 0

Really weird problem.

I have a tableView that pulls data out of a Core Data database and orders it by date. Everything’s working fine, but I want to be able to rearrange the order of the tableView and make it persist. I read a number of threads here about it, so I tried “swapping” the date attributes of the managedObject at fromIndexPath and the managedObject at toIndexPath.

Then it got weird. It worked the first couple of times. Then it kind of got out of order. Then the table started to show up strangely. Entries would duplicate and appear and disappear. When I exited edit mode, half the items would still be in edit mode, and when it tried to delete those, the app crashed (sent delete to a nil object). I tried it again using NSNumber instead of NSDate and the same thing happened.

I’m just learning how to use Core Data so I’d love to know what is causing this really weird behaviour, if anyone could venture a guess. Why wouldn’t something as simple as changing attributes just work? Could it have something to do with the tableView having cached data? (When I told the tableView to reloadData after every swap, it just wouldn’t swap at all!)

A solution to the problem would also be awesome, but I’m sure it’s out there, I just have to do more googling when I get the time.

  • 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-26T05:07:46+00:00Added an answer on May 26, 2026 at 5:07 am

    This is an iOS 5 bug that’s been fixed.

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

Sidebar

Related Questions

This is a really weird problem that I have been having. When I download
ive got a really weird problem. i have no clue why its not working.
I have a really weird issue that I can't figure out with comparing objects
This is the second time that I have this really weird problem with WCF
I have a really weird problem with /bin/bash and a script that uses printf
I'm battling a really weird problem here. I have a Windows 2008 R2 server
IDE = VS7 or 2002 Hi all, I have a really weird problem here.
I have a very weird problem.. I really do hope someone has an answer
it's a really weird thing - i have a website that works perfectly in
This is a really weird problem: I have set up the authlogic_openid_selector_example app .

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.