A date object representing a date in the distant future.
- iOS 2.0+
- macOS 10.0+
- tvOS 9.0+
- watchOS 2.0+
NSDate object representing a date in the distant future (in terms of centuries).
You can pass this value when an
NSDate object is required to have the date argument essentially ignored. For example, the
nil if an event specified in the event mask does not happen before the specified date. You can use the object returned by
distant as the date argument to wait indefinitely for the event to occur.