Island
The "Island" object model is the default model for classes on all Island-backed platforms, and the only class model available across all sub-platforms and without external dependencies.
- Island – native Island objects and interfaces.
- Cocoa – Objective-C objects (descending from
Foundation.NSObject
) and protocols. - Delphi – Delphi objects (descending from
Delphi.System.TObject
) and protocols. - COM – to work with COM interfaces
- Swift – native Swift objects and protocols.
Island classes share a single hierarchy, rooted in RemObjects.Elements.System.Object
.
Life-Cycle Management
"Island" object model classes partipate in Garbage Collection, and will automatically be freed when n o longer referenced.
Default Types
When set as Default Object Model (the default), the following three base types come into scope to be used for Objects,, Strings and Exceptions (and for the C# object
and string
keywords):
RemObjects.Elements.System.Island.Object = public IslandObject;
RemObjects.Elements.System.Island.String = public IslandString;
RemObjects.Elements.System.Island.Exception = public IslandException;
These again alias directly to the base types provided by Island RTL:
IslandObject = public System.Object;
IslandString = public System.String;
IslandException = public System.Exception;
See Also
- Object Models
Island
Object Model Aspect- Class and Interface Types in Oxygene
modelOf()
System Function