# Xcode source editor extension

Follow the instructions on the `Xcode extension` tab to enable the source editor extension inside Xcode.

<figure><img src="/files/oUwDzrjnp9qMIk1VPhgh" alt=""><figcaption></figcaption></figure>

The source editor extension supports `APLConfiguration` subclasses written in both Objective-C and Swift.

* In Xcode, open your `APLConfiguration` subclass .m or .swift source file.
* Tap Editor ‣ Appfigurate SE ‣ Encrypt strings.
* All instances of `ENCRYPTED_STRING` will be updated automatically with the generated ciphertext.

If the source editor extension could not parse your .m or .swift source file, an error message will be displayed at the top of the Xcode source editor window. Follow these [Troubleshooting](/appfigurate-se-user-guide/xcode-source-editor-extension/troubleshooting.md) tips.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.electricbolt.co.nz/appfigurate-se-user-guide/xcode-source-editor-extension.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
