Re: Now I'm <really> confused!
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.
|
_______________________________________________
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