From 70af5810898ab883f8e2b655df9611f12f738955 Mon Sep 17 00:00:00 2001 From: zhaoyongqiang Date: Fri, 13 Jan 2023 16:12:43 +0800 Subject: [PATCH] keyCenter file import Foundation --- .../APIExample-Audio/Common/KeyCenter.swift | 1 + .../APIExample/Common/KeyCenter.swift | 2 ++ macOS/APIExample/Common/KeyCenter.swift | 18 ++++++++++-------- 3 files changed, 13 insertions(+), 8 deletions(-) diff --git a/iOS/APIExample-Audio/APIExample-Audio/Common/KeyCenter.swift b/iOS/APIExample-Audio/APIExample-Audio/Common/KeyCenter.swift index 5d7c87040..9049907bb 100644 --- a/iOS/APIExample-Audio/APIExample-Audio/Common/KeyCenter.swift +++ b/iOS/APIExample-Audio/APIExample-Audio/Common/KeyCenter.swift @@ -5,6 +5,7 @@ // Created by GongYuhua on 6/25/16. // Copyright © 2016 Agora. All rights reserved. // +import Foundation struct KeyCenter { diff --git a/iOS/APIExample/APIExample/Common/KeyCenter.swift b/iOS/APIExample/APIExample/Common/KeyCenter.swift index 649e86b6b..2c461d515 100644 --- a/iOS/APIExample/APIExample/Common/KeyCenter.swift +++ b/iOS/APIExample/APIExample/Common/KeyCenter.swift @@ -6,6 +6,8 @@ // Copyright © 2016 Agora. All rights reserved. // +import Foundation + @objc class KeyCenter: NSObject { diff --git a/macOS/APIExample/Common/KeyCenter.swift b/macOS/APIExample/Common/KeyCenter.swift index c49cc8c0d..083933f91 100644 --- a/macOS/APIExample/Common/KeyCenter.swift +++ b/macOS/APIExample/Common/KeyCenter.swift @@ -1,11 +1,13 @@ - // - // KeyCenter.swift - // OpenLive - // - // Created by GongYuhua on 6/25/16. - // Copyright © 2016 Agora. All rights reserved. - // - +// +// KeyCenter.swift +// OpenLive +// +// Created by GongYuhua on 6/25/16. +// Copyright © 2016 Agora. All rights reserved. +// + +import Foundation + struct KeyCenter { /**