---
title: "init(accountType:)"
framework: accounts
role: symbol
role_heading: Initializer
path: "accounts/acaccount/init(accounttype:)"
---

# init(accountType:)

Initializes a new account of the specified type.

## Declaration

```swift
init!(accountType type: ACAccountType!)
```

## Parameters

- `type`: The type of this account.

## Return Value

Return Value The newly initialized account.
