# `GSObjectPasteboardWriter initWithRepresentedObject:pasteboardType:`

*Initializer*

## Declaration

```swift
init(representedObject: Any, pasteboardType: NSPasteboard.PasteboardType)
```

```objc
- (instancetype) initWithRepresentedObject:(id) representedObject pasteboardType:(NSPasteboardType) pasteboardType;
```

```python
initWithRepresentedObject_pasteboardType_(representedObject: object, pasteboardType: NSPasteboardType) -> GSObjectPasteboardWriter
```

