---
title: "init(_:)"
framework: wifiinfrastructure
role: symbol
role_heading: Initializer
path: "wifiinfrastructure/wimacaddress/init(_:)-9xhxx"
---

# init(_:)

Create a MAC Address from the provided octet components.

## Declaration

```swift
init?(_ macAddressComponents: [UInt8])
```

## Parameters

- `macAddressComponents`: The native value for the MAC Address in octet components, as defined in the standard.

## Return Value

Return Value The mac address, or nil if the input data was invalid and it could not be constructed.

## See Also

### Working with MAC Addresses as octet components

- [components](wifiinfrastructure/wimacaddress/components.md)
