今日の Cocoa メモ

main()関数はint型の値を返すものと決まっています。もちろんreturnが必要です。

[super close]; // スーパークラスのメソッドを呼び出す

また慣習的にターミナルから実行するプログラムの先頭文字は、小文字を使うことになっています。逆にGUIを持つプログラムの名前は大文字から始めます。

iTunes、違うじゃん。

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>