いくつかの圧縮オプションを使用して、QTKit を使用するアプリケーションを構築しようとしています。この例は、その目的で Window を使用するApple開発者ページQTCompressionOptionsWindowで見ました。
MyController.m の 65 行目にコメントがあります。
// ******** Compression Options Window *****
// create our window with the media type and set ourselves as the delegate
// you could also instantiate the window directly in the nib and hook up the delegate
// simply call showWindow or setMediaType if you want to change the list of compression options shown
mCompressionOptionsWindow = [[QTCompressionOptionsWindow alloc] initWithMediaType:[[[mCaptureMovieFileOutput connections] lastObject] mediaType]];
if (nil == mCompressionOptionsWindow) {
NSLog(@"Compression Options Window did not load!\n");
return;
}
[mCompressionOptionsWindow setDelegate:self];
作者が何を説明しようとしているのか誰か説明してくれませんか
「ペン先でウィンドウを直接インスタンス化できます」
?. 彼は QTCompressionOptionsWindow のペン先を持っています
返信ありがとうございます