{"id":129,"date":"2005-05-10T00:57:39","date_gmt":"2005-05-09T23:57:39","guid":{"rendered":"\/?p=129"},"modified":"2025-02-01T03:04:17","modified_gmt":"2025-02-01T03:04:17","slug":"garbage-collection-in-cocoa","status":"publish","type":"post","link":"https:\/\/www.malcolmhardie.com\/weblogs\/angus\/2005\/05\/10\/garbage-collection-in-cocoa\/","title":{"rendered":"Garbage Collection in Cocoa"},"content":{"rendered":"<p>One of the interesting things that seems to be happening with Cocoa is the addition of garbage collection. A <a href=\"http:\/\/developer.apple.com\/documentation\/Cocoa\/Reference\/Foundation\/ObjC_classic\/Classes\/NSObject.html#\/\/apple_ref\/doc\/uid\/20000050-BBCEBIAG\">finalize method<\/a> has appeared in the documentation for NSObject. There is a curious warning attached to it stating that it isn&#8217;t available in 10.4 or earlier releases. This suggests that it may be available in 10.5 or possibly even in notional 10.4.x releases.<\/p>\n<p>It may make Cocoa programming easier for people moving from Java. Although I do hope that Java support for cocoa apps continues (not least because SQLEditor needs it for JDBC interfacing)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>One of the interesting things that seems to be happening with Cocoa is the addition of garbage collection. A finalize method has appeared in the documentation for NSObject. There is a curious warning attached to it stating that it isn&#8217;t available in 10.4 or earlier releases. This suggests that it may be available in 10.5 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10],"tags":[],"class_list":["post-129","post","type-post","status-publish","format-standard","hentry","category-macintosh"],"_links":{"self":[{"href":"https:\/\/www.malcolmhardie.com\/weblogs\/angus\/wp-json\/wp\/v2\/posts\/129","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.malcolmhardie.com\/weblogs\/angus\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.malcolmhardie.com\/weblogs\/angus\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.malcolmhardie.com\/weblogs\/angus\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.malcolmhardie.com\/weblogs\/angus\/wp-json\/wp\/v2\/comments?post=129"}],"version-history":[{"count":1,"href":"https:\/\/www.malcolmhardie.com\/weblogs\/angus\/wp-json\/wp\/v2\/posts\/129\/revisions"}],"predecessor-version":[{"id":1554,"href":"https:\/\/www.malcolmhardie.com\/weblogs\/angus\/wp-json\/wp\/v2\/posts\/129\/revisions\/1554"}],"wp:attachment":[{"href":"https:\/\/www.malcolmhardie.com\/weblogs\/angus\/wp-json\/wp\/v2\/media?parent=129"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.malcolmhardie.com\/weblogs\/angus\/wp-json\/wp\/v2\/categories?post=129"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.malcolmhardie.com\/weblogs\/angus\/wp-json\/wp\/v2\/tags?post=129"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}