[−][src]Trait cocoa::foundation::NSURL
Required methods
unsafe fn alloc(_: Self) -> id
unsafe fn URLWithString_(_: Self, string: id) -> id
unsafe fn initWithString_(self, string: id) -> id
unsafe fn URLWithString_relativeToURL_(_: Self, string: id, url: id) -> id
unsafe fn initWithString_relativeToURL_(self, string: id, url: id) -> id
unsafe fn fileURLWithPath_isDirectory_(_: Self, path: id, is_dir: BOOL) -> id
unsafe fn initFileURLWithPath_isDirectory_(self, path: id, is_dir: BOOL) -> id
unsafe fn fileURLWithPath_relativeToURL_(_: Self, path: id, url: id) -> id
unsafe fn initFileURLWithPath_relativeToURL_(self, path: id, url: id) -> id
unsafe fn fileURLWithPath_isDirectory_relativeToURL_(
_: Self,
path: id,
is_dir: BOOL,
url: id
) -> id
_: Self,
path: id,
is_dir: BOOL,
url: id
) -> id
unsafe fn initFileURLWithPath_isDirectory_relativeToURL_(
self,
path: id,
is_dir: BOOL,
url: id
) -> id
self,
path: id,
is_dir: BOOL,
url: id
) -> id
unsafe fn fileURLWithPath_(_: Self, path: id) -> id
unsafe fn initFileURLWithPath_(self, path: id) -> id
unsafe fn fileURLWithPathComponents_(_: Self, path_components: id) -> id
unsafe fn URLByResolvingAliasFileAtURL_options_error_(
_: Self,
url: id,
options: NSURLBookmarkResolutionOptions,
error: *mut id
) -> id
_: Self,
url: id,
options: NSURLBookmarkResolutionOptions,
error: *mut id
) -> id
unsafe fn URLByResolvingBookmarkData_options_relativeToURL_bookmarkDataIsStale_error_(
_: Self,
data: id,
options: NSURLBookmarkResolutionOptions,
relative_to_url: id,
is_stale: *mut BOOL,
error: *mut id
) -> id
_: Self,
data: id,
options: NSURLBookmarkResolutionOptions,
relative_to_url: id,
is_stale: *mut BOOL,
error: *mut id
) -> id
unsafe fn initByResolvingBookmarkData_options_relativeToURL_bookmarkDataIsStale_error_(
self,
data: id,
options: NSURLBookmarkResolutionOptions,
relative_to_url: id,
is_stale: *mut BOOL,
error: *mut id
) -> id
self,
data: id,
options: NSURLBookmarkResolutionOptions,
relative_to_url: id,
is_stale: *mut BOOL,
error: *mut id
) -> id
unsafe fn absoluteURLWithDataRepresentation_relativeToURL_(
_: Self,
data: id,
url: id
) -> id
_: Self,
data: id,
url: id
) -> id
unsafe fn initAbsoluteURLWithDataRepresentation_relativeToURL_(
self,
data: id,
url: id
) -> id
self,
data: id,
url: id
) -> id
unsafe fn URLWithDataRepresentation_relativeToURL_(
_: Self,
data: id,
url: id
) -> id
_: Self,
data: id,
url: id
) -> id
unsafe fn initWithDataRepresentation_relativeToURL_(
self,
data: id,
url: id
) -> id
self,
data: id,
url: id
) -> id
unsafe fn dataRepresentation(self) -> id
unsafe fn isEqual_(self, id: id) -> BOOL
unsafe fn checkResourceIsReachableAndReturnError_(self, error: id) -> BOOL
unsafe fn isFileReferenceURL(self) -> BOOL
unsafe fn isFileURL(self) -> BOOL
unsafe fn absoluteString(self) -> id
unsafe fn absoluteURL(self) -> id
unsafe fn baseURL(self) -> id
unsafe fn fragment(self) -> id
unsafe fn host(self) -> id
unsafe fn lastPathComponent(self) -> id
unsafe fn parameterString(self) -> id
unsafe fn password(self) -> id
unsafe fn path(self) -> id
unsafe fn pathComponents(self) -> id
unsafe fn pathExtension(self) -> id
unsafe fn port(self) -> id
unsafe fn query(self) -> id
unsafe fn relativePath(self) -> id
unsafe fn relativeString(self) -> id
unsafe fn resourceSpecifier(self) -> id
unsafe fn scheme(self) -> id
unsafe fn standardizedURL(self) -> id
unsafe fn user(self) -> id
unsafe fn NSURLResourceKey(self) -> id
unsafe fn filePathURL(self) -> id
unsafe fn fileReferenceURL(self) -> id
unsafe fn URLByAppendingPathComponent_(self, path_component: id) -> id
unsafe fn URLByAppendingPathComponent_isDirectory_(
self,
path_component: id,
is_dir: BOOL
) -> id
self,
path_component: id,
is_dir: BOOL
) -> id
unsafe fn URLByAppendingPathExtension_(self, extension: id) -> id
unsafe fn URLByDeletingLastPathComponent(self) -> id
unsafe fn URLByDeletingPathExtension(self) -> id
unsafe fn URLByResolvingSymlinksInPath(self) -> id
unsafe fn URLByStandardizingPath(self) -> id
unsafe fn hasDirectoryPath(self) -> BOOL
unsafe fn bookmarkDataWithContentsOfURL_error_(
_: Self,
url: id,
error: id
) -> id
_: Self,
url: id,
error: id
) -> id
unsafe fn bookmarkDataWithOptions_includingResourceValuesForKeys_relativeToURL_error_(
self,
options: NSURLBookmarkCreationOptions,
resource_value_for_keys: id,
relative_to_url: id,
error: id
) -> id
self,
options: NSURLBookmarkCreationOptions,
resource_value_for_keys: id,
relative_to_url: id,
error: id
) -> id
unsafe fn writeBookmarkData_toURL_options_error_(
_: Self,
data: id,
to_url: id,
options: NSURLBookmarkFileCreationOptions,
error: id
) -> id
_: Self,
data: id,
to_url: id,
options: NSURLBookmarkFileCreationOptions,
error: id
) -> id
unsafe fn startAccessingSecurityScopedResource(self) -> BOOL
unsafe fn stopAccessingSecurityScopedResource(self)
unsafe fn NSURLBookmarkFileCreationOptions(
self
) -> NSURLBookmarkFileCreationOptions
self
) -> NSURLBookmarkFileCreationOptions
unsafe fn NSURLBookmarkCreationOptions(self) -> NSURLBookmarkCreationOptions
unsafe fn NSURLBookmarkResolutionOptions(self) -> NSURLBookmarkResolutionOptions
Implementors
impl NSURL for id[src]
unsafe fn alloc(_: Self) -> id[src]
unsafe fn URLWithString_(_: Self, string: id) -> id[src]
unsafe fn initWithString_(self, string: id) -> id[src]
unsafe fn URLWithString_relativeToURL_(_: Self, string: id, url: id) -> id[src]
unsafe fn initWithString_relativeToURL_(self, string: id, url: id) -> id[src]
unsafe fn fileURLWithPath_isDirectory_(_: Self, path: id, is_dir: BOOL) -> id[src]
unsafe fn initFileURLWithPath_isDirectory_(self, path: id, is_dir: BOOL) -> id[src]
unsafe fn fileURLWithPath_relativeToURL_(_: Self, path: id, url: id) -> id[src]
unsafe fn initFileURLWithPath_relativeToURL_(self, path: id, url: id) -> id[src]
unsafe fn fileURLWithPath_isDirectory_relativeToURL_(
_: Self,
path: id,
is_dir: BOOL,
url: id
) -> id[src]
_: Self,
path: id,
is_dir: BOOL,
url: id
) -> id
unsafe fn initFileURLWithPath_isDirectory_relativeToURL_(
self,
path: id,
is_dir: BOOL,
url: id
) -> id[src]
self,
path: id,
is_dir: BOOL,
url: id
) -> id
unsafe fn fileURLWithPath_(_: Self, path: id) -> id[src]
unsafe fn initFileURLWithPath_(self, path: id) -> id[src]
unsafe fn fileURLWithPathComponents_(_: Self, path_components: id) -> id[src]
unsafe fn URLByResolvingAliasFileAtURL_options_error_(
_: Self,
url: id,
options: NSURLBookmarkResolutionOptions,
error: *mut id
) -> id[src]
_: Self,
url: id,
options: NSURLBookmarkResolutionOptions,
error: *mut id
) -> id
unsafe fn URLByResolvingBookmarkData_options_relativeToURL_bookmarkDataIsStale_error_(
_: Self,
data: id,
options: NSURLBookmarkResolutionOptions,
relative_to_url: id,
is_stale: *mut BOOL,
error: *mut id
) -> id[src]
_: Self,
data: id,
options: NSURLBookmarkResolutionOptions,
relative_to_url: id,
is_stale: *mut BOOL,
error: *mut id
) -> id
unsafe fn initByResolvingBookmarkData_options_relativeToURL_bookmarkDataIsStale_error_(
self,
data: id,
options: NSURLBookmarkResolutionOptions,
relative_to_url: id,
is_stale: *mut BOOL,
error: *mut id
) -> id[src]
self,
data: id,
options: NSURLBookmarkResolutionOptions,
relative_to_url: id,
is_stale: *mut BOOL,
error: *mut id
) -> id
unsafe fn absoluteURLWithDataRepresentation_relativeToURL_(
_: Self,
data: id,
url: id
) -> id[src]
_: Self,
data: id,
url: id
) -> id
unsafe fn initAbsoluteURLWithDataRepresentation_relativeToURL_(
self,
data: id,
url: id
) -> id[src]
self,
data: id,
url: id
) -> id
unsafe fn URLWithDataRepresentation_relativeToURL_(
_: Self,
data: id,
url: id
) -> id[src]
_: Self,
data: id,
url: id
) -> id
unsafe fn initWithDataRepresentation_relativeToURL_(
self,
data: id,
url: id
) -> id[src]
self,
data: id,
url: id
) -> id
unsafe fn dataRepresentation(self) -> id[src]
unsafe fn isEqual_(self, id: id) -> BOOL[src]
unsafe fn checkResourceIsReachableAndReturnError_(self, error: id) -> BOOL[src]
unsafe fn isFileReferenceURL(self) -> BOOL[src]
unsafe fn isFileURL(self) -> BOOL[src]
unsafe fn absoluteString(self) -> id[src]
unsafe fn absoluteURL(self) -> id[src]
unsafe fn baseURL(self) -> id[src]
unsafe fn fragment(self) -> id[src]
unsafe fn host(self) -> id[src]
unsafe fn lastPathComponent(self) -> id[src]
unsafe fn parameterString(self) -> id[src]
unsafe fn password(self) -> id[src]
unsafe fn path(self) -> id[src]
unsafe fn pathComponents(self) -> id[src]
unsafe fn pathExtension(self) -> id[src]
unsafe fn port(self) -> id[src]
unsafe fn query(self) -> id[src]
unsafe fn relativePath(self) -> id[src]
unsafe fn relativeString(self) -> id[src]
unsafe fn resourceSpecifier(self) -> id[src]
unsafe fn scheme(self) -> id[src]
unsafe fn standardizedURL(self) -> id[src]
unsafe fn user(self) -> id[src]
unsafe fn NSURLResourceKey(self) -> id[src]
unsafe fn filePathURL(self) -> id[src]
unsafe fn fileReferenceURL(self) -> id[src]
unsafe fn URLByAppendingPathComponent_(self, path_component: id) -> id[src]
unsafe fn URLByAppendingPathComponent_isDirectory_(
self,
path_component: id,
is_dir: BOOL
) -> id[src]
self,
path_component: id,
is_dir: BOOL
) -> id
unsafe fn URLByAppendingPathExtension_(self, extension: id) -> id[src]
unsafe fn URLByDeletingLastPathComponent(self) -> id[src]
unsafe fn URLByDeletingPathExtension(self) -> id[src]
unsafe fn URLByResolvingSymlinksInPath(self) -> id[src]
unsafe fn URLByStandardizingPath(self) -> id[src]
unsafe fn hasDirectoryPath(self) -> BOOL[src]
unsafe fn bookmarkDataWithContentsOfURL_error_(
_: Self,
url: id,
error: id
) -> id[src]
_: Self,
url: id,
error: id
) -> id
unsafe fn bookmarkDataWithOptions_includingResourceValuesForKeys_relativeToURL_error_(
self,
options: NSURLBookmarkCreationOptions,
resource_value_for_keys: id,
relative_to_url: id,
error: id
) -> id[src]
self,
options: NSURLBookmarkCreationOptions,
resource_value_for_keys: id,
relative_to_url: id,
error: id
) -> id
unsafe fn writeBookmarkData_toURL_options_error_(
_: Self,
data: id,
to_url: id,
options: NSURLBookmarkFileCreationOptions,
error: id
) -> id[src]
_: Self,
data: id,
to_url: id,
options: NSURLBookmarkFileCreationOptions,
error: id
) -> id
unsafe fn startAccessingSecurityScopedResource(self) -> BOOL[src]
unsafe fn stopAccessingSecurityScopedResource(self)[src]
unsafe fn NSURLBookmarkFileCreationOptions(
self
) -> NSURLBookmarkFileCreationOptions[src]
self
) -> NSURLBookmarkFileCreationOptions