• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Now I'm <really> confused!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Now I'm <really> confused!


  • Subject: Re: Now I'm <really> confused!
  • From: Shane Stanley <email@hidden>
  • Date: Mon, 22 Sep 2014 10:00:57 +1000

On 22 Sep 2014, at 8:23 am, Brian Christmas <email@hidden> wrote:

I've started working on a code signed version of one of my current apps, but I've found that my NSDates compare_ routines have stopped working.

"routines" don't just stop working. (It helps everyone if you use the correct terminology: they're "methods".)

I've double checked, and the code appears fine, but it's returning a value of 1 with every comparison.

You've only shown us one comparison, and it's working fine.

I tried removing the 'entitlements' document, 

Entitlements are unrelated to codesigning, and also cannot change basic behavior like this.

Also, does anyone know if signing an App causes this sort of misbehaviour?

It can't. But then, you're no showing an example of any misbehavior -- the code you've posted works as expected. 

You're getting a value of 1, which is NSOrderedDescending. The docs say it means: "The left operand is greater than the right operand." Your left operand is September 30, and your right operand is September 21, so NSOrderedDescending is correct.

-- 
Shane Stanley <email@hidden>
<www.macosxautomation.com/applescript/apps/>

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
applescriptobjc-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: Please, I'm after help with some buttons.
  • Next by Date: Requesting assistance with nomenclature
  • Previous by thread: Re: Please, I'm after help with some buttons.
  • Next by thread: Requesting assistance with nomenclature
  • Index(es):
    • Date
    • Thread