---
title: "init(uuid:major:minor:identifier:)"
framework: corelocation
role: symbol
role_heading: Initializer
path: "corelocation/clbeaconregion/init(uuid:major:minor:identifier:)-24h7w"
---

# init(uuid:major:minor:identifier:)

Creates and returns a region object that targets beacons with the specified UUID, and major and minor values.

## Declaration

```swift
init(uuid: UUID, major: CLBeaconMajorValue, minor: CLBeaconMinorValue, identifier: String)
```

## Parameters

- `uuid`: A doc://com.apple.documentation/documentation/Foundation/NSUUID that identifies the beacons to target.
- `major`: The doc://com.apple.corelocation/documentation/CoreLocation/CLBeaconMajorValue that characterizes beacons for this region to target.
- `minor`: The doc://com.apple.corelocation/documentation/CoreLocation/CLBeaconMinorValue that characterizes beacons for this region to target.
- `identifier`: A unique identifier to associate with the returned region object. You use this identifier to differentiate regions within your app. This value can’t be nil.

## See Also

### Creating a beacon region

- [init(beaconIdentityConstraint:identifier:)](corelocation/clbeaconregion/init(beaconidentityconstraint:identifier:).md)
- [init(uuid:identifier:)](corelocation/clbeaconregion/init(uuid:identifier:)-6hg8v.md)
- [init(uuid:major:identifier:)](corelocation/clbeaconregion/init(uuid:major:identifier:)-8ur0j.md)
- [CLBeaconMajorValue](corelocation/clbeaconmajorvalue.md)
- [CLBeaconMinorValue](corelocation/clbeaconminorvalue.md)
