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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T20:32:27+00:00 2026-05-24T20:32:27+00:00

So this is by far the weirdest crash I have seen yet. This is

  • 0

So this is by far the weirdest crash I have seen yet. This is the crash:
Code:

2011-08-21 21:04:39.321 App[548:707] -[__NSDate isEqualToString:]: unrecognized selector sent to instance 0x1227d0
2011-08-21 21:04:39.332 App[548:707] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSDate isEqualToString:]: unrecognized selector sent to instance 0x1227d0'

This crash happens when I go from one view to another. The weird thing is I do a search in my view controller I am going to for ‘isEqualToString’ and nothing comes up, which is crazy . So then I do a search for NSDate and the only thing that comes up is this:
Code:

if(sortbar.selectedSegmentIndex == 0){
        NSComparator sortByDate = ^(id dict1, id dict2) {
            NSDate* n1 = [dict1 objectForKey:@"Date"];
            NSDate* n2 = [dict2 objectForKey:@"Date"];
            return (NSComparisonResult)[n1 compare:n2];
        };
        [self.cellArray sortUsingComparator:sortByDate];
    }

I doubt that code is causing the crash but I really need help with this one.

Thanks!

  • 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-24T20:32:29+00:00Added an answer on May 24, 2026 at 8:32 pm

    It sounds like your dictionary is returning a string instead of an NSDate.

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

Sidebar

Related Questions

This is by far the weirdest problem I've been stuck with. I have a
Okay, this is by far the weirdest bug I have ever encountered. It's pretty
I have this so far but the Column 'name' is ambiguous, so I want
I have this so far but I don't know how to write over the
I have this so far: http://jsfiddle.net/u5vhS/54/ . What I want to be able to
I have been using this so far system 'strings binary-file.dmp | grep search_string' Is
Another thanks to SLaks for helping me get the code this far. I'm not
im learning wpf for the first time, i have made this far private void
How do I use named captures when performing Regex.Replace? I have gotten this far
By far the weirdest thing I've ever seen. On some machines (!) IE (!!)

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.