Platforms to show: All Mac Windows Linux Cross-Platform
Back to NSURLMBS class.
NSURLMBS.query as String
Function:
The query string, conforming to RFC 1808. (read-only)
Notes:
This property contains the query string. If the receiver does not conform to RFC 1808, this property contains nil. For example, in the URL http://www.example.com/index.php?key1=value1&key2=value2, the query string is key1=value1&key2=value2.
(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 |
Notes:
This property contains the query string. If the receiver does not conform to RFC 1808, this property contains nil. For example, in the URL http://www.example.com/index.php?key1=value1&key2=value2, the query string is key1=value1&key2=value2.
(Read only property)
NSURLMBS.relativePath as String
Function:
The relative path, conforming to RFC 1808. (read-only)
Notes:
This property contains the relative path of the receiver’s URL without resolving against its base URL. If the path has a trailing slash it is stripped. If the receiver is an absolute URL, this property contains the same value as path. If the receiver does not conform to RFC 1808, it contains nil.
(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 |
Notes:
This property contains the relative path of the receiver’s URL without resolving against its base URL. If the path has a trailing slash it is stripped. If the receiver is an absolute URL, this property contains the same value as path. If the receiver does not conform to RFC 1808, it contains nil.
(Read only property)
NSURLMBS.relativeString as String
Function:
A string representation of the relative portion of the URL. (read-only)
Notes:
This property contains a string representation of the relative portion of the URL. If the receiver is an absolute URL this method returns the same value as absoluteString.
(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 |
Notes:
This property contains a string representation of the relative portion of the URL. If the receiver is an absolute URL this method returns the same value as absoluteString.
(Read only property)
NSURLMBS.resourceSpecifier as String
Function:
The resource specifier. (read-only)
Notes:
This property contains the resource specifier. For example, in the URL http://www.example.com/index.html?key1=value1#jumplink, the resource specifier is //www.example.com/index.html?key1=value1#jumplink (everything after the colon).
(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 |
Notes:
This property contains the resource specifier. For example, in the URL http://www.example.com/index.html?key1=value1#jumplink, the resource specifier is //www.example.com/index.html?key1=value1#jumplink (everything after the colon).
(Read only property)
NSURLMBS.scheme as String
Function:
The scheme. (read-only)
Notes:
This property contains the scheme. For example, in the URL http://www.example.com/index.html, the scheme is http.
The full URL is the concatenation of the scheme, a colon (:), and the value of resourceSpecifier.
The term "protocol" is also sometimes used when talking about network-based URL schemes. However, not all URL schemes are networking protocols—data:// URLs, for example.
(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 |
Notes:
This property contains the scheme. For example, in the URL http://www.example.com/index.html, the scheme is http.
The full URL is the concatenation of the scheme, a colon (:), and the value of resourceSpecifier.
The term "protocol" is also sometimes used when talking about network-based URL schemes. However, not all URL schemes are networking protocols—data:// URLs, for example.
(Read only property)
NSURLMBS.standardizedURL as NSURLMBS
Function:
A copy of the URL with any instances of ".." or "." removed from its path. (read-only)
Notes:
This property contains a new NSURL object, initialized using the receiver’s path with any instances of ".." or "." removed.
If the URL conforms to RFC 1808 (the most common form of URL), this property contains the specified URL component; otherwise it 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 | 15.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Notes:
This property contains a new NSURL object, initialized using the receiver’s path with any instances of ".." or "." removed.
If the URL conforms to RFC 1808 (the most common form of URL), this property contains the specified URL component; otherwise it 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)
NSURLMBS.TypeIdentifier as String
Function:
The resource’s uniform type identifier (UTI), returned as a string.
Notes:
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 |
Notes:
Available in OS X v10.6 and later.
(Read only property)
NSURLMBS.UbiquitousItemContainerDisplayName as String
Function:
Returns the name of this item's container as displayed to users.
Notes: (Read only property)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Cocoa Networking | MBS MacBase Plugin | 22.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Notes: (Read only property)
NSURLMBS.UbiquitousItemDownloadingError as NSErrorMBS
Function:
Returns the error when downloading the item from iCloud failed,.
Notes: (Read only property)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Cocoa Networking | MBS MacBase Plugin | 22.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Notes: (Read only property)
NSURLMBS.UbiquitousItemDownloadingStatus as String
Function:
Returns the download status of this item.
Notes: (Read only property)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Cocoa Networking | MBS MacBase Plugin | 22.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Notes: (Read only property)
NSURLMBS.UbiquitousItemDownloadRequested as Boolean
Function:
Returns whether a download of this item has already been requested with an API like startDownloadingUbiquitousItem.
Notes: (Read only property)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Cocoa Networking | MBS MacBase Plugin | 22.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Notes: (Read only property)
NSURLMBS.UbiquitousItemHasUnresolvedConflicts as Boolean
Function:
True if this item has conflicts outstanding.
Notes: (Read only property)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Cocoa Networking | MBS MacBase Plugin | 22.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Notes: (Read only property)
NSURLMBS.UbiquitousItemIsDownloaded as Boolean
Function:
Has never behaved as documented in earlier releases, hence deprecated.
Notes:
Equivalent to UbiquitousItemDownloadingStatus = NSURLUbiquitousItemDownloadingStatusCurrent.
(Read only property)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Cocoa Networking | MBS MacBase Plugin | 22.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Notes:
Equivalent to UbiquitousItemDownloadingStatus = NSURLUbiquitousItemDownloadingStatusCurrent.
(Read only property)
NSURLMBS.UbiquitousItemIsDownloading as Boolean
Function:
True if data is being downloaded for this item.
Notes: (Read only property)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Cocoa Networking | MBS MacBase Plugin | 22.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Notes: (Read only property)
NSURLMBS.UbiquitousItemIsExcludedFromSync as Boolean
Function:
True if the item is excluded from sync, which means it is locally on disk but won't be available on the server.
Notes:
An excluded item is no longer ubiquitous.
(Read only property)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Cocoa Networking | MBS MacBase Plugin | 22.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Notes:
An excluded item is no longer ubiquitous.
(Read only property)
NSURLMBS.UbiquitousItemIsShared as Boolean
Function:
True if the ubiquitous item is shared.
Notes: (Read only property)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Cocoa Networking | MBS MacBase Plugin | 22.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Notes: (Read only property)
NSURLMBS.UbiquitousItemIsUploaded as Boolean
Function:
True if there is data present in the cloud for this item.
Notes: (Read only property)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Cocoa Networking | MBS MacBase Plugin | 22.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Notes: (Read only property)
NSURLMBS.UbiquitousItemIsUploading as Boolean
Function:
True if data is being uploaded for this item.
Notes: (Read only property)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Cocoa Networking | MBS MacBase Plugin | 22.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Notes: (Read only property)
NSURLMBS.UbiquitousItemUploadingError as NSErrorMBS
Function:
Returns the error when uploading the item to iCloud failed.
Notes: (Read only property)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Cocoa Networking | MBS MacBase Plugin | 22.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Notes: (Read only property)
NSURLMBS.user as String
Function:
The user name, conforming to RFC 1808. (read-only)
Notes:
This property contains the user name. For example, in the URL ftp://username@www.example.com/, the user name is username.
If the receiver’s URL does not conform to RFC 1808, this property returns 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 | 15.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Notes:
This property contains the user name. For example, in the URL ftp://username@www.example.com/, the user name is username.
If the receiver’s URL does not conform to RFC 1808, this property returns 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)
NSURLMBS.VolumeIdentifier as String
Function:
The unique identifier of the resource’s volume, returned as an id.
Notes:
The unique identifier of the resource’s volume, returned as an id (read-only).
This identifier can be used with the isEqual method to determine whether two file system resources are on the same volume.
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)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Cocoa Networking | MBS MacBase Plugin | 15.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Notes:
The unique identifier of the resource’s volume, returned as an id (read-only).
This identifier can be used with the isEqual method to determine whether two file system resources are on the same volume.
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.VolumeURL as NSURLMBS
Function:
The root directory of the resource’s volume, returned as an NSURL object.
Notes:
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 |
Notes:
Available in OS X v10.6 and later.
(Read only property)
Some examples using this property:
The items on this page are in the following plugins: MBS MacBase Plugin.
