---
title: target
framework: foundation
role: symbol
role_heading: Instance Property
path: foundation/nsinvocation/target
---

# target

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

## Declaration

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

## Discussion

Discussion The target is the receiver of the message sent by invoke.

## See Also

### Related Documentation

- [invokeWithTarget:](foundation/nsinvocation/invokewithtarget:.md)

### Configuring an Invocation Object

- [selector](foundation/nsinvocation/selector.md)
- [setArgument:atIndex:](foundation/nsinvocation/setargument:atindex:.md)
- [getArgument:atIndex:](foundation/nsinvocation/getargument:atindex:.md)
- [argumentsRetained](foundation/nsinvocation/argumentsretained.md)
- [retainArguments](foundation/nsinvocation/retainarguments.md)
- [setReturnValue:](foundation/nsinvocation/setreturnvalue:.md)
- [getReturnValue:](foundation/nsinvocation/getreturnvalue:.md)
