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.
Mac プログラミングは初めてですが、アプリケーションのアイデアがいくつかあります。私の質問は次のとおりです。2 つのセルを持つ NSSegmentedControl があり、セル番号 1 が選択されている場合、たとえば青色でラベルに何かを書きたいと思いました。これどうやってするの?これがすでに尋ねられていたらごめんなさい:/
からどの要素が選択されているかを確認できますselectedSegment。
selectedSegment
http://developer.apple.com/library/mac/#documentation/Cocoa/Reference/ApplicationKit/Classes/NSSegmentedControl_Class/Reference/Reference.html