Instance Method インスタンスメソッド

presentedSubitemDidAppearAtURL:

Tells the delegate that an item was added to the presented directory. ある項目がその提示されたディレクトリに加えられたことを、委任先に伝えます。

Declaration 宣言

- (void)presentedSubitemDidAppearAtURL:(NSURL *)url;

Parameters パラメータ

url

The URL of the item being added to the presented directory. The item need not be at the top level of the presented directory but may itself be inside a nested subdirectory. 提示されたディレクトリに加えられる項目のURL。項目はこの提示されたディレクトリのトップレベルにある必要はなく、入れ子にされた下位ディレクトリ内にそれ自身はあるかもしれません。

Discussion 議論

This method is relevant for applications that present directories. This might occur if the delegate manages the contents of a directory or manages a file that is implemented as a file package. Your implementation of this method should take whatever actions necessary to incorporate the new file or directory into the presented content. For example, you might add the new item to your application’s data structures and refresh your user interface. このメソッドは、ディレクトリを提示するアプリケーションに関係があるものです。これは、委任先がディレクトリの内容を管理するまたはファイルパッケージとして実装されるファイルを管理するならば、見られるかもしれません。このメソッドのあなたの実装は、新しいファイルまたはディレクトリをその提示された内容へと組み入れるのに不可欠なアクションは何であれ受け取るべきです。例えば、あなたはあなたのアプリケーションのもつデータ構造体に新しい項目を加えて、あなたのユーザインターフェイスをリフレッシュするかもしれません。

If the presented directory is a file package, the system calls the presentedItemDidChange method if your delegate does not implement this method. 提示されたディレクトリがファイルパッケージならば、システムはpresentedItemDidChangeメソッドを、もしあなたの委任先がこのメソッドを実装しないならば呼び出します。

See Also 参照

Handling Changes to a Presented Directory 提示されたディレクトリに対する変更を取り扱う