UIKit(5)
-
[Swift] tap gesture
[ ๊ณต์ ๋ฌธ์ ์ฝ๊ธฐ ] https://developer.apple.com/documentation/uikit/uiview/1622496-addgesturerecognizer https://developer.apple.com/documentation/uikit/uitapgesturerecognizer // // UniverseSearchViewController.swift // Tars // // Created by ๊น์ํ on 2022/11/02. // import UIKit import SceneKit import ARKit enum Mode { case explore case search(planet: String) var titleText: String { switch self { case .exp..
2022.11.21 -
AppDelegate & SceneDelegate โ๏ธ
1. AppDelegate https://dev200ok.blogspot.com/2020/05/ios-appdelegate.html https://developer.apple.com/documentation/uikit/uiapplicationdelegate Apple Developer Documentation developer.apple.com @MainActor protocol UIApplicationDelegate Your app delegate object manages your app’s shared behaviors. The app delegate is effectively the root object of your app, and it works in conjunction with UIAppl..
2022.09.27 -
๐ Fileprivate ๋?
์ฒ์ ๋ณด๋ fileprivate ํค์๋ โ๏ธ private let emailLoginButton: CustomedLoginButton = { let button = CustomedLoginButton() button.setImage(UIImage(systemName: "envelope.fill"), for: .normal) button.tintColor = UIColor.black button.backgroundColor = UIColor.white button.setTitle("์ด๋ฉ์ผ๋ก ๊ฐ์ ํ๊ธฐ", for: .normal) button.setTitleColor(UIColor.black, for: .normal) button.titleLabel?.font = UIFont.systemFont(ofSize:..
2022.07.21 -
๐ [MC3: ๋ฐฅ๋จน์ธ?] SignInViewController, EmailLoginViewController ๊ตฌํ ๋ฐ ๋์์ธ 2022.07.20
-
@IBAction & @IBOutlet ๐ค
StoryBoard ์์ ์ฐ๊ฒฐ ๊ณ ๋ฆฌ ๋ด๋น ๋ณ์๋ ํจ์๋ฅผ ์ ์ํ ๋ ์์ @IBAction / @IBOutlet ํค์๋ : StoryBoard์์ ๋ฒํผ์ด๋ ๋ ์ด๋ธ๊ฐ์ ์ปดํฌ๋ํธ์ ์ฐ๊ฒฐ IBAction - Event๊ฐ ์ผ์ด๋ ๊ฒฝ์ฐ ํธ์ถ๋๋ Action์ ์ ์ - ์ ๋ ฅ์ด ๋ค์ด์์ ๋ ์ด๋ค ํ๋์ ํ ์ง ๋ํ๋ธ๋ค - ์คํ ๋ฆฌ ๋ณด๋ ์์ ์ ์ธํ ๋ทฐ ๊ฐ์ฒด๊ฐ ํน์ ์ด๋ฒคํธ๊ฐ ๋ฐ์ํ ๊ฒฝ์ฐ ํธ์ถ๋๋ ํจ์ - ํด๋น View๊ฐ ํน์ ์ด๋ฒคํธ๋ฅผ ๋ฐ์์์ผฐ์ ๊ฒฝ์ฐ ์ทจํ๋ ํ๋ ! IBOutlet - ๊ฐ์ ์ ๊ทผํ๊ธฐ ์ํ ๋ณ์, ๋ฐ์ดํฐ๋ฅผ ๊ฐ์ ธ์ค๋ ๊ฒ - ์คํ ๋ฆฌ ๋ณด๋ ์์ ์ ์ธํ View ๊ฐ์ฒด๋ฅผ Interface Builder(IB) ๊ฐ ์์๋ณผ ์ ์๊ฒ ๋ง๋๋ ๊ฒ : ์ฝ๋ ์์์ ์คํ ๋ฆฌ๋ณด๋์ ๋ง๋ ๋ทฐ ๊ฐ์ฒด๋ฅผ ์ฌ์ฉํ๊ธฐ ์ํด ์ฐ๊ฒฐํด์ฃผ๋ ์ญํ ์ ..
2022.06.24