Platforms to show: All Mac Windows Linux Cross-Platform
Back to NSFileManagerMBS class.
NSFileManagerMBS.NSFileAppendOnly as string
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| shared method | iCloud | MBS MacCocoa Plugin | 12.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
The key in a file attribute dictionary whose value indicates whether the file is read-only.
The corresponding value is a number containing a Boolean value.
Available in Mac OS X v10.2 and later.
NSFileManagerMBS.NSFileBusy as string
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| shared method | iCloud | MBS MacCocoa Plugin | 12.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
The key in a file attribute dictionary whose value indicates whether the file is busy.
The corresponding value is a number containing a Boolean value.
Available in Mac OS X v10.4 and later.
NSFileManagerMBS.NSFileCreationDate as string
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| shared method | iCloud | MBS MacCocoa Plugin | 12.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
The key in a file attribute dictionary whose value indicates the file's creation date.
The corresponding value is a date.
Available in Mac OS X v10.2 and later.
NSFileManagerMBS.NSFileDeviceIdentifier as string
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| shared method | iCloud | MBS MacCocoa Plugin | 12.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
The key in a file attribute dictionary whose value indicates the identifier for the device on which the file resides.
The corresponding value is a number containing an Int32.
Available in Mac OS X v10.0 and later.
NSFileManagerMBS.NSFileExtensionHidden as string
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| shared method | iCloud | MBS MacCocoa Plugin | 12.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
The key in a file attribute dictionary whose value indicates whether the file's extension is hidden.
The corresponding value is a number containing a Boolean value.
Available in Mac OS X v10.1 and later.
NSFileManagerMBS.NSFileGroupOwnerAccountID as string
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| shared method | iCloud | MBS MacCocoa Plugin | 12.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
The key in a file attribute dictionary whose value indicates the file's group ID.
The corresponding value is a number containing an Int32.
Available in Mac OS X v10.2 and later.
NSFileManagerMBS.NSFileGroupOwnerAccountName as string
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| shared method | iCloud | MBS MacCocoa Plugin | 12.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
The key in a file attribute dictionary whose value indicates the group name of the file's owner.
The corresponding value is a string.
Available in Mac OS X v10.0 and later.
NSFileManagerMBS.NSFileHFSCreatorCode as string
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| shared method | iCloud | MBS MacCocoa Plugin | 12.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
The key in a file attribute dictionary whose value indicates the file's HFS creator code.
The corresponding value is a number containing an Int32. See "HFS File Types" for possible values.
Available in Mac OS X v10.1 and later.
NSFileManagerMBS.NSFileHFSTypeCode as string
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| shared method | iCloud | MBS MacCocoa Plugin | 12.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
The key in a file attribute dictionary whose value indicates the file's HFS type code.
The corresponding value is a number containing an Int32. See "HFS File Types" for possible values.
Available in Mac OS X v10.1 and later.
NSFileManagerMBS.NSFileImmutable as string
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| shared method | iCloud | MBS MacCocoa Plugin | 12.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
The key in a file attribute dictionary whose value indicates whether the file is mutable.
The corresponding value is a number containing a Boolean value.
Available in Mac OS X v10.2 and later.
NSFileManagerMBS.NSFileManagerUnmountDissentingProcessIdentifierErrorKey as string
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| shared method | iCloud | MBS MacCocoa Plugin | 18.5 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
NSFileManagerMBS.NSFileModificationDate as string
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| shared method | iCloud | MBS MacCocoa Plugin | 12.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
The key in a file attribute dictionary whose value indicates the file's last modified date.
The corresponding value is a date.
Available in Mac OS X v10.0 and later.
NSFileManagerMBS.NSFileOwnerAccountID as string
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| shared method | iCloud | MBS MacCocoa Plugin | 12.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
The key in a file attribute dictionary whose value indicates the file's owner's account ID.
The corresponding value is a number containing an Int32.
Available in Mac OS X v10.2 and later.
NSFileManagerMBS.NSFileOwnerAccountName as string
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| shared method | iCloud | MBS MacCocoa Plugin | 12.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
The key in a file attribute dictionary whose value indicates the name of the file's owner.
The corresponding value is a string.
Available in Mac OS X v10.0 and later.
NSFileManagerMBS.NSFilePosixPermissions as string
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| shared method | iCloud | MBS MacCocoa Plugin | 12.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
The key in a file attribute dictionary whose value indicates the file's Posix permissions.
The corresponding value is a number.
Available in Mac OS X v10.0 and later.
NSFileManagerMBS.NSFileReferenceCount as string
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| shared method | iCloud | MBS MacCocoa Plugin | 12.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
The key in a file attribute dictionary whose value indicates the file's reference count.
The corresponding value is a number containing an Int32.
The number specifies the number of hard links to a file.
Available in Mac OS X v10.0 and later.
NSFileManagerMBS.NSFileSize as string
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| shared method | iCloud | MBS MacCocoa Plugin | 12.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
The key in a file attribute dictionary whose value indicates the file's size in bytes.
The corresponding value is a number containing an Int64.
Important If the file has a resource fork, the returned value does not include the size of the resource fork.
NSFileManagerMBS.NSFileSystemFileNumber as string
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| shared method | iCloud | MBS MacCocoa Plugin | 12.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
The key in a file attribute dictionary whose value indicates the file's filesystem file number.
The corresponding value is a number containing an Int32. The value corresponds to the value of st_ino, as returned by stat(2).
Available in Mac OS X v10.0 and later.
NSFileManagerMBS.NSFileSystemFreeNodes as string
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| shared method | iCloud | MBS MacCocoa Plugin | 12.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
The key in a file system attribute dictionary dictionary whose value indicates the number of free nodes in the file system.
The corresponding value is a number that specifies the number of free nodes in the file system.
Available in Mac OS X v10.0 and later.
NSFileManagerMBS.NSFileSystemFreeSize as string
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| shared method | iCloud | MBS MacCocoa Plugin | 12.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
The key in a file system attribute dictionary whose value indicates the amount of free space on the file system.
The corresponding value is a number that specifies the amount of free space on the file system in bytes. The value is determined by statfs().
Available in Mac OS X v10.0 and later.
NSFileManagerMBS.NSFileSystemNodes as string
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| shared method | iCloud | MBS MacCocoa Plugin | 12.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
The key in a file system attribute dictionary whose value indicates the number of nodes in the file system.
The corresponding value is a number that specifies the number of nodes in the file system.
Available in Mac OS X v10.0 and later.
NSFileManagerMBS.NSFileSystemNumber as string
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| shared method | iCloud | MBS MacCocoa Plugin | 12.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
The key in a file system attribute dictionary dictionary whose value indicates the filesystem number of the file system.
The corresponding value is a number that specifies the filesystem number of the file system. The value corresponds to the value of st_dev, as returned by stat(2).
Available in Mac OS X v10.0 and later.
NSFileManagerMBS.NSFileSystemSize as string
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| shared method | iCloud | MBS MacCocoa Plugin | 12.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
The key in a file system attribute dictionary whose value indicates the size of the file system.
The corresponding value is a number that specifies the size of the file system in bytes. The value is determined by statfs().
Available in Mac OS X v10.0 and later.
NSFileManagerMBS.NSFileType as string
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| shared method | iCloud | MBS MacCocoa Plugin | 12.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
The key in a file attribute dictionary whose value indicates the file's type.
The corresponding value is a string (see NSFileType* shared methods for possible values).
Available in Mac OS X v10.0 and later.
NSFileManagerMBS.NSFileTypeBlockSpecial as string
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| shared method | iCloud | MBS MacCocoa Plugin | 12.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Block special file (e.g. hard disk)
NSFileManagerMBS.NSFileTypeCharacterSpecial as string
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| shared method | iCloud | MBS MacCocoa Plugin | 12.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Character special file
NSFileManagerMBS.NSFileTypeDirectory as string
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| shared method | iCloud | MBS MacCocoa Plugin | 12.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Directory
NSFileManagerMBS.NSFileTypeRegular as string
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| shared method | iCloud | MBS MacCocoa Plugin | 12.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Regular file
NSFileManagerMBS.NSFileTypeSocket as string
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| shared method | iCloud | MBS MacCocoa Plugin | 12.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Socket (a socket visible in file system as a file)
NSFileManagerMBS.NSFileTypeSymbolicLink as string
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| shared method | iCloud | MBS MacCocoa Plugin | 12.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Symbolic link
NSFileManagerMBS.NSFileTypeUnknown as string
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| shared method | iCloud | MBS MacCocoa Plugin | 12.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Unknown
NSFileManagerMBS.NSUbiquityIdentityDidChangeNotification as string
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| shared method | iCloud | MBS MacCocoa Plugin | 18.5 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
The system generates this notification when the user logs into or out of an iCloud account or enables or disables the syncing of documents and data. This notification is your cue to update caches and any interface elements displaying iCloud–related content. For example, hide all references to iCloud files when the user logs out of iCloud.
When your app receives this notification, get the new token from the NSURLRelationship property. The value of that token is nil if the user disabled iCloud or logged out. There is no userInfo dictionary.
The items on this page are in the following plugins: MBS MacCocoa Plugin.