목록Swfit (3)
투케이2K
[개발 환경 설정] 개발 툴 : XCODE 개발 언어 : SWIFT [소스 코드] func deviceModelName() -> String { print("") print("===============================") print("[ViewController >> deviceModelName() :: 디바이스 모델 명칭 확인 실시]") print("===============================") print("") // [1]. 시뮬레이터 체크 수행 실시 var modelName = ProcessInfo.processInfo.environment["SIMULATOR_DEVICE_NAME"] ?? "" if modelName != nil && modelName.isEmp..
[개발 환경 설정] 개발 툴 : XCODE 개발 언어 : SWIFT [방법 설명] [소스 코드] import UIKit @main class AppDelegate: UIResponder, UIApplicationDelegate { func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { print("") print("===============================") print("[AppDelegate >> didFinishLaunchingWithOptions]") print("[설명 : 앱 프..
[개발 환경 설정] 개발 툴 : XCODE 개발 언어 : SWIFT [방법 설명] [참고 사이트] https://pewpewthespells.com/blog/buildsettings.html Xcode Build Settings Reference Values 0: None: Do not optimize. * With this setting, the compiler's goal is to reduce the cost of compilation and to make debugging produce the expected results. Statements are independent: if you stop the program with a breakpoint between s..