importsGraphics
画像はインポート可能かを返します
解説
画像はインポート可能かを返します。
返り値
( BOOL )
YES/NO
引数
フレームワーク
ApplicationKit
クラス
NSText
Instance Methods
使用可能
10.0
参照
- isRichText
- setImportsGraphics:
例文
#import "MyObject.h" @implementation MyObject - (IBAction)myAction:(id)sender { [myOutlet setImportsGraphics:YES]; if ([myOutlet importsGraphics]){ NSLog(@"YES"); }else{ NSLog(@"NO"); } } @end