setEchosBullets:
入力した文字をビュレット(・・・)で表示するかをセットします
-(void)setEchosBullets:(BOOL)flag:
解説
入力した文字をビュレット(・・・)で表示するかをセットします。
YESをセットするとビュレット(・・・)で表示します。
NOをセットすると空白となり、文字は表示しません。
返り値
( void )
なし
引数
( BOOL )flag
YES/NO
フレームワーク
ApplicationKit
クラス
NSSecureTextFieldCell
Instance Methods
使用可能
10.0
参照
- echosBullets
例文
#import "MyObject.h" @implementation MyObject - (IBAction)myAction:(id)sender { //myOutletはNSSecureTextFieldCell if ([myOutlet echosBullets]){ NSLog(@"YES"); [myOutlet setEchosBullets:NO]; }else{ NSLog(@"NO"); [myOutlet setEchosBullets:YES]; } } @end