[iOS 향유] 상세정보 페이지 구현과정
상세정보 페이지가 까다롭다고 생각했는데 만드는 건 하다보면 되는데 화면전환 연결이 쉽지 않은것 같다...
기능 구현
✅ 상세정보 페이지
리뷰 글자가 최대 300자이기 때문에 글자 수에 따라 리뷰의 길이가 달라져서 UIView의 dynamic height를 사용했다.
https://stackoverflow.com/questions/39410796/uiview-dynamic-height-depending-on-label-height
UIView dynamic height depending on Label Height
I have a Label which takes dynamicaly some data from database. These data are strings which can sometimes be 3-4-5 rows etc. So this labe is inside a UIView. --UIView --Label How can i make the
stackoverflow.com
틀은 아래 블로그를 참고하여 개발했다.(짱!)
https://iamcho2.github.io/2021/05/01/beer-detail-view-design
맥주 상세보기 뷰 설계
Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec 27 28 29 30 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 1 2 3 4 5 6 7
iamcho2.github.io
해야할 것
카테고리 상단 탭바에서 계속 에러가 나온다. 아래의 블로그를 참고하여 수정하려고 하는데 아직까지 진전이 없다..
SwiftLint를 적용하면서 수정한 것들🙀
🐥입사 전에는 프로젝트를 할 때, 항상 SwiftLint를 적용하며 개발했었다. 입사 후, 회사 프로젝트에서는 린트가 적용되어 있지 않았고, 그 필요성을 느껴 린트 적용을 제안했다. 작성되어 있던 코
pilvi.tistory.com
https://github.com/realm/SwiftLint/issues/145
How to ignore some instances of the force cast rule · Issue #145 · realm/SwiftLint
I have some cases where I want to use a force cast - e.g. when it would be a programming error if the force failed. One example is loading a view controller from a storyboard. Is there any way to i...
github.com
그리고 화면전환을 생각하지 않고 개발을 하다보니 꼬인 것 같다.. 한번 정리하는 시간을 가져야 할 것 같다.