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.
エンティティとテーブルを arrayController でバインドします。エンティティには名前と ID がありますが、テーブルには名前のみが表示されます。テーブル内のアイテムを選択したときにエンティティの ID を取得する方法を教えてください。
アレイ コントローラの selection を取得し、[arrayController selection]それをエンティティ クラスにキャストして、その ID を尋ねます。
[arrayController selection]