<!--
{
  "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/NSInvocation/target",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Foundation"
    ],
    "preciseIdentifier" : "c:objc(cs)NSInvocation(py)target"
  },
  "title" : "target"
}
-->

# target

The receiver’s target, or `nil` if the receiver has no target.

```
@property (assign, nullable) id target;
```

## Discussion

The target is the receiver of the message sent by [`invoke`](/documentation/Foundation/NSInvocation/invoke).

## See Also

[`-  invokeWithTarget:`](/documentation/Foundation/NSInvocation/invokeWithTarget:)

Sets the receiver’s target, sends the receiver’s message (with arguments) to that target, and sets the return value.



---

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)