---
title: placeholder
framework: OSLog
role: symbol
role_heading: Instance Property
platforms: [iOS 15.0+, iPadOS 15.0+, Mac Catalyst 15.0+, macOS 10.15+, tvOS 15.0+, visionOS 1.0+, watchOS 8.0+]
path: oslog/oslogmessagecomponent/placeholder
---

# placeholder

The placeholder text for the message component.

## Declaration

```swift
var placeholder: String { get }
```

## Discussion

Discussion The placeholder property holds an empty value when it is the last component.

## See Also

### Reading the Message Component

- [formatSubstring](oslog/oslogmessagecomponent/formatsubstring.md)
