<!--
{
  "availability" : [
    "iOS: 2.0.0 - 9.0.0",
    "iPadOS: 2.0.0 - 9.0.0",
    "macCatalyst: 13.1.0 - 13.1.0"
  ],
  "documentType" : "symbol",
  "framework" : "AddressBook",
  "identifier" : "/documentation/AddressBook/ABGroupCreateInSource(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "Address Book"
    ],
    "preciseIdentifier" : "c:@F@ABGroupCreateInSource"
  },
  "title" : "ABGroupCreateInSource(_:)"
}
-->

# ABGroupCreateInSource(_:)

Creates a group in a particular source.

```
func ABGroupCreateInSource(_ source: ABRecord!) -> Unmanaged<ABRecord>!
```

## Parameters

`source`

The source to create the group in.

## Return Value

A new group in the specified source.

## Discussion

If `source` is `NULL`, the group is created in the default source.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)