---
title: "init(wrappedValue:)"
framework: combine
role: symbol
role_heading: Initializer
path: "combine/published/init(wrappedvalue:)"
---

# init(wrappedValue:)

Creates the published instance with an initial wrapped value.

## Declaration

```swift
init(wrappedValue: Value)
```

## Parameters

- `wrappedValue`: The publisher’s initial value.

## Discussion

Discussion Don’t use this initializer directly. Instead, create a property with the @Published attribute, as shown here: @Published var lastUpdated: Date = Date()

## See Also

### Creating a published instance

- [init(initialValue:)](combine/published/init(initialvalue:).md)
