A complete example app demonstrating how to integrate the AppGram iOS SDK into your iOS application.
git clone https://github.com/AppGram/apple-sdk-example-app.git
cd apple-sdk-example-appopen AGSandbox.xcodeprojUpdate AGSandboxApp.swift with your AppGram credentials:
AppGramSDK.shared.configure(
projectId: "your-project-id",
apiKey: "your-api-key"
)Select a simulator or device and run the app.
| Example | File | Description |
|---|---|---|
| Complete App | CompleteExampleApp.swift |
Full-featured example with all SDK features |
| Feedback | FeedbackExample.swift |
Feature requests and voting |
| Support | SupportExample.swift |
Support ticket management |
| Help Center | HelpCenterExample.swift |
Help articles and flows |
| Roadmap | RoadmapExample.swift |
Product roadmap display |
| Survey | SurveyExample.swift |
User surveys |
| Contact Form | ContactFormExample.swift |
Contact forms |
| Blog | BlogExample.swift |
Blog posts |
| UIKit | UIKitExamples.swift |
UIKit integration |
AGSandbox/
├── AGSandboxApp.swift # App entry point with SDK configuration
├── ContentView.swift # Main view
├── Examples/ # Feature examples
│ ├── FeedbackExample.swift
│ ├── SupportExample.swift
│ ├── HelpCenterExample.swift
│ └── ...
└── Style/
└── AppGramStudioTheme.swift # Custom theme example
See Style/AppGramStudioTheme.swift for how to create a custom theme:
import AppGramSDK
struct AppGramStudioTheme {
static let theme = AppGramTheme(
colors: ColorPalette(
primary: .blue,
secondary: .purple,
// ... customize colors
)
)
}import AppGramSDK
struct MyView: View {
var body: some View {
NavigationStack {
List {
NavigationLink("Feedback") {
try? AppGramSDK.shared.feedbackView()
}
NavigationLink("Support") {
try? AppGramSDK.shared.supportView()
}
}
}
}
}import AppGramSDK
struct CustomFeedbackView: View {
@State private var wishes: [Wish] = []
var body: some View {
List(wishes) { wish in
Text(wish.title)
}
.task {
let service = try? AppGramSDK.shared.getFeedbackService()
wishes = (try? await service?.getWishes()) ?? []
}
}
}- iOS 17.0+
- Xcode 15.0+
- Swift 5.9+
Copyright 2026 AppGram. All rights reserved.