# `TDReader initWithString:`

*Initializer*

## Declaration

```swift
init!(string s: String!)
```

```objc
- (instancetype) initWithString:(NSString *) s;
```

```python
initWithString_(s: str) -> TDReader
```

## Parameters

- `s` — String from which to read

## Return Value

An initialized reader

## Discussion

Designated Initializer. Initializes a reader with a given string.

