macOS/iOS API解説

iOS , Mac アプリケーション開発のために使われる主要フレームワークの日本語情報です。2010年代に書かれた内容です。今後更新はありません。

目次

NSFileManagerDelegateプロトコル

INDEX>Foundation>

apple(OS X)
apple(iOS)

フレームワーク /System/Library/Frameworks/Foundation.framework
使用可能 OS X 10.7以降
iOS 5.0以降
定義 NSFileManager.h

概要

参照

タスク

アイテムの移動

– fileManager:shouldMoveItemAtURL:toURL
– fileManager:shouldMoveItemAtPath:toPath:
– fileManager:shouldProceedAfterError:movingItemAtURL:toURL:
– fileManager:shouldProceedAfterError:movingItemAtPath:toPath:

Copying an Item

– fileManager:shouldCopyItemAtURL:toURL:
– fileManager:shouldCopyItemAtPath:toPath:
– fileManager:shouldProceedAfterError:copyingItemAtURL:toURL:
– fileManager:shouldProceedAfterError:copyingItemAtPath:toPath:

Removing an Item

– fileManager:shouldRemoveItemAtURL:
– fileManager:shouldRemoveItemAtPath:
– fileManager:shouldProceedAfterError:removingItemAtURL:
– fileManager:shouldProceedAfterError:removingItemAtPath:

Linking an Item

– fileManager:shouldLinkItemAtURL:toURL:
– fileManager:shouldLinkItemAtPath:toPath:
– fileManager:shouldProceedAfterError:linkingItemAtURL:toURL:
– fileManager:shouldProceedAfterError:linkingItemAtPath:toPath: