Re: Date pickers
Re: Date pickers
- Subject: Re: Date pickers
- From: Deivy Petrescu <email@hidden>
- Date: Tue, 09 Mar 2010 19:07:28 -0500
On 09/03/2010, at 18:44 , Shane Stanley wrote:
> On 10/3/10 10:32 AM, "Deivy Petrescu" <email@hidden> wrote:
>
>> How do you use that.
>> I can not make it work.
>
> Assuming you have an NSDate, presumably it's something like:
>
> set newNSDate to oldNSDate's dateByAddingTimeInterval(24 * 60 * 60)
>>
>> Also, there is another method:
>>
>> - (id)initWithTimeInterval:(NSTimeInterval)seconds sinceDate:(NSDate *)refDate
>>
>> Can you use this with ASOC? How?
>
> Probably:
>
> set newNSDate to current application's NSDate's alloc()'s
> initWithTimeInterval_sinceDate_(24 * 60 *60, oldNSDate)
>
>
First my apologies, I can look, but I do not always see....
I didn't see your full answer.
Apparently you are right in the use, but it does not work.
I did not know how to use functions with two parameters.
You just clarified that. Thanks!
Deivy Petrescu
email@hidden
_______________________________________________
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