registerImageRepClass:
利用できるNSImageRepクラスをレジストリに登録します
+(void)registerImageRepClass:(Class)imageRepClass:
解説
利用できるNSImageRepクラスをレジストリに登録します。デフォルトの通知センターにNSImageRepRegistryDidChangeNotificationをポストします。
返り値
( void )
なし
引数
( Class )imageRepClass
NSImageRepクラス
フレームワーク
ApplicationKit
クラス
NSImageRep
Class Methods
使用可能
10.0
参照
+ load (NSObject)
例文
#import "SetImage.h" @implementation SetImage - (IBAction)set:(id)sender { [NSImageRep registerImageRepClass:[NSBitmapImageRep class]]; NSLog([[NSImageRep registeredImageRepClasses] description]); } @end