---
title: EKStructuredLocation
framework: eventkit
role: symbol
role_heading: Class
path: eventkit/ekstructuredlocation
---

# EKStructuredLocation

A class that specifies a geofence to activate the alarm of a calendar item.

## Declaration

```swift
class EKStructuredLocation
```

## Overview

Overview Use init(title:) to create a new structured location, then set it to the structuredLocation property of an EKAlarm object.

## Topics

### Creating Structured Locations

- [init(title:)](eventkit/ekstructuredlocation/init(title:).md)
- [init(mapItem:)](eventkit/ekstructuredlocation/init(mapitem:).md)

### Accessing Structured Location Properties

- [title](eventkit/ekstructuredlocation/title.md)
- [geoLocation](eventkit/ekstructuredlocation/geolocation.md)
- [radius](eventkit/ekstructuredlocation/radius.md)

## Relationships

### Inherits From

- [EKObject](eventkit/ekobject.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSCopying](foundation/nscopying.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)

## See Also

### Alarms

- [Setting an alarm](eventkit/setting-an-alarm.md)
- [EKAlarm](eventkit/ekalarm.md)
