---
title: userInfo
framework: foundation
role: symbol
role_heading: Instance Property
path: foundation/timer/userinfo
---

# userInfo

The receiver’s userInfo object.

## Declaration

```swift
var userInfo: Any? { get }
```

## Discussion

Discussion Do not access this property after the timer is invalidated. Use isValid to test whether the timer is valid.

## See Also

### Related Documentation

- [init(timeInterval:target:selector:userInfo:repeats:)](foundation/timer/init(timeinterval:target:selector:userinfo:repeats:).md)
- [scheduledTimer(timeInterval:target:selector:userInfo:repeats:)](foundation/timer/scheduledtimer(timeinterval:target:selector:userinfo:repeats:).md)
- [invalidate()](foundation/timer/invalidate().md)

### Retrieving Timer Information

- [isValid](foundation/timer/isvalid.md)
- [fireDate](foundation/timer/firedate.md)
- [timeInterval](foundation/timer/timeinterval.md)
