Platforms to show: All Mac Windows Linux Cross-Platform
Back to NSURLMBS class.
NSURLMBS.LocalizedTypeDescription 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)
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.parameterString 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 parameter string. If the receiver does not conform to RFC 1808, this property contains nil. For example, in the URL file:///path/to/file;foo, the parameter string is foo.
This property should not be confused with the query property, which also often contains a string of parameters.
(Read only property)
NSURLMBS.ParentDirectoryURL as NSURLMBS
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 |
This property contains the password. If the receiver does not conform to RFC 1808, it contains nil. For example, in the URL http://username:password@www.example.com/index.html, the password is password.
(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 path, unescaped with the stringByReplacingPercentEscapesUsingEncoding: method. If the receiver does not conform to RFC 1808, this property contains nil.
If the receiver contains a file or file reference URL (as determined with isFileURL), this property’s value is suitable for input into methods of NSFileManager or NSPathUtilities. If the path has a trailing slash, it is stripped.
If the receiver contains a file reference URL, this property’s value provides the current path for the referenced resource, which may be nil if the resource no longer exists.
If the parameterString property contains a non-nil value, the path may be incomplete. If the receiver contains an unencoded semicolon, the path property ends at the character before the semicolon. The remainder of the URL is provided in the parameterString property.
To obtain the complete path, if parameterString contains a non-nil value, append a semicolon, followed by the parameter string.
Per RFC 3986, the leading slash after the authority (host name and port) portion is treated as part of the path. For example, in the URL http://www.example.com/index.html, the path is /index.html.
Available in OS X v10.8 and later.
(Read only property)
NSURLMBS.pathExtension 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 path extension. For example, in the URL file:///path/to/file.txt, the path extension is txt.
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 port number. For example, in the URL http://www.example.com:8080/index.php, the port number is 8080.
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)
NSURLMBS.PreferredIOBlockSize as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Cocoa Networking | MBS MacBase Plugin | 15.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
The optimal block size to use when reading or writing this file's data, returned as an integer, or zero if the preferred size is not available (read-only).
Available in OS X v10.7 and later.
(Read only property)
NSURLMBS.QuarantineProperties as Dictionary
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Cocoa Networking | MBS MacBase Plugin | 15.2 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
Available on Mac OS X 10.10 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 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
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 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
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 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
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 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 |
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
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 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
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.UbiquitousItemContainerDisplayName as String
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.UbiquitousItemDownloadingError as NSErrorMBS
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.UbiquitousItemDownloadingStatus as String
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.UbiquitousItemDownloadRequested 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.UbiquitousItemHasUnresolvedConflicts 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.UbiquitousItemIsDownloaded as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Cocoa Networking | MBS MacBase Plugin | 22.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Equivalent to UbiquitousItemDownloadingStatus = NSURLUbiquitousItemDownloadingStatusCurrent.
(Read only property)
NSURLMBS.UbiquitousItemIsDownloading 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.UbiquitousItemIsExcludedFromSync as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Cocoa Networking | MBS MacBase Plugin | 22.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
An excluded item is no longer ubiquitous.
(Read only property)
NSURLMBS.UbiquitousItemIsShared 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.UbiquitousItemIsUploaded 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.UbiquitousItemIsUploading 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.UbiquitousItemUploadingError as NSErrorMBS
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)
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 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
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Cocoa Networking | MBS MacBase Plugin | 15.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
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
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)
Some examples using this property:
The items on this page are in the following plugins: MBS MacBase Plugin.