<!--
{
  "availability" : [
    "iOS: 2.0.0 -",
    "iPadOS: 2.0.0 -",
    "macCatalyst: 13.0.0 -",
    "macOS: 10.0.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Foundation",
  "identifier" : "/documentation/Foundation/Timer/userInfo",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Foundation"
    ],
    "preciseIdentifier" : "c:objc(cs)NSTimer(py)userInfo"
  },
  "title" : "userInfo"
}
-->

# userInfo

The receiver’s `userInfo` object.

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

## Discussion

Do not access this property after the timer is invalidated. Use [`isValid`](/documentation/Foundation/Timer/isValid) to test whether the timer is valid.

## See Also

[`+  timerWithTimeInterval:target:selector:userInfo:repeats:`](/documentation/Foundation/Timer/init(timeInterval:target:selector:userInfo:repeats:))

Initializes a timer object with the specified object and selector.

[`+  scheduledTimerWithTimeInterval:target:selector:userInfo:repeats:`](/documentation/Foundation/Timer/scheduledTimer(timeInterval:target:selector:userInfo:repeats:))

Creates a timer and schedules it on the current run loop in the default mode.

[`-  invalidate`](/documentation/Foundation/Timer/invalidate())

Stops the timer from ever firing again and requests its removal from its run loop.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)