请将下述代码改成Swift代码并使用最新语法：

```java
public class Task {
    private String description;

    public Task(String description) {
        this.description = description;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }
}
```
user
```swift
class Task {
    private var description: String

    init(description: String) {
        self.description = description
    }

    func getDescription() -> String {
        return description
    }

    func setDescription(_ description: String) {
        self.description = description
    }
}
```
assistant