codesquad-member-2020 / airbnb-02 Goto Github PK
View Code? Open in Web Editor NEW숙소예약 서비스 - 2팀
숙소예약 서비스 - 2팀
커스텀 레이블 만들기
텍스트 값 상수는 뷰모델에 있어야함을 기억하자
프로토콜만 채택하면 shadow한 레이어가 반영되도록 리팩토링한다.
이유: shadow 레이어가 서치바에만 있는 줄 알고 재사용을 안했지만 맵 뷰에도 shadow 레이어 쓰인걸 알아서 프로토콜화 할 것이다.
프로토콜 명: Shadow
ImagePagingView
라고 짓는다.
@IBInspectable
사용@IBInspectable
사용@IBInspectable
사용뷰 - 뷰모델 - 모델 와 같이 객체를 나누는 이유는 SRP를 지키기 위함이고, 느슨한 결합을 하기 위해 하는 것이다.
=> 뷰가 뷰모델 상수값을 내부에서 할당시키는 것은 엄청난 커플링이다. 바로 지워야 한다.
=> 로컬라이즈는 실제로 생기는 경우만 생각하자. 지금은 생각할 필요가 없다.
=> @IBInspectable
을 무조건 사용해야 한다. 코딩표준을 지켜야 한다.
requestBNB( from bnbRequest: BNBRequest, with bnbTask: BNBTask, completionHandler: @escaping ([BNB]? )
를 구현하여 모델데이터를 핸들러로 던지도록 한다.ImageUseCase
Cache
GuideLabelViewModel
@Embedded
)@Enumerated(EnumType.String)
찾아보기@NotNull
package 찾아보기Henry: Stream을 공부해서 잘 써야겠다. 굉장히 유용한 듯.
Sigrid: GetMapping Overloading 되는 것이 신기했다. 매주 리뷰를 보내니 피드백 할 수 있어서 좋았다.
BNBTask
@IBDesignable
사용하기@Transactional
을 붙여보면 테스트 이후에 DB 롤백을 해준다.@RequestParam
사용하여 url 형식 작성1. 날짜
- checkin, checkout
2. 인원
- adults
3. 가격
- price_min, price_max
4. 위치
- location
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.