0
次のコードは正常ですが、私がLionに更新したときに、このメソッドが廃止され、 "beginSheetModalforWindow"を使用するよう警告が表示され始めました。次のコードをどのように使用してコードに変換しますか?beginSheetForDirectory ...推奨されていません
[savePanel beginSheetForDirectory: NULL
file: fileName
modalForWindow: mWindow
modalDelegate: self
didEndSelector: @selector(savePanelDidEnd:returnCode:contextInfo:)
contextInfo: NULL];
たぶんhttp://pastie.org/2314089を?私はそれを試していない。 – David