<!--
{
  "documentType" : "article",
  "framework" : "Quartz",
  "identifier" : "/documentation/Quartz/port-input-and-output-types",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "Port Input and Output Types"
}
-->

# Port Input and Output Types

Data types for input and output ports.

## Topics

### Constants

[`QCPortTypeBoolean`](/documentation/Quartz/QCPortTypeBoolean)

The port type for a Boolean value.

[`QCPortTypeIndex`](/documentation/Quartz/QCPortTypeIndex)

The port type for an index value.

[`QCPortTypeNumber`](/documentation/Quartz/QCPortTypeNumber)

The port type for a number value.

[`QCPortTypeString`](/documentation/Quartz/QCPortTypeString)

The port type for a string. The associated value can be an NSString object or any object that responds to the `-stringValue` or `-description` methods.

[`QCPortTypeColor`](/documentation/Quartz/QCPortTypeColor)

The port type for a color value.

[`QCPortTypeImage`](/documentation/Quartz/QCPortTypeImage)

The port type for an image.

[`QCPortTypeStructure`](/documentation/Quartz/QCPortTypeStructure)

The port type for a collection.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)