λ΄μ© MVVM ν¨ν΄μ μ μ©ν΄λ³΄μ λ°μ΄ν°λ°μΈλ© λ°©λ²μ Observable ν΄λμ€ μ¬μ© QRμ½λ λ·°μ λ·°λͺ¨λΈλ§ μκ°ν΄λ³΄κ² λ€. View import UIKit import SnapKit class QRCodeViewController: UIViewController { // MARK: - Properties // β view model let viewModel = QRCodeViewModel() let closeButton = UIButton() let switchShakeButton = UIButton() let privateQuestionButton = UIButton() let titleLabel = UILabel() let subtitleLabel = UILabel() let privatetextLab..
μ΄μ κΈμ μ½κ³ μ€λ©΄ μ΄ν΄κ° λ μ λ κ²μ΄λ€. iOS) Design pattern MVVM(1/2) - MVC, MVVM μμ보기 μμ μ λμμΈ ν¨ν΄μ λν΄μλ 무μμ΄ μ λ΅μ΄λΌλ κ²μ΄ μλ€κ³ νλ€. κ·Έλ§νΌ λ§Ήμ νλ©΄ μλλ€κ³ νλ€. 무μμ΄ μ₯μ μ΄κ³ λ¨μ μΈμ§μ λν΄μ μκ³ μ¬μ©ν΄λ΄€λμ§κ° μ€μνλ€κ³ νλ€. λν νμ μμλ κ°μ νλ‘μ νΈ λ΄μμ νκ°μ§ λμμΈ ν¨ν΄λ§ μ¬μ©νμ§ μλλ€κ³ νλ€. κ·Έλμ μ΄λ€ μν©μ μ΄λ€ ν¨ν΄μ΄ μ 리νμ§μ λν΄μ μλ κ²μ΄ μ€μνλ€κ³ μκ° νλ€. λ€μ μκ°νλ mvvm ν¨ν΄μ κΈ°λ³Έμ μΈ mvvm μ ꡬμ±μμμ μΆ©μ€νκ² μ§ννλ€. μ΄κ²λ³΄λ€ λ ꡬ체μ μΈ κ΅¬μ‘°λ μκ³ κ°μ μν μ λ€λ₯΄κ² ꡬνν μ½λλ λ§λ€. μ¦, κ°μ mvvm ν¨ν΄λ΄μμλ νλν¨ν΄μ μ΄λ»κ² κ°μ Έκ°λμ λ°λΌ λ€μνλ€. νλ..
π Design Pattern λμμΈ ν¨ν΄μ μ νκ² λλ©΄ λͺ¨λ ν΄λμ€μ μμ±μ ꡬ쑰μ μΌλ‘ μ 리κ°λ₯νλ©° ν μμ μ μνν μμ¬μν΅κ³Ό μ½λ μμ μ΄ κ°λ₯νλ€. βοΈ MVC(Model-View-Controller) Model : λ°μ΄ν°μ κ΄ν λ‘μ§ λ΄λΉ(λ°μ΄ν° κ° λ³κ²½ λ° κ΄λ¦¬) View : μ¬μ©μμκ² λ³΄μ¬μ§λ νλ©΄ λ΄λΉ(UI) Controller : Model κ³Ό View μ°κ²°(Model κ°μ View μ 보μ¬μ€) μ€λ¦¬μ§λ MVC ν¨ν΄μ iOS κ°λ°μ μ ν©νμ§ μμ(Model,View,Controller κ° λ무 λ°μ νκ² μ°κ΄) μ νμμλ CocoaMVC ν¨ν΄μ μ μνλ€. Controller κ° View μ Model μ μ€μ¬μ μν μ νμ¬ View μ Model μ λ λ¦½μ± λΆμ¬. νμ§λ§ μ νμ CocoaM..
- github
- UserDefaults
- Algorithm
- APNS
- WWDC
- Firebase
- async/await
- IOS
- Notification
- WidgetKit
- RxCocoa
- SwiftUI
- MVVM
- projectsetting
- μλ²ν΅μ
- CloneCoding
- urlsession
- Swift
- WWDC22
- 2022 KAKAO TECH INTERNSHIP
- YPImagePicker
- configurable widget
- MOYA
- containerBackground
- Protocol
- Widget
- Objective-C
- watchOS
- OpenSourceLibrary
- rxswift
μΌ | μ | ν | μ | λͺ© | κΈ | ν |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 | 31 |
- Total
- Today
- Yesterday