科学者のためのCocoa(パートIII): 生きているもの 英語のチュートリアルの作成日:2006年11月20日 著者:Drew McCormack 英語のチュートリアル: MacResearch.org 翻訳:Ignacio Enriquez 私たちってどういう風に創造されましたか?いつ滅ぼされるでしょうか? 最近なぜこんなに忘れっぽくなりましたか?この全ての質問は重要であります。しかしながら、今日(または近い未来に)一つも答えることができません。ですが、これらは科学者のためのCocoaのシリーズに関係しています:オブジェクトのライブサイクルです。オブジェクトはどうやって生まれるか?いつ削除されるか?そして、どのように自分自身を解放するのか? 最後ですが、もっとも重要なのは、最近なぜこんなに忘れっぽくなったのか?... いや違う!...どのようにCocoaはプログラムのメモるの管理を行うかというのです。 How did we get created? When will we be destroyed? Why am I so forgetful lately? Important questions all. Unfortunately we will not answer any of them today (or in the future for that matter), but they are related to the topic of this installment of the Cocoa for Scientists series: object life-cycle. How does an object get born? When does it get deleted, and how does it deallocate itself? And, last but by no means least: Why am I so forgetful lately...no...how does a Cocoa program manage its memory use? オブジェクトのメモリの割当と初期化 Allocating and Initializing Objects 前回はクラスについて学びまし...
コメント
コメントを投稿