Coder Social home page Coder Social logo

kimhyeri / weatherapp Goto Github PK

View Code? Open in Web Editor NEW
26.0 1.0 5.0 5.59 MB

Copy APPLE weather app

License: MIT License

Swift 100.00%
project apple appleweatherapp weatherapp apple-weather-app apple-app apple-weather-application ios-weather ios-weather-app ios-apple-weather

weatherapp's Introduction

WeatherAPP

kakaopay assignment

날씨 OpenAPI를 이용해서 Apple 기본 날씨앱 또는 Yahoo 날씨앱과 유사한 기능셋을 구현하십시오.

SCREEN

텍스트목록


텍스트목록 텍스트목록 텍스트목록 텍스트목록 텍스트목록 텍스트목록 텍스트목록 텍스트목록 텍스트목록 텍스트목록 텍스트목록 텍스트목록 텍스트목록 텍스트목록


필수 구현사항

  • Networking
  • Model & Parser
  • API의 응답을 이용한 날씨 정보 화면 구성
  • 검색
    • MapKit을 이용해서 도시명 검색
    • MapKit을 통해 얻어낸 검색된 도시의 위/경도 좌표로 날씨 API 호출
    • 검색된 도시정보를 앱 재시작 시, 반영될 수 있도록 구현

제약사항

  • OpenSource 사용금지
  • Swift
  • 웹상에 공개된 날씨앱 샘플의 Copy Code는 평가하지 않습니다.

디자인

  • 앱을 구성하는 이미지등의 디자인 resource는 평가 대상이 아닙니다.

weatherapp's People

Contributors

kimhyeri avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

weatherapp's Issues

Refactoring

ToDoList

Follow code convention
Extract same feature function
Remove unused code 🤦‍♀️
Clarify functions

Save selected city

UserDefault 활용

  • Coordinate구조체 형식으로 저장
  • 현재 위치는 저장하지 않으며, 검색으로 찾은 city들만 저장함.
  • 현재 위치는 항상 index 0 에 저장하기 때문에 저장할 Coordinate는 index 0을 제거한 나머지를 저장하는 형태로 진행함.
if myCities.count > 1 {
               let exceptData = myCities.remove(at: 0)
               UserDefaults.standard.set(try? PropertyListEncoder().encode(exceptData), forKey:"cities")
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.