---
title: wrapComponents
framework: foundation
role: symbol
role_heading: Type Property
path: foundation/nscalendar/options/wrapcomponents
---

# wrapComponents

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
static var wrapComponents: NSCalendar.Options { get }
```

## See Also

### Constants

- [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)
- [NSWrapCalendarComponents](foundation/nswrapcalendarcomponents.md)
