macOS/iOS API解説

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

目次

fileSystemAttributesAtPath:

マウントしたファイルシステムの属性を辞書で返します
-(NSDictionary *)fileSystemAttributesAtPath:(NSString *)path:

解説

マウントしたファイルシステムの属性を辞書で返します。
【辞書】
● NSFileSystemSize ファイルシステムサイズ(NSNumber)
● NSFileSystemFreeSize 空きサイズ(NSNumber)
● NSFileSystemNodes ノード(NSNumber)
● NSFileSystemFreeNodes 空きノード(NSNumber)
● NSFileSystemNumber ファイルシステム番号(NSNumber)

返り値

( NSDictionary * )

辞書

引数

( NSString * )path

パス

クラス

NSFileManager

Instance Methods

使用可能

10.0

参照

- fileAttributesAtPath:traverseLink:
- changeFileAttributes:atPath:

例文