Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
時々私は見る
self->someData = d;
Objective-Cコードで。それがいつ使われるか誰かが説明できますか?
プロパティとしてリストされていないインスタンスの変数にアクセスするため。
この構文を使用して、オブジェクトのパブリックインスタンス変数に直接アクセスできます。(プライベート変数では機能しません。)おそらく、プロパティを作成して代わりに使用するか、キー値コーディングを使用する必要があります。