On Sun, Oct 11, 2009 at 2:57 PM, Ben Haller <bhcocoa...@sticksoftware.com> wrote: > On 11-Oct-09, at 5:28 PM, Clark Cox wrote: > >> On Sun, Oct 11, 2009 at 1:55 PM, Ben Haller >> <bhcocoa...@sticksoftware.com> wrote: >>> >>> Well, I imagine I'm going to need to use *something* GC-specific -- >>> strong/weak declarations, >> >> Not likely. >> >>> finalize methods, whatever. >> >> Implementing finalize methods are actually quite rare; and even if you >> do implement them, that won't prevent building for/running on 10.4. > > I see that -finalize was available on 10.4 even though GC didn't arrive > until 10.5, so I would be able to call [super finalize]. I guess Apple was > planning ahead. :->
Even if it wasn't, calling [super finalize] from your -finalize wouldn't be an issue because your -finalize would never be called in the first place if you weren't running under GC. :) -- Clark S. Cox III clarkc...@gmail.com _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com