我試圖構建一個使用QTKit,一些壓縮選項的應用程序。我在蘋果開發者頁面QTCompressionOptionsWindow中看到了這個例子,它使用了一個窗口來達到這個目的。試圖瞭解QTCompressionOptionsWindowTest
在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
感謝筆尖您的答覆