---
title: NSWrapCalendarComponents
framework: foundation
role: symbol
role_heading: Global Variable
path: foundation/nswrapcalendarcomponents
---

# NSWrapCalendarComponents

Specifies that the components specified for an NSDateComponents object should be incremented and wrap around to zero/one on overflow, but should not cause higher units to be incremented.

## Declaration

```swift
var NSWrapCalendarComponents: Int { get }
```

## See Also

### Constants

- [wrapComponents](foundation/nscalendar/options/wrapcomponents.md)
- [matchStrictly](foundation/nscalendar/options/matchstrictly.md)
- [searchBackwards](foundation/nscalendar/options/searchbackwards.md)
- [matchPreviousTimePreservingSmallerUnits](foundation/nscalendar/options/matchprevioustimepreservingsmallerunits.md)
- [matchNextTimePreservingSmallerUnits](foundation/nscalendar/options/matchnexttimepreservingsmallerunits.md)
- [matchNextTime](foundation/nscalendar/options/matchnexttime.md)
- [matchFirst](foundation/nscalendar/options/matchfirst.md)
- [matchLast](foundation/nscalendar/options/matchlast.md)
