InitiallyUnownedClassProtocol

public protocol InitiallyUnownedClassProtocol

The InitiallyUnownedClassProtocol protocol exposes the methods and properties of an underlying GInitiallyUnownedClass instance. The default implementation of these can be found in the protocol extension below. For a concrete class that implements these methods and properties, see InitiallyUnownedClass. Alternatively, use InitiallyUnownedClassRef as a lighweight, unowned reference if you already have an instance you just want to use.

The class structure for the GInitiallyUnowned type.

  • ptr

    Untyped pointer to the underlying GInitiallyUnownedClass instance.

    Declaration

    Swift

    var ptr: UnsafeMutableRawPointer! { get }
  • _ptr Default implementation

    Typed pointer to the underlying GInitiallyUnownedClass instance.

    Default Implementation

    Return the stored, untyped pointer as a typed pointer to the GInitiallyUnownedClass instance.

    Declaration

    Swift

    var _ptr: UnsafeMutablePointer<GInitiallyUnownedClass>! { get }

InitiallyUnownedClass Record: InitiallyUnownedClassProtocol extension (methods and fields)

  • gTypeClass Extension method

    the parent class

    Declaration

    Swift

    @inlinable
    var gTypeClass: GTypeClass { get }