본문 바로가기

개발자의 삽질

검색하기
개발자의 삽질
프로필사진 uniqueimaginate

  • 분류 전체보기 (29)
    • iOS (14)
    • Swift (13)
    • 알고리즘 (0)
    • CS (0)
    • Architecture (2)
    • Objective - C (0)
    • WebRTC (0)
Guestbook
Notice
Recent Posts
Recent Comments
Link
  • 깃헙
«   2025/07   »
일 월 화 수 목 금 토
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
Tags
  • 뷰컨트롤러
  • 애플
  • ios
  • SWIFT
  • Xcode
  • Clean Architecture
  • 스위프트
  • apple
  • Initializer
  • 생성자
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록ISO8601DateFormatter (1)

개발자의 삽질

[iOS] ISO8601DateFormatter 를 이용해 날짜 데이터를 문자로 바꾸어보자!

https://developer.apple.com/documentation/foundation/iso8601dateformatter Apple Developer Documentation developer.apple.com 개발을 하다가 데이트 피커에서 날짜를 받아서 문자로 바꾸어줘야 할 일이 있었다. 서버에서 요구하는 포맷이 ISO8601 이었기 때문에 ISO8601DateFormatter 를 사용해보았다. ISO8601DateFormatter 는 Date String 이 모두 가능하지만 여기서는 Date -> String 만 다루겠다. ISO8601DateFormatter 를 이용하기 위해서는 3가지의 변수가 필요하다. Date TimeZone ISO8601DateFormatter.Options 총 1..

iOS 2022. 2. 9. 23:46
Prev 1 Next

Blog is powered by kakao / Designed by Tistory

티스토리툴바