Classes
The following classes are available globally.
-
카카오 SDK 공통의 환경변수 설정을 위한 클래스입니다.
싱글톤으로 제공되는 인스턴스를 사용해야 하며 다음과 같이 초기화할 수 있습니다.
// AppDelegate.swift func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { KakaoSDKCommon.shared.initSDK(appKey: "<#Your App Key#>") return true }
Important
SDK 초기화가 수행되지 않으면 SDK 내 모든 기능을 사용할 수 없습니다. 반드시 가장 먼저 실행되어야 합니다.Declaration
Swift
public final class KakaoSDKCommon