Introducing the Composition Root Pattern in a Swift Codebase

CompositionRoot 를 SwiftCodeBase 에 적용하기

2024-11-15 · 7 min · cydave

Fundamentals of type-driven code part1

Type Driven Code 의 기본 원리

2024-10-25 · 3 min · cydave

Swinject Tutorial for iOS

  • 원문: https://www.kodeco.com/17-swinject-tutorial-for-ios-getting-started
  • 이 튜토리얼에서는 Swift로 작성된 의존성 주입 프레임워크인 Swinject를 통해 의존성 주입(DI)의 개념에 대해 알아본다
2024-02-22 · 2 min · cydave

Refactoring Massive App Delegate

Refactoring Massive App Delegate

실제 production app 을 개발하다 보면 AppDelegate 클래스가 쉽게 비대해지고 파일수가 어마어마하게 늘어나는 경우가 비일비재하다. 이를 refactoring 하는 방법

2021-02-01 · 1 min · cydave

Sign in with Apple

Apple SignIn feature를 DelegateProxy 를 이용하여 Rx Extension 구현

2020-12-05 · 1 min · cydave

SwiftUI Custom View Modifiers

SwiftUI에서 ViewModifier 를 이용하여 Custom View를 만드는 방법

2020-11-27 · 1 min · cydave

Enum-Driven TableView Development

Swift State Enum 을 이용하여 tableview의 empty, pagination, error view를 처리하는 방법

2020-11-09 · 1 min · cydave

integrating swiftui with uikit

UIKit 에서 SwiftUI View 를 호출하는 방법

2020-09-14 · 1 min · cydave

integrating swiftui with uikit

UIKit 에서 SwiftUI View 를 호출하는 방법

2020-09-14 · 1 min · cydave

swift composable architecture part_1

2020-04-14 · 1 min · cydave

swift composable architecture part_1

2020-04-14 · 1 min · cydave

ListController like SwifUI's List

Micro Lib를 이용하여 swiftUI의 List와 유사하게 collectionView를 구성

2020-03-16 · 1 min · cydave

ListController like SwifUI's List

Micro Lib를 이용하여 swiftUI의 List와 유사하게 collectionView를 구성

2020-03-16 · 1 min · cydave

Building Better View

Model, ViewModel 을 view로 보여주어야 할떄 viewData protocol 을 이용하여 일관적으로 view를 configure 하는 방법

2020-03-15 · 2 min · cydave

UICollectionView, full width cells, allow autolayout dynamic height

CollectionView 를 이용해 tableview와 유사한 ListView를 사용하면서 tableview의 dynamic height와 같이 autolayout 기반의 dynamic height를 구현하는 코드

2020-02-27 · 1 min · cydave

usage-official-swift-log

Apple의 official swift-log package를 이용하여 os unified logging를 사용하는 방법

2020-01-06 · 1 min · cydave

usage-official-swift-log

Apple의 official swift-log package를 이용하여 os unified logging를 사용하는 방법

2020-01-06 · 1 min · cydave

inputAccessoryView SafeLayoutGuide fix

keyboard 위에 추가 뷰를 만들려면 NotificationHandler로 직접 콘트롤해도 되지만 inputAccessoryView 를 override해서 view를 재정의해주면 간단하다 하지만 iphone x 이상 safelayout 을 인식하지 못하는 문제가 있다 이를 해결하기 위한 코드

2019-11-28 · 1 min · cydave

fluid interface effect

wwdc2018 세션중 하나인 Designing Fluid Interfaces 를 직접 구현한 opensource중 button 구현에 대해 정리

2019-11-27 · 1 min · cydave

fluid interface effect

wwdc2018 세션중 하나인 Designing Fluid Interfaces 를 직접 구현한 opensource중 button 구현에 대해 정리

2019-11-27 · 1 min · cydave

Reuable Protocol

Reusable protocol 을 이용하여 cell register , dequeueReusableCell

2019-11-22 · 1 min · cydave

StackViewControllable

상속대신 프로토콜을 이용하여 StackViewController 구현방법

2019-11-18 · 1 min · cydave

UIStackViewController

UITableView, UICollectionView를 쓰지 않고 간단히 UIScrollView에 UIStackView를 addView해서 사용하는 법

2019-11-18 · 1 min · cydave