Documentation Language: Swift

Function

nullableRefParameterCode(for:)

Swift code for auto-prefixed arguments. This version will use Ref (struct) types instead of templats for nullable reference arguments with a default value of nil

func nullableRefParameterCode(for argument: GIR.Argument) -> String

Parameters

argument

The argument to generate type code for

Return Value

The Swift type for the parameter