• 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: Date pickers
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Date pickers


  • Subject: Re: Date pickers
  • From: Christopher Nebel <email@hidden>
  • Date: Tue, 2 Mar 2010 13:32:56 -0800

On Feb 26, 2010, at 8:19 PM, John C. Welch wrote:

>>>>>> So, is GC supported or not?
>>>>>
>>>>> If you start an ASObjC project from scratch, the template has garbage
>>>>> collection Required. I take that as a yes.
>>>>
>>>> Where do you see that?
>>>
>>> In my notes from the AppleScriptObjC presentation at the 2009 WWDC?
>>
>> Unfortunately John,
>> Those are ***your notes***.
>> Not very useful to me.
>
> If you're looking for some incantation to use GC, the way it was explained
> was, as long as it's an AppleScriptObjC project, it's just there. If you
> start delving out into ObJC code mixed in, results may differ, but really,
> it's one line of notes that say: "GC automatically handled, high-level
> languages FTW! W00T!"

Strictly speaking, AppleScriptObjC does allow using it without GC, but you then have to add all the retain() and release() calls you'd need for manually-managed memory in ObjC.  However, there's almost no need to do this [1], so we recommend just turning on GC and forgetting about it.


--Chris Nebel
AppleScript Engineering

[1]  It's basically a special case for 32-bit Automator actions, which, because the host application is non-GC, must also be non-GC.  If you're writing a stand-alone application, you don't need to worry about it. _______________________________________________
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: Process all files in directory
  • Next by Date: Illustrator classes in xCode
  • Previous by thread: Re: Process all files in directory
  • Next by thread: Re: Date pickers
  • Index(es):
    • Date
    • Thread