Skip to content

Instantly share code, notes, and snippets.

@KevinBlock-GC
Created June 2, 2025 12:03
Show Gist options
  • Save KevinBlock-GC/82d37ab3ad6c4521c00cc4c403cd39fd to your computer and use it in GitHub Desktop.
Save KevinBlock-GC/82d37ab3ad6c4521c00cc4c403cd39fd to your computer and use it in GitHub Desktop.
import Foundation
import UIKit
import ComposeApp
class AppDelegate: NSObject, UIApplicationDelegate {
func application(_ application: UIApplication,
didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey : Any]? = nil) -> Bool {
print("AppDelegate: didFinishLaunchingWithOptions - Calling KMP init.")
// Call your kmp initializer kotlin code!
KMPInitializerKt.onDidFinishLaunchingWithOptions()
return true
}
// You can add other AppDelegate methods here if needed (like push notifications)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment