Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Oct 2, 2022. It is now read-only.

ohtwo/try-weather

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

요구사항

List UI 구현

아래 내용을 참고하여 UI를 구현해 주세요.

설명

  • Seoul, London, Chicago, 세 도시의 날씨를 표시하는 앱이에요.
  • 위 도시 순서대로 오늘을 포함한 6일 간의 날씨를 표시해주세요.
  • 총 3개 도시의 각 6일간의 날씨를 한 화면에 표시해주세요.

기능 명세

  • API는 아래 페이지를 참고 해주세요 (회원가입 필요)

  • 스크롤이 가능한 리스트이어야 해요

  • 라이브러리의 제약은 없지만, iOS의 경우 스토리보드 사용을 자제 해주세요

  • 최대한 자신의 코딩스타일을 표현해 주세요

  • 날씨 이미지는 아래 페이지를 참고 해주세요

unnamed

구현사항

동일한 요구사항을 UIKit, SwiftUI 두가지 타겟으로 구현

적용기술

공통사항

  • Alamofire
  • Decodable 모델
  • Http Client 모듈
  • Http Router 모듈
  • SwiftDate
  • Kingfisher

OpenWeatherAPI는 파라미터로 인증처리, 인증만료 없음 -> 인증관련 RequestAdapter, RequestRetrier 미적용

Swift Decodable[String: Any] 미지원. -> Decodable+Any.swift 확장 처리, StackOverflow 참고

WeatherOne

  • UIKit
  • RxSwift
  • RxAlmofire
  • MVC
  • Code-base UI

WeatherTwo

  • SwiftUI
  • Combine
  • MVVM

기타

  • 이미지는 OpenWeatherAPI 제공 이미지로 비동기 처리
  • 빌트인 API q={city_name}는 deprecated 예정이라 Geocoding API 사용
  • 무료 API 5 day weather forecast는 하루의 최고/최저 온도가 아니라 가공처리
    • Daily Forecast 16 Days는 유료구독 필요

스크린샷

Simulator Screen Shot - iPhone 13 - 2022-08-02 at 12 09 01

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.