macOS/iOS API解説

iOS , Mac アプリケーション開発のために使われる主要フレームワークの日本語情報です。2010年代に書かれた内容です。今後更新はありません。

目次

showsStateBy

調査中

解説

調査中
レシーバーがその代理の状態を表示するやり方を示すフラグの論理的ORを返します。

返り値

( int )

整数値

引数

フレームワーク

ApplicationKit

クラス

NSButtonCell

Instance Methods

使用可能

10.0

参照

例文

#import "MyObject.h"

@implementation MyObject

- (IBAction)myAction:(id)sender
{
//bCell1はボタンセル
NSLog([NSString stringWithFormat:@"%d",[bCell1 showsStateBy]]);
[bCell1 setShowsStateBy:NSContentsCellMask];
NSLog([NSString stringWithFormat:@"%d",[bCell1 showsStateBy]]);

}

@end