일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- RunningTimer
- 한국어 개인정보처리방침
- Xcode
- Startign Assignments
- 클로저의 캡슐화
- 서체관리자
- Protocol
- font book
- Required Reason API
- UIAlertAction
- CoreLocation
- weatherKit
- 단일 책임원칙
- MKMapItem
- addannotation
- SwiftUI Boolean 값
- 러닝타이머
- swift
- AnyObject
- Timer
- MKMapViewDelegate
- 영문 개인정보처리방침
- dispatchsource
- weak var
- WeatherManager
- App Store Connect
- xcode로 날씨앱 만들기
- CLLocationManagerDelegate
- UICollectionViewFlowLayout
- 러닝기록앱
Archives
- Today
- Total
VesselWheel
DTO(Data Tranfer Object)란? 본문
https://forums.developer.apple.com/forums/thread/700882
Is DTO pattern in iOS really benef… | Apple Developer Forums
It depends on your app. If you have a complex app with different layers like services and repositories or DAOS implementing this pattern could be positive for you. You can hide your business logic and improve your memory usage not using data you don't need
forums.developer.apple.com
DTO (Data Transfer Object)
- 데이터 전송을 위한 객체
- 데이터를 오브젝트로 변환하는 객체
- 같은 시스템에서 사용되는 것이 아닌 다른 시스템으로 전달하는 작업을 처리하는 객체
- 메소드 호출 횟수를 줄이기 위해 데이터를 담고 있는 것
- 로직을 가지지 않는 순수한 데이터 객체
- VO + set 으로 볼 수 있다.
- 가변성
'Xcode Study' 카테고리의 다른 글
MapKit을 활용한 킥보드 앱 지도화면 만들기 (0) | 2024.02.21 |
---|---|
TIL 열심히 하자! (0) | 2024.02.20 |
5일치 3시간 단위 날씨예보 배열에 넣기(with OpenWeatherMap) (2/2) (0) | 2024.02.15 |
5일치 3시간 단위 날씨예보 배열에 넣기(with OpenWeatherMap) (1/2) (0) | 2024.02.13 |
3시간 단위 5일치 OpenWeatherMap API를 활용한 데이터 호출 (1) | 2024.02.13 |