macOS/iOS API解説

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

目次

linkPath:toPath:handler:

指定したパスのファイルのリンクを指定した宛先に作ります
-(BOOL)linkPath:(NSString *)source:
             toPath:(NSString *)destination:
             handler:()handler:

解説

指定したパス(source)のファイルのリンクを指定した宛先(destination)に作ります。

返り値

( BOOL )

YES/NO

引数

( NSString * )source

ソール

( NSString * )destination

宛先

(  )handler

ハンドラ

クラス

NSFileManager

Instance Methods

使用可能

10.0

参照

- copyPath:toPath:handler:
- createSymbolicLinkAtPath:pathContent:
- movePath:toPath:handler:
- fileManager:shouldProceedAfterError:
- removeFileAtPath:handler:
- fileManager:willProcessPath:

例文