<!--
{
  "documentType" : "article",
  "framework" : "ObjectiveC",
  "identifier" : "/documentation/ObjectiveC/boolean-values",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "Boolean Values"
}
-->

# Boolean Values

These macros define convenient constants to represent Boolean values.

## Topics

### Constants

[`#define YES`](/documentation/ObjectiveC/YES)

Defines `YES` as `1`.

[`#define NO`](/documentation/ObjectiveC/NO)

Defines `NO` as `0`.



---

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)