iOS 앱 프로그래밍 11

[iOS Dev]Apply UINavigationController - Programmatically

iOS App Development Study - How to apply UINavigationController in Code iOS 어플 개발 공부 - 코드로 UINavigationController 적용하기 개발 환경 : MacBook Pro (13-inch, M1, 2020), Monterey XCode : Version 13.1 (13A1030d), Swift5 시뮬레이터 : iPhone 11 SceneDelegate 내 func scene() 코드 수정 func scene(_ scene: UIScene, willConnectTo session: UISceneSession, options connectionOptions: UIScene.ConnectionOptions) { // Use this ..

[iOS Dev]UIFont.preferredFont(forTextStyle: UIFont.TextStyle)

iOS App Development Study - How to add UIFont iOS 어플 개발 공부 - UIFont를 사용하여 텍스트 스타일 적용하기 개발 환경 : MacBook Pro (13-inch, M1, 2020), Monterey XCode : Version 13.1 (13A1030d) 시뮬레이터 : iPhone 11 font1.font = UIFont.preferredFont(forTextStyle: .body) font2.font = UIFont.preferredFont(forTextStyle: .callout) font3.font = UIFont.preferredFont(forTextStyle: .caption1) font4.font = UIFont.preferredFont(forTe..

[iOS Dev] Add UIButton, Alert programmatically

iOS App Development Study - Study about Alert iOS 어플 개발 공부 - 얼럿 공부 개발 환경 : MacBook Pro (13-inch, M1, 2020), Monterey XCode : Version 13.1 (13A1030d), Swift5 시뮬레이터 : iPhone 11 ViewController import UIKit class ViewController: UIViewController { let button = UIButton(frame: CGRect(x: 0, y: 0, width: 200, height: 50)) override func viewDidLoad() { super.viewDidLoad() // set the btn button.center = ..

[iOS Dev][AutoLayout] How to add UILabel with constraints - programmatically

iOS App Development Study - [AutoLayout] How to add UILabel with constraints - programmatically iOS 어플 개발 공부 - [오토레이아웃] 코드에서 Constraint 적용한 UILabel 추가하기 개발 환경 : MacBook Pro (13-inch, M1, 2020), Monterey XCode : Version 13.1 (13A1030d) 시뮬레이터 : iPhone 11 import UIKit class ViewController: UIViewController { let textLabel1 = UILabel() let textLabel2 = UILabel() let textLabel3 = UILabel() let textLa..

[iOS Dev] To-Do Management Application Using Core Data

iOS App Development Study - To-Do Management Application Using Core Data iOS 어플 개발 공부 - 투두 관리 어플(코어 데이터 사용) 개발 환경 : MacBook Pro (13-inch, M1, 2020), Monterey XCode : Version 13.1 (13A1030d) 시뮬레이터 : iPhone 11 Core Data를 사용해 앱 종료 및 재실행해도 사용자가 추가한 데이터가 유지되도록 작성 추가, 편집, 삭제 기능

[iOS Dev] Hello World! (Storyboard, programmatically)

iOS App Development Study - How to print "Hello World!" in Storyboard and in Code iOS 어플 개발 공부 - 두 가지 방법으로 "Hello World!" 출력하기(스토리보드, 코드) 개발 환경 : MacBook Pro (13-inch, M1, 2020), Monterey XCode : Version 13.1 (13A1030d) 시뮬레이터 : iPhone 11 import UIKit class ViewController: UIViewController { let textLabel = UILabel() override func viewDidLoad() { super.viewDidLoad() self.view.addSubview(textLabel..

[Yagom.net] Up-Down Game

Yagom.net > Cources > iOS > ios-starter-uikit 야곰닷넷의 '왕초보를 위한 iOS 앱개발' 코스 수강에 대한 결과물입니다. 개발 환경 : MacBook Pro (13-inch, M1, 2020), Monterey XCode : Version 13.1 (13A1030d) 시뮬레이터 : iPhone 11 완성 후 시연 영상 전체 ViewController 코드 import UIKit class ViewController: UIViewController { var randomValue: Int = 0 var tryCount: Int = 0 @IBOutlet weak var slider: UISlider! @IBOutlet weak var tryCountLabel: UILabe..