NSDocumentController:makeDocumentWithContentsOfFile:ofType:
Home 目次>ApplicationKit>NSDocumentController

makeDocumentWithContentsOfFile:ofType:

ファイル名とドキュメントタイプで文書を作ります


-(id) makeDocumentWithContentsOfFile:(NSString *)fileName
   ofType:(NSString *)docType


【返り値】
   idドキュメントオブジェクト(NSDozument)
【パラメータ】
   fileNameファイル名
   docTypeドキュメントタイプ


【解説】

ファイル名とドキュメントタイプで文書を作ります。



【例文】


doc2 = [dController2 makeDocumentWithContentsOfFile:[opPanel filename]
ofType:
@"txt"
];


(C) 2000-2007 Satoshi Oomori.
[Apple]

Google
Webwww.oomori.com
Apple_Store_40x120

[ad:Usual day in Japan]

この記事を評価してください。 

良い 

間違いがある 説明がわかりにくい 例文がわかりにくい  

Home 目次>ApplicationKit>NSDocumentController
修正日2006.12.26