스플래시 페이지 추가

This commit is contained in:
Yu Sung
2023-08-09 16:52:36 +09:00
parent 058c907609
commit 84d3dd61ca
27 changed files with 932 additions and 6 deletions

View File

@@ -0,0 +1,16 @@
//
// Constants.swift
// SodaLive
//
// Created by klaus on 2023/08/09.
//
import Foundation
let BASE_URL = "https://api.sodalive.net"
let APPLY_YOZM_CREATOR = "https://forms.gle/mmhJKmijjVRnwtdZ7"
let AGORA_APP_ID = "e34e40046e9847baba3adfe2b8ffb4f6"
let AGORA_APP_CERTIFICATE = "15cadeea4ba94ff7b091c9a10f4bf4a6"
let BOOTPAY_APP_ID = "64c35be1d25985001dc50c88"

View File

@@ -0,0 +1,23 @@
//
// Log.swift
// yozm
//
// Created by klaus on 2022/05/20.
//
import Foundation
func DEBUG_LOG(_ msg: String, file: String = #file, function: String = #function, line: Int = #line) {
#if DEBUG
let filename = file.split(separator: "/").last ?? ""
let funcName = function.split(separator: "(").first ?? ""
print("👻 [\(filename)] \(funcName)(\(line)): \(msg)")
#endif
}
func ERROR_LOG(_ msg: String, file: String = #file, function: String = #function, line: Int = #line) {
let filename = file.split(separator: "/").last ?? ""
let funcName = function.split(separator: "(").first ?? ""
print("🤯😡 [\(filename)] \(funcName)(\(line)): \(msg)")
}