mikeash.com pyblog/friday-qa-2010-07-30-zeroing-weak-references-to-corefoundation-objects.html commentshttp://www.mikeash.com/?page=pyblog/friday-qa-2010-07-30-zeroing-weak-references-to-corefoundation-objects.html#commentsmikeash.com Recent CommentsThu, 28 Mar 2024 13:36:01 GMTPyRSS2Gen-1.0.0http://blogs.law.harvard.edu/tech/rssnevyn - 2010-08-03 17:46:30http://www.mikeash.com/?page=pyblog/friday-qa-2010-07-30-zeroing-weak-references-to-corefoundation-objects.html#commentsHah, getting the PC of another thread! I love it! <br /> <br />I think I'll have to spend my vacation reading through Apple source code; that stuff looks majorly fun.e278c0f6d6a9aa25d82a39cad6e91a2cTue, 03 Aug 2010 17:46:30 GMTmikeash - 2010-08-02 14:51:22http://www.mikeash.com/?page=pyblog/friday-qa-2010-07-30-zeroing-weak-references-to-corefoundation-objects.html#commentsObjective-C with garbage collection supports native weak references as well. This code is only necessary for weak references without garbage collection. And the code in this particular post is only necessary if you need to weakly reference CoreFoundation objects. It's turned off by default.d77f77d7a46aae50521ffed76dae1adaMon, 02 Aug 2010 14:51:22 GMTsimon - 2010-08-02 10:11:38http://www.mikeash.com/?page=pyblog/friday-qa-2010-07-30-zeroing-weak-references-to-corefoundation-objects.html#commentsThis is really scary. I am glad I code in Java when I see this kind of things.8b4fb7e4c73838b9a9c4409019b81d8dMon, 02 Aug 2010 10:11:38 GMTMarc - 2010-07-30 23:18:55http://www.mikeash.com/?page=pyblog/friday-qa-2010-07-30-zeroing-weak-references-to-corefoundation-objects.html#commentsThanks for posting this, very informative!8e4c7ca66f8be9544a215f023ebae1eeFri, 30 Jul 2010 23:18:55 GMT