Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[iOS] Alamofire 적용 #38

Closed
3 tasks done
eeeesong opened this issue Apr 24, 2021 · 1 comment
Closed
3 tasks done

[iOS] Alamofire 적용 #38

eeeesong opened this issue Apr 24, 2021 · 1 comment
Assignees
Labels
ios 모바일 개발을 위한 태그

Comments

@eeeesong
Copy link
Collaborator

eeeesong commented Apr 24, 2021

DataTask 처리 코드를 효율적으로 작성하기 위해 적용

  • Alamofire 설치 및 사용법 학습
  • URLSession -> Alamofire 변경
  • URLSession과 Alamofire의 차이점 정리
@eeeesong eeeesong added the ios 모바일 개발을 위한 태그 label Apr 24, 2021
@eeeesong eeeesong added this to the iOS App 개발하기 milestone Apr 24, 2021
@eeeesong
Copy link
Collaborator Author

eeeesong commented Apr 25, 2021

URLSession (Foundation) & Alamofire

  • Alamofire를 쓰면 Request Type이나 Error Type을 따로 설정해주지 않아도 돼서 편리하다
  • 필요한 method들을 chaining 방식으로 사용할 수 있어서 코드가 간단해진다
  • Alamofire가 제공하는 HTTPRequest 타입인 DataRequest도 URLSession Task와 마찬가지로 Combine과 호환되어 바로 Combine의 메소드를 이어서 사용할 수 있다

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ios 모바일 개발을 위한 태그
Development

No branches or pull requests

2 participants