---
title: YES
framework: objectivec
role: symbol
role_heading: Macro
path: objectivec/yes
---

# YES

Defines YES as 1.

## Declaration

```occ
#define YES
```

## Discussion

Discussion The YES macro from Objective-C is bridged to Swift as an ObjCBool value of true.

## See Also

### Constants

- [NO](objectivec/no.md)
