---
title: "signatureWithObjCTypes:"
framework: foundation
role: symbol
role_heading: Type Method
path: "foundation/nsmethodsignature/signaturewithobjctypes:"
---

# signatureWithObjCTypes:

Returns an NSMethodSignature object for the given Objective-C method type string.

## Declaration

```occ
+ (NSMethodSignature *) signatureWithObjCTypes:(const char *) types;
```

## Parameters

- `types`: An array of characters containing the type encodings for the method arguments.

## Return Value

Return Value An NSMethodSignature object for the given Objective-C method type string in types.
