Platforms to show: All Mac Windows Linux Cross-Platform
Back to NSURLMBS class.
NSURLMBS.absoluteString as String
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Cocoa Networking | MBS MacBase Plugin | 15.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
This property’s value is calculated by resolving the receiver’s string against its base according to the algorithm given in RFC 1808.
(Read only property)
Some examples using this property:
NSURLMBS.absoluteURL as NSURLMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Cocoa Networking | MBS MacBase Plugin | 15.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
If the URL is already absolute, this property contains a copy of the receiver. Resolution is performed per RFC 1808.
(Read only property)
NSURLMBS.AddedToDirectoryDate as Date
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Cocoa Networking | MBS MacBase Plugin | 15.2 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
Inconsistent behavior may be observed when this attribute is requested on hard-linked items. This property is not supported by all volumes. (read-only)
Available in OS X v10.10.
(Read only property)
NSURLMBS.AddedToDirectoryDateTime as DateTime
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Cocoa Networking | MBS MacBase Plugin | 20.5 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Inconsistent behavior may be observed when this attribute is requested on hard-linked items. This property is not supported by all volumes. (read-only)
Available in OS X v10.10.
(Read only property)
NSURLMBS.AttributeModificationDate as Date
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Cocoa Networking | MBS MacBase Plugin | 15.2 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
The time at which the resource’s attributes were most recently modified, returned as an NSDate object if the volume supports attribute modification dates, or nil if attribute modification dates are unsupported.
Available in OS X v10.6 and later.
(Read only property)
NSURLMBS.AttributeModificationDateTime as DateTime
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Cocoa Networking | MBS MacBase Plugin | 20.5 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
The time at which the resource’s attributes were most recently modified, returned as an NSDate object if the volume supports attribute modification dates, or nil if attribute modification dates are unsupported.
Available in OS X v10.6 and later.
(Read only property)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Cocoa Networking | MBS MacBase Plugin | 15.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
This property contains the base URL. If the receiver is an absolute URL, this property contains nil.
(Read only property)
NSURLMBS.ContentAccessDate as Date
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Cocoa Networking | MBS MacBase Plugin | 15.2 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
Returned as date object if the volume supports access dates, or nil if access dates are unsupported.
Available in OS X v10.6 and later.
(Read only property)
NSURLMBS.ContentAccessDateTime as DateTime
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Cocoa Networking | MBS MacBase Plugin | 20.5 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Returned as date object if the volume supports access dates, or nil if access dates are unsupported.
Available in OS X v10.6 and later.
(Read only property)
NSURLMBS.ContentModificationDate as Date
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Cocoa Networking | MBS MacBase Plugin | 15.2 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
The time at which the resource was most recently modified, returned as a date object if the volume supports modification dates, or nil if modification dates are unsupported.
Available in OS X v10.6 and later.
(Read only property)
NSURLMBS.ContentModificationDateTime as DateTime
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Cocoa Networking | MBS MacBase Plugin | 20.5 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
The time at which the resource was most recently modified, returned as a date object if the volume supports modification dates, or nil if modification dates are unsupported.
Available in OS X v10.6 and later.
(Read only property)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Cocoa Networking | MBS MacBase Plugin | 15.2 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
The resource’s creation date, returned as an NSDate object if the volume supports creation dates, or nil if creation dates are unsupported.
Available in OS X v10.6 and later.
(Read only property)
NSURLMBS.CreationDateTime as DateTime
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Cocoa Networking | MBS MacBase Plugin | 20.5 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
The resource’s creation date, returned as an NSDate object if the volume supports creation dates, or nil if creation dates are unsupported.
Available in OS X v10.6 and later.
(Read only property)
NSURLMBS.DocumentIdentifier as String
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Cocoa Networking | MBS MacBase Plugin | 15.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
The document identifier is a value assigned by the kernel to a file or directory. This value is used to identify the document regardless of where it is moved on a volume. The identifier persists across system restarts. It is not transferred when the file is copied, but it survives "safe save" operations.
Document identifiers are only unique within a single volume. This property is not supported by all volumes.
Available in OS X v10.10 and iOS 8.0.
(Read only property)
NSURLMBS.EffectiveIcon as Variant
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Cocoa Networking | MBS MacBase Plugin | 15.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Available in OS X v10.6 and later.
Value is a NSImageMBS object.
(Read only property)
NSURLMBS.filePathURL as NSURLMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Cocoa Networking | MBS MacBase Plugin | 15.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
If the receiver is a file reference URL, this property contains a copy of the URL converted to a file path URL. If the receiver’s URL is a file path URL, this property contains the original URL. If the original URL is not a file URL, or if the resource is not reachable or no longer exists, this property contains nil.
Available in OS X v10.6 and later.
(Read only property)
NSURLMBS.fileReferenceURL as NSURLMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Cocoa Networking | MBS MacBase Plugin | 15.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
File reference URLs use a URL path syntax that identifies a file system object by reference, not by path. This form of file URL remains valid when the file system path of the URL’s underlying resource changes.
If the original URL is a file path URL, this property contains a copy of the URL converted into a file reference URL. If the original URL is a file reference URL, this property contains the original. If the original URL is not a file URL, this property contains nil.
File reference URLs cannot be created to file system objects which do not exist or are not reachable. This property contains nil instead.
In some areas of the file system hierarchy, file reference URLs cannot be generated to the leaf node of the URL path.
A file reference URL's path should never be persistently stored, because it is not valid across system restarts or remounts of volumes. If you need to store a persistent reference to a file system object, use a bookmark instead. You can create a bookmark by calling bookmarkDataWithOptions.
Available in OS X v10.6 and later.
(Read only property)
NSURLMBS.FileResourceIdentifier as String
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Cocoa Networking | MBS MacBase Plugin | 15.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
This identifier can be used to determine equality between file system resources with the isEqual: method. Two resources are equal if they have the same file-system path or if their paths link to the same inode on the same file system.
The value of this identifier is not persistent across system restarts.
Available in OS X v10.7 and later.
Returns hex encoded data.
(Read only property)
NSURLMBS.FileResourceType as String
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Cocoa Networking | MBS MacBase Plugin | 15.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
See File Resource Types for possible values.
Available in OS X v10.7 and later.
(Read only property)
NSURLMBS.fileSystemRepresentation as String
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Cocoa Networking | MBS MacBase Plugin | 15.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
(Read only property)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Cocoa Networking | MBS MacBase Plugin | 15.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
This property contains the URL’s fragment. If the receiver does not conform to RFC 1808, this property contains nil. For example, in the URL http://www.example.com/index.html#jumpLocation, the fragment identifier is jumpLocation.
(Read only property)
NSURLMBS.GenerationIdentifier as String
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Cocoa Networking | MBS MacBase Plugin | 15.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
The generation identifier can be compared using isEqual to determine if the data in a document has been modified. For URLs which refer to the same file inode, the generation identifier changes when the data in the file's data fork is changed. Changes to extended attributes or other file system metadata do not change the identifier. For URLs which refer to the same directory inode, the generation identifier changes when direct children of that directory are added, removed or renamed. Changes to the data of the direct children of that directory does not change the generation identifier. The identifier persists across system restarts. It is tied to a specific document on a specific volume and is not transferred when the document is copied to another volume. This property is not supported by all volumes.
Available in OS X v10.10 and iOS 8.0.
(Read only property)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Cocoa Networking | MBS MacBase Plugin | 15.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Can be used as NSURL* or CFURLRef for declares.
(Read and Write property)
NSURLMBS.HasHiddenExtension as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Cocoa Networking | MBS MacBase Plugin | 15.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Returned as a Boolean (read-write).
(Read only property)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Cocoa Networking | MBS MacBase Plugin | 15.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
This property contains the host. For example, in the URL http://www.example.com/index.html, the host is www.example.com.
If the receiver does not conform to RFC 1808, this property contains nil. The litmus test for conformance to RFC 1808 is as recommended in RFC 1808—specifically, whether the first two characters of resourceSpecifier are slashes (//).
(Read only property)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Cocoa Networking | MBS MacBase Plugin | 20.5 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Returns true for alias files.
(Read only property)
NSURLMBS.IsDirectory as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Cocoa Networking | MBS MacBase Plugin | 15.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Available in OS X v10.6 and later.
(Read only property)
NSURLMBS.IsExcludedFromBackup as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Cocoa Networking | MBS MacBase Plugin | 15.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
You can use this property to exclude cache and other app support files which are not needed in a backup. Some operations commonly made to user documents cause this property to be reset to false; consequently, do not use this property on user documents.
Available in OS X v10.8 and later.
(Read only property)
NSURLMBS.IsExecutable as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Cocoa Networking | MBS MacBase Plugin | 15.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Available in OS X v10.7 and later.
(Read only property)
NSURLMBS.isFileReferenceURL as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Cocoa Networking | MBS MacBase Plugin | 15.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
(Read only property)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Cocoa Networking | MBS MacBase Plugin | 15.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
if myURL.isFileURL is true, then myURL.path is suitable for input into NSFileManager or NSPathUtilities.
(Read only property)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Cocoa Networking | MBS MacBase Plugin | 15.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
If the resource is hidden because its name begins with a period, setting this value has no effect.
Available in OS X v10.6 and later.
(Read only property)
NSURLMBS.IsMountTrigger as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Cocoa Networking | MBS MacBase Plugin | 15.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Traversing or opening a file system trigger directory causes an attempt to mount a file system on the directory.
Available in OS X v10.7 and later.
(Read only property)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Cocoa Networking | MBS MacBase Plugin | 15.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
A true value means that the resource is a file package.
Available in OS X v10.6 and later.
(Read only property)
NSURLMBS.IsReadable as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Cocoa Networking | MBS MacBase Plugin | 15.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Available in OS X v10.7 and later.
(Read only property)
NSURLMBS.IsRegularFile as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Cocoa Networking | MBS MacBase Plugin | 15.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Available in OS X v10.6 and later.
(Read only property)
NSURLMBS.IsSymbolicLink as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Cocoa Networking | MBS MacBase Plugin | 15.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Available in OS X v10.6 and later.
(Read only property)
NSURLMBS.IsSystemImmutable as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Cocoa Networking | MBS MacBase Plugin | 15.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Available in OS X v10.6 and later.
(Read only property)
NSURLMBS.IsUbiquitousItem as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Cocoa Networking | MBS MacBase Plugin | 22.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
(Read only property)
NSURLMBS.IsUserImmutable as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Cocoa Networking | MBS MacBase Plugin | 15.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Available in OS X v10.6 and later.
(Read only property)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Cocoa Networking | MBS MacBase Plugin | 15.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Available in OS X v10.6 and later.
(Read only property)
NSURLMBS.IsWritable as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Cocoa Networking | MBS MacBase Plugin | 15.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Available in OS X v10.7 and later.
(Read only property)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Cocoa Networking | MBS MacBase Plugin | 15.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
(Read only property)
NSURLMBS.LabelColor as Variant
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Cocoa Networking | MBS MacBase Plugin | 15.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Available in OS X v10.6 and later.
Value is a NSColorMBS object.
(Read only property)
NSURLMBS.LabelNumber as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Cocoa Networking | MBS MacBase Plugin | 15.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Available in OS X v10.6 and later.
(Read only property)
NSURLMBS.lastPathComponent as String
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Cocoa Networking | MBS MacBase Plugin | 15.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
This property contains the last path component. For example, in the URL file:///path/to/file, the last path component is file.
Available in OS X v10.6 and later.
(Read only property)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Cocoa Networking | MBS MacBase Plugin | 15.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Available in OS X v10.6 and later.
(Read only property)
NSURLMBS.LocalizedLabel as String
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Cocoa Networking | MBS MacBase Plugin | 15.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Available in OS X v10.6 and later.
(Read only property)
NSURLMBS.LocalizedName as String
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Cocoa Networking | MBS MacBase Plugin | 15.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Available in OS X v10.6 and later.
(Read only property)
The items on this page are in the following plugins: MBS MacBase Plugin.