Docs / Frameworks & integrations

Xcode (Apple platforms)

From Swift, call the REST endpoint directly or via any OpenAI-compatible Swift package with a custom base URL. Streaming works over SSE.

Configure

Point the client at the gateway base URL with your key:

Swift
var request = URLRequest(url: URL(string: "https://api.jackz.ai/v1/chat/completions")!)
request.httpMethod = "POST"
request.setValue("Bearer (apiKey)", forHTTPHeaderField: "Authorization")
request.setValue("application/json", forHTTPHeaderField: "Content-Type")

Notes

Any model slug from the catalog works. Refer to the tool's own documentation for advanced configuration.

Official docs: developer.apple.com/xcode/ ↗