Einhugur macOS Bridge plugin.

EinhugurCoreBridge.NSURL Class

An object that represents the location of a resource, such as an item on a remote server or the path to a local file.

We have in this class methods to get NSURL from Xojo FolderItem and also ToFolderItem method to get FolderItem from NSURL.

EinhugurCoreBridge.NSObject
   NSURL

class EinhugurCoreBridge.NSURL

Constructors

NSURL (private) Private constructor.

Properties

ClassName (Inherited) (desktop) Returns the name of the Cocoa class under the hood as String.
Handle (Inherited) Returns Integer handle to the native NSObject structure.
PathThe path, conforming to RFC 1808.

Methods

shared CastDoes deep cast on incoming NSObject to NSURL
shared FromFolderItemCreates NSURL instance from Xojo FolderItem instance.
shared FromIntegerPtrConstructs NSURL object from Integer handle coming from declares or 3rd party plugin.
shared IsNSURLReturns true if the NSObject under the hood is NSURL or derived from NSURL.
Release (Inherited) Releases the NSObject.
Retain (Inherited) Retains the NSObject
ToFolderItemCreates Xojo FolderItem instance from the NSURL.

Constants

Version = 4.31 (Inherited)

Supported Platforms:

  • macOS Intel 64 bit
  • macOS Apple Silicon
  • iOS
  • Unsupported Platforms:

  • Windows 32 bit
  • Windows 64 bit
  • Windows ARM 64 bit
  • Linux 32 bit
  • Linux 64 bit
  • Linux ARM 32 bit
  • Linux ARM 64 bit