---
title: "init(style:)"
framework: uikit
role: symbol
role_heading: Initializer
path: "uikit/uitableviewcontroller/init(style:)"
---

# init(style:)

Initializes a table view controller to manage a table view of a given style.

## Declaration

```swift
init(style: UITableView.Style)
```

## Parameters

- `style`: A constant that specifies the style of table view that the controller object is to manage (doc://com.apple.uikit/documentation/UIKit/UITableView/Style-swift.enum/plain or doc://com.apple.uikit/documentation/UIKit/UITableView/Style-swift.enum/grouped).

## Return Value

Return Value An initialized UITableViewController object.

## Discussion

Discussion If you use the standard init method to initialize a UITableViewController object, a table view in the plain style is created.

## See Also

### Creating a table view controller

- [init(nibName:bundle:)](uikit/uitableviewcontroller/init(nibname:bundle:).md)
- [init(coder:)](uikit/uitableviewcontroller/init(coder:).md)
