canSpawnSeparateThread
プリントオペレーションが別々のスレッドに渡ってもよいかを返します
解説
プリントオペレーションが別々のスレッドに渡ってもよいかを返します。
返り値
( BOOL )
YES/NO
引数
フレームワーク
ApplicationKit
クラス
NSPrintOperation
Instance Methods
使用可能
10.0
参照
- setCanSpawnSeparateThread:
例文
#import "Controller.h" @implementation Controller - (IBAction)pushButton:(id)sender { NSPrintOperation *pOp = [NSPrintOperation currentOperation]; ([pOp canSpawnSeparateThread])? NSLog(@"YES") : NSLog(@"NO"); } @end