---
title: "defaultPlaceholder(for:with:)"
framework: objectivec
role: symbol
role_heading: Type Method
path: "objectivec/nsobject-swift.class/defaultplaceholder(for:with:)"
---

# defaultPlaceholder(for:with:)

Returns an object that will be used as the placeholder for the binding, when a key value coding compliant property of an instance of the receiving class returns the value specified by marker, and no other placeholder has been specified.

## Declaration

```swift
class func defaultPlaceholder(for marker: Any?, with binding: NSBindingName) -> Any?
```

## Discussion

Discussion The marker can be nil or one of the constants described in Selection Markers.

## See Also

### Deprecated Class Methods

- [setDefaultPlaceholder(_:for:with:)](objectivec/nsobject-swift.class/setdefaultplaceholder(_:for:with:).md)
- [useStoredAccessor()](objectivec/nsobject-swift.class/usestoredaccessor().md)
