Skip to content

Commit

Permalink
Squashed commit of the following:
Browse files Browse the repository at this point in the history
commit 00662a0
Author: hyerin <hope1053@naver.com>
Date:   Fri Jul 7 10:37:40 2023 +0900

    fix: 사용하지않는 dependency 삭제

commit e8e220c
Author: hyerin <hope1053@naver.com>
Date:   Fri Jul 7 10:15:01 2023 +0900

    fix: 오탈자 수정

commit 70c615f
Author: hyerin <hope1053@naver.com>
Date:   Fri Jul 7 09:51:44 2023 +0900

    Feature/sign in UI (#61)

    * feat: SignIn Feature 생성

    * Squashed commit of the following:

    commit bf476f7
    Author: chansooo <89574881+chansooo@users.noreply.github.com>
    Date:   Wed Jun 14 14:56:44 2023 +0900

        Hotfix/lint (#50)

        * fix: lint 실행 로직 변경

        * fix: lint 규칙 프로젝트 맞게 수정

        * refactor: lint 맞게 DesignSystem/Project.swift 수정

        * refactor: lint 맞게 StudyPreview.swift 수정

        * refactor: lint 맞게 파일 이름 변경

        * refactor: lint 맞게 indent 변경

        * fix: lint 범위 해당 Target과 dependency까지로 변경

    commit 4d9d967
    Author: chansooo <89574881+chansooo@users.noreply.github.com>
    Date:   Wed Jun 14 07:09:02 2023 +0900

        Design system/profile view (#49)

        * add: 아이콘 추가

        * feat: `MOITProfileView` 구현

        * feat: `MOITProfileViewDemoApp` 구현

        ---------

        Co-authored-by: chansooooo <chansoo@vaultmicro.com>

    commit a0ef57d
    Author: SongSeoYoung <42825223+SongSeoYoung@users.noreply.github.com>
    Date:   Tue Jun 13 23:11:33 2023 +0900

        Design system/bottom sheet (#38)

        * add: BottomSheetViewController 파일 생성

        * feat: 초대링크 공유하기 UI

        * feat: bottom sheet

        * add: case 추가

        * add: Share 모듈 생성, 코드분리

        * chore: 네이밍 수정 Share -> MOITShare

        * fix: 린트 수정

        * chore: 폴더명 수정

        * fix: 코드리뷰 반영

        * fix: 빌드오류 수정

    commit 8f05b4a
    Author: SongSeoYoung <42825223+SongSeoYoung@users.noreply.github.com>
    Date:   Tue Jun 13 22:58:40 2023 +0900

        Feature/web view layer (#8)

        * feat: web view 프로젝트 기본 설정

        * feat: MOITWeb RIB 구조, 데모앱 설정

        * feat: WKWebView 초기 설정

        * feat: loading & demo app

        * chore: 코드정리

        * fix: detach안되는 이슈 수정

        * chore: 폴더 위치 변경

    commit acb398b
    Author: chansooo <89574881+chansooo@users.noreply.github.com>
    Date:   Tue Jun 13 15:44:26 2023 +0900

        Design system - StudyPreview (#41)

        * feat: StudyPreview 구현중

        * feat: 스와이프 ->  삭제 버튼 애니메이션 구현

        * add: secondary color set 추가

        * remove: 필요 없는 파일 삭제

        * feat: optinal인 view addItem 쉽게 할 수 있는 메소드 구현

        * refactor: 스와이프, 탭 부드럽게 변경

        * fix: StudyPreview UI 변경

        * feat: 버튼 누를 수 있는 뷰 추가

        * fix: StudyPreviewDemoViewController 수정

        * refactor: StudyPreview UI Center 맞게 수정

        * refactor: panGesture 로직 변경

        * refactor: final 추가

        * redactor: `layoutIfNeeded` 삭제

        ---------

        Co-authored-by: chansooooo <chansoo@vaultmicro.com>

    * design: 로그인 화면 UI 구현

    * feat: ViewController 이벤트 Interactor 전달

    * feat: impl, interface 분리 및 데모앱 연결

    * feat: Dependency 추가

    * feat: 카카오 로그인 앱 실행 허용 목록 설정

    * feat: Dependency 추가

    * feat: Kakao SDK 초기화

    * feat: SDK 추가

    * feat: dependency 추가

    * fix: file 구조 변경

    * fix: deploymentTargetversion 16으로 변경

    * Squashed commit of the following:

    commit 7da14c6
    Author: chansooo <89574881+chansooo@users.noreply.github.com>
    Date:   Fri Jun 30 00:04:13 2023 +0900

        Feature/sign up (#59)

        * feat: DesignSystemType case chip 추가

        * feat: NavigationBar 구현

        * feat: Navigationdemo 구현

        * fix: NavigationDemoViewController 이름 변경

        * fix: NavigationBar titleLabel 중앙 정렬 수정

        * feat: NavigationColorType 구현

        두가지 case로 나눠서 각각 tintcolor와 backgroundcolor 설정할 수 있도록 함

        * feat: 버튼 tintcolor 변경 위해 렌더링 모드 변경

        * add: `MOITTabPager` 생성

        * add: `MOITTabPager` 생성

        * remove: dummy file 삭제

        * feat: MOITChipType 구현

        * feat: MOITChip 구현

        * feat: MOITChipDemoViewController 구현

        * feat: DemoViewController 연결

        * feat: PagerType 구현

        * feat: TapPager 구현

        * feat: SegmentPager 구현

        * feat: PagerDemoViewController 추가

        * fix: unavailable 추가

        * feat: DemoApp Chip 폴더 추가

        * fix: enum case AssociatedValue 사용하지 않는 부분 삭제

        * feat: StudyPreview 구현중

        * feat: 스와이프 ->  삭제 버튼 애니메이션 구현

        * add: secondary color set 추가

        * remove: 필요 없는 파일 삭제

        * feat: optinal인 view addItem 쉽게 할 수 있는 메소드 구현

        * refactor: 스와이프, 탭 부드럽게 변경

        * fix: StudyPreview UI 변경

        * feat: 버튼 누를 수 있는 뷰 추가

        * fix: StudyPreviewDemoViewController 수정

        * refactor: StudyPreview UI Center 맞게 수정

        * refactor: panGesture 로직 변경

        * refactor: final 추가

        * redactor: `layoutIfNeeded` 삭제

        * feat: SignUp 기본 세팅

        * feat: Utils Target 추가

        * feat: SignUp 접근 제한자 변경

        * feat: Utils 타겟에 pinlayout, flexlayout 추가

        * feat: BaseViewController 상속받을 경우 navigateBar 설정 편리하게 구현

        * feat: StudyPreview configure 함수 구현

        * feat: ProfileView image 없이 생성, configureImage 함수 추가

        * refactor: 린트 맞게 코드 수정

        * fix: navigationBar와 flexRootView 겹치지 않게 수정

        * feat: scrollView 자동 설정

        * feat: 탭 시 키보드 사라지도록 구현

        * feat: SignUpViewController 구현

        * feat: 다음 버튼 추가

        * refactor: `MOITProfileView` 이미지 로드 로직 변경

        * feat: NavigationBar logo 추가

        * feat: ViewControllable extension 추가

        * feat: StudyList shortcut 추가

        * feat: dependency 수정

        * feat: SignUp 관련 UseCase 추가

        * feat: SignUpRepository 임시 추가

        * fix: `MOITProfileView` border 추가

        * fix: SignUpDemoApp RIBs 기반으로 생성하도록 수정

        * fix: DemoApp Dependency 설정할 수 있도록 수정

        * fix: DemoApp Dependency 설정

        * feat: SignUpDependency 추가

        * chore: 주석 삭제 및 코드 스타일 수정

        * feat: SignUp 비즈니스 로직 수정

        * fix: interactor.activate 추가

        * profileselect

        * fix: baseView flexLayout 사용에 맞게 수정

        * fix: `ProfileImageType` 참조할 수 있도록 수정

        * feat: uikit 관련 extension 추가

        * fix: bottomsheetViewController 탭 contentView 외부에서 작동하도록 수정

        * fix: MOITProfileView tap 작동방식 변경

        * feat: ProfileSelectView 구현

        * feat: ProfileSelectViewController 구현

        * feat: ProfileSelectInteractor 구현

        * fix: ProfileSelect RIBlet 생성 시 현재 이미지 인덱스 전달

        * fix: SignUpDemoApp 수정

        * feat: SignUpInteractor 로직 구현

        * feat: SignUpRouter 구현

        * feat: SignUpViewController 프로필 이미지 업데이트 구현

        * fix: imageIndex 정보 함께 넘기도록 수정

        * fix: 이미지 인덱스 파라미터 추가

        * chore: 주석 삭제

        * fix: baseViewController에 removeObserver 추가

        * chore: print문 삭제

        ---------

        Co-authored-by: hyerin <hope1053@naver.com>
        Co-authored-by: chansooooo <chansoo@vaultmicro.com>

    commit 8bdabbd
    Author: hyerin <hope1053@naver.com>
    Date:   Thu Jun 29 22:26:02 2023 +0900

        Fix/network layer fix (#55)

        * feat: Response 모델 선언

        * feat: Common Error 추가

        * feat: NetworkImpl 수정

        * feat: 옵셔널 대응

    commit 74b0f88
    Author: hyerin <hope1053@naver.com>
    Date:   Tue Jun 27 10:09:22 2023 +0900

        Feature/adjust line height (#58)

        * feat: font 타입 별 line height return 해주는 메서드 구현

        * feat: ParagraphStyle 적용하는 UILabel Extension 구현

    commit e256b51
    Author: hyerin <hope1053@naver.com>
    Date:   Mon Jun 26 11:38:29 2023 +0900

        Fix/design system fix (#56)

        * fix: Chip Configure 메서드 및 Convenience init 추가

        * fix: MOITTextField title 없는 경우 대응

        * fix: List에 MOITProfileView 적용

        * fix: List StudyOrder 및 Fine Formatter 적용

        * fix: Lint 수정

    commit bf476f7
    Author: chansooo <89574881+chansooo@users.noreply.github.com>
    Date:   Wed Jun 14 14:56:44 2023 +0900

        Hotfix/lint (#50)

        * fix: lint 실행 로직 변경

        * fix: lint 규칙 프로젝트 맞게 수정

        * refactor: lint 맞게 DesignSystem/Project.swift 수정

        * refactor: lint 맞게 StudyPreview.swift 수정

        * refactor: lint 맞게 파일 이름 변경

        * refactor: lint 맞게 indent 변경

        * fix: lint 범위 해당 Target과 dependency까지로 변경

    commit 4d9d967
    Author: chansooo <89574881+chansooo@users.noreply.github.com>
    Date:   Wed Jun 14 07:09:02 2023 +0900

        Design system/profile view (#49)

        * add: 아이콘 추가

        * feat: `MOITProfileView` 구현

        * feat: `MOITProfileViewDemoApp` 구현

        ---------

        Co-authored-by: chansooooo <chansoo@vaultmicro.com>

    commit a0ef57d
    Author: SongSeoYoung <42825223+SongSeoYoung@users.noreply.github.com>
    Date:   Tue Jun 13 23:11:33 2023 +0900

        Design system/bottom sheet (#38)

        * add: BottomSheetViewController 파일 생성

        * feat: 초대링크 공유하기 UI

        * feat: bottom sheet

        * add: case 추가

        * add: Share 모듈 생성, 코드분리

        * chore: 네이밍 수정 Share -> MOITShare

        * fix: 린트 수정

        * chore: 폴더명 수정

        * fix: 코드리뷰 반영

        * fix: 빌드오류 수정

    commit 8f05b4a
    Author: SongSeoYoung <42825223+SongSeoYoung@users.noreply.github.com>
    Date:   Tue Jun 13 22:58:40 2023 +0900

        Feature/web view layer (#8)

        * feat: web view 프로젝트 기본 설정

        * feat: MOITWeb RIB 구조, 데모앱 설정

        * feat: WKWebView 초기 설정

        * feat: loading & demo app

        * chore: 코드정리

        * fix: detach안되는 이슈 수정

        * chore: 폴더 위치 변경

    commit acb398b
    Author: chansooo <89574881+chansooo@users.noreply.github.com>
    Date:   Tue Jun 13 15:44:26 2023 +0900

        Design system - StudyPreview (#41)

        * feat: StudyPreview 구현중

        * feat: 스와이프 ->  삭제 버튼 애니메이션 구현

        * add: secondary color set 추가

        * remove: 필요 없는 파일 삭제

        * feat: optinal인 view addItem 쉽게 할 수 있는 메소드 구현

        * refactor: 스와이프, 탭 부드럽게 변경

        * fix: StudyPreview UI 변경

        * feat: 버튼 누를 수 있는 뷰 추가

        * fix: StudyPreviewDemoViewController 수정

        * refactor: StudyPreview UI Center 맞게 수정

        * refactor: panGesture 로직 변경

        * refactor: final 추가

        * redactor: `layoutIfNeeded` 삭제

        ---------

        Co-authored-by: chansooooo <chansoo@vaultmicro.com>

    * design: image, color asset 추가

    * fix: DesignSystem 수정사항 반영(profile image type)

    * design: SignIn UI 작업 중

    * design: asset 변경 및 추가

    * design: SignIn View UI 구현

commit e87d7ea
Author: hyerin <hope1053@naver.com>
Date:   Fri Jul 7 09:50:38 2023 +0900

    Feature/input participate code (#60)

    * feat: dependency 설정

    * feat: Feature 생성

    * feat: InputParticipateCode UI 작업

    * feat: 접근제어자 수정

    * feat: Demoapp 수정

    * feat: InputParticipateCode Interface, Implement 분리

    * Squashed commit of the following: develop

    commit 7da14c6
    Author: chansooo <89574881+chansooo@users.noreply.github.com>
    Date:   Fri Jun 30 00:04:13 2023 +0900

        Feature/sign up (#59)

        * feat: DesignSystemType case chip 추가

        * feat: NavigationBar 구현

        * feat: Navigationdemo 구현

        * fix: NavigationDemoViewController 이름 변경

        * fix: NavigationBar titleLabel 중앙 정렬 수정

        * feat: NavigationColorType 구현

        두가지 case로 나눠서 각각 tintcolor와 backgroundcolor 설정할 수 있도록 함

        * feat: 버튼 tintcolor 변경 위해 렌더링 모드 변경

        * add: `MOITTabPager` 생성

        * add: `MOITTabPager` 생성

        * remove: dummy file 삭제

        * feat: MOITChipType 구현

        * feat: MOITChip 구현

        * feat: MOITChipDemoViewController 구현

        * feat: DemoViewController 연결

        * feat: PagerType 구현

        * feat: TapPager 구현

        * feat: SegmentPager 구현

        * feat: PagerDemoViewController 추가

        * fix: unavailable 추가

        * feat: DemoApp Chip 폴더 추가

        * fix: enum case AssociatedValue 사용하지 않는 부분 삭제

        * feat: StudyPreview 구현중

        * feat: 스와이프 ->  삭제 버튼 애니메이션 구현

        * add: secondary color set 추가

        * remove: 필요 없는 파일 삭제

        * feat: optinal인 view addItem 쉽게 할 수 있는 메소드 구현

        * refactor: 스와이프, 탭 부드럽게 변경

        * fix: StudyPreview UI 변경

        * feat: 버튼 누를 수 있는 뷰 추가

        * fix: StudyPreviewDemoViewController 수정

        * refactor: StudyPreview UI Center 맞게 수정

        * refactor: panGesture 로직 변경

        * refactor: final 추가

        * redactor: `layoutIfNeeded` 삭제

        * feat: SignUp 기본 세팅

        * feat: Utils Target 추가

        * feat: SignUp 접근 제한자 변경

        * feat: Utils 타겟에 pinlayout, flexlayout 추가

        * feat: BaseViewController 상속받을 경우 navigateBar 설정 편리하게 구현

        * feat: StudyPreview configure 함수 구현

        * feat: ProfileView image 없이 생성, configureImage 함수 추가

        * refactor: 린트 맞게 코드 수정

        * fix: navigationBar와 flexRootView 겹치지 않게 수정

        * feat: scrollView 자동 설정

        * feat: 탭 시 키보드 사라지도록 구현

        * feat: SignUpViewController 구현

        * feat: 다음 버튼 추가

        * refactor: `MOITProfileView` 이미지 로드 로직 변경

        * feat: NavigationBar logo 추가

        * feat: ViewControllable extension 추가

        * feat: StudyList shortcut 추가

        * feat: dependency 수정

        * feat: SignUp 관련 UseCase 추가

        * feat: SignUpRepository 임시 추가

        * fix: `MOITProfileView` border 추가

        * fix: SignUpDemoApp RIBs 기반으로 생성하도록 수정

        * fix: DemoApp Dependency 설정할 수 있도록 수정

        * fix: DemoApp Dependency 설정

        * feat: SignUpDependency 추가

        * chore: 주석 삭제 및 코드 스타일 수정

        * feat: SignUp 비즈니스 로직 수정

        * fix: interactor.activate 추가

        * profileselect

        * fix: baseView flexLayout 사용에 맞게 수정

        * fix: `ProfileImageType` 참조할 수 있도록 수정

        * feat: uikit 관련 extension 추가

        * fix: bottomsheetViewController 탭 contentView 외부에서 작동하도록 수정

        * fix: MOITProfileView tap 작동방식 변경

        * feat: ProfileSelectView 구현

        * feat: ProfileSelectViewController 구현

        * feat: ProfileSelectInteractor 구현

        * fix: ProfileSelect RIBlet 생성 시 현재 이미지 인덱스 전달

        * fix: SignUpDemoApp 수정

        * feat: SignUpInteractor 로직 구현

        * feat: SignUpRouter 구현

        * feat: SignUpViewController 프로필 이미지 업데이트 구현

        * fix: imageIndex 정보 함께 넘기도록 수정

        * fix: 이미지 인덱스 파라미터 추가

        * chore: 주석 삭제

        * fix: baseViewController에 removeObserver 추가

        * chore: print문 삭제

        ---------

        Co-authored-by: hyerin <hope1053@naver.com>
        Co-authored-by: chansooooo <chansoo@vaultmicro.com>

    commit 8bdabbd
    Author: hyerin <hope1053@naver.com>
    Date:   Thu Jun 29 22:26:02 2023 +0900

        Fix/network layer fix (#55)

        * feat: Response 모델 선언

        * feat: Common Error 추가

        * feat: NetworkImpl 수정

        * feat: 옵셔널 대응

    commit 74b0f88
    Author: hyerin <hope1053@naver.com>
    Date:   Tue Jun 27 10:09:22 2023 +0900

        Feature/adjust line height (#58)

        * feat: font 타입 별 line height return 해주는 메서드 구현

        * feat: ParagraphStyle 적용하는 UILabel Extension 구현

    commit e256b51
    Author: hyerin <hope1053@naver.com>
    Date:   Mon Jun 26 11:38:29 2023 +0900

        Fix/design system fix (#56)

        * fix: Chip Configure 메서드 및 Convenience init 추가

        * fix: MOITTextField title 없는 경우 대응

        * fix: List에 MOITProfileView 적용

        * fix: List StudyOrder 및 Fine Formatter 적용

        * fix: Lint 수정

    * fix: UILabel Extension 메서드 Util로 위치 이동

    * fix: TODO 삭제

    * fix: ProfileImage init 메서드 변경

    * feat: TextField title 옵셔널 타입 변경 반영 및 becomeFirstResponder 메서드 수정

    feat: TextField title 옵셔널 타입 변경 반영 및 becomeFirstResponder 메서드 수정

    * fix: UiDevice Extension 메서드 위치 변경

    * fix: file 구조 수정

    * fix: UIDevice Extension 접근제어자 public으로 변경

    * feat: Dependency 수정 및 PresentableListener 메서드 추가

    * fix: deployment target 16.0으로 수정

    * feat: NetworkLayer 수정

    * feat: Dependency 수정

    * feat: MOITParticipate Data 레이어 작업

    * feat: MOITParticipate Domain 레이어 작업 중

    * fix: Multipart Endpoint baseURL 추가

    * feat: MOITParticipate UserInterface 레이어 작업 중

    * feat: 데모앱 수정

    * feat: Repository에서 Endpoint아닌 Request 받도록 수정

    * fix: MOITList init 메서드 적용

commit 7bc6f49
Author: hyerin <hope1053@naver.com>
Date:   Thu Jul 6 13:51:21 2023 +0900

    fix: MOITList init 파라미터 수정

commit 7da14c6
Author: chansooo <89574881+chansooo@users.noreply.github.com>
Date:   Fri Jun 30 00:04:13 2023 +0900

    Feature/sign up (#59)

    * feat: DesignSystemType case chip 추가

    * feat: NavigationBar 구현

    * feat: Navigationdemo 구현

    * fix: NavigationDemoViewController 이름 변경

    * fix: NavigationBar titleLabel 중앙 정렬 수정

    * feat: NavigationColorType 구현

    두가지 case로 나눠서 각각 tintcolor와 backgroundcolor 설정할 수 있도록 함

    * feat: 버튼 tintcolor 변경 위해 렌더링 모드 변경

    * add: `MOITTabPager` 생성

    * add: `MOITTabPager` 생성

    * remove: dummy file 삭제

    * feat: MOITChipType 구현

    * feat: MOITChip 구현

    * feat: MOITChipDemoViewController 구현

    * feat: DemoViewController 연결

    * feat: PagerType 구현

    * feat: TapPager 구현

    * feat: SegmentPager 구현

    * feat: PagerDemoViewController 추가

    * fix: unavailable 추가

    * feat: DemoApp Chip 폴더 추가

    * fix: enum case AssociatedValue 사용하지 않는 부분 삭제

    * feat: StudyPreview 구현중

    * feat: 스와이프 ->  삭제 버튼 애니메이션 구현

    * add: secondary color set 추가

    * remove: 필요 없는 파일 삭제

    * feat: optinal인 view addItem 쉽게 할 수 있는 메소드 구현

    * refactor: 스와이프, 탭 부드럽게 변경

    * fix: StudyPreview UI 변경

    * feat: 버튼 누를 수 있는 뷰 추가

    * fix: StudyPreviewDemoViewController 수정

    * refactor: StudyPreview UI Center 맞게 수정

    * refactor: panGesture 로직 변경

    * refactor: final 추가

    * redactor: `layoutIfNeeded` 삭제

    * feat: SignUp 기본 세팅

    * feat: Utils Target 추가

    * feat: SignUp 접근 제한자 변경

    * feat: Utils 타겟에 pinlayout, flexlayout 추가

    * feat: BaseViewController 상속받을 경우 navigateBar 설정 편리하게 구현

    * feat: StudyPreview configure 함수 구현

    * feat: ProfileView image 없이 생성, configureImage 함수 추가

    * refactor: 린트 맞게 코드 수정

    * fix: navigationBar와 flexRootView 겹치지 않게 수정

    * feat: scrollView 자동 설정

    * feat: 탭 시 키보드 사라지도록 구현

    * feat: SignUpViewController 구현

    * feat: 다음 버튼 추가

    * refactor: `MOITProfileView` 이미지 로드 로직 변경

    * feat: NavigationBar logo 추가

    * feat: ViewControllable extension 추가

    * feat: StudyList shortcut 추가

    * feat: dependency 수정

    * feat: SignUp 관련 UseCase 추가

    * feat: SignUpRepository 임시 추가

    * fix: `MOITProfileView` border 추가

    * fix: SignUpDemoApp RIBs 기반으로 생성하도록 수정

    * fix: DemoApp Dependency 설정할 수 있도록 수정

    * fix: DemoApp Dependency 설정

    * feat: SignUpDependency 추가

    * chore: 주석 삭제 및 코드 스타일 수정

    * feat: SignUp 비즈니스 로직 수정

    * fix: interactor.activate 추가

    * profileselect

    * fix: baseView flexLayout 사용에 맞게 수정

    * fix: `ProfileImageType` 참조할 수 있도록 수정

    * feat: uikit 관련 extension 추가

    * fix: bottomsheetViewController 탭 contentView 외부에서 작동하도록 수정

    * fix: MOITProfileView tap 작동방식 변경

    * feat: ProfileSelectView 구현

    * feat: ProfileSelectViewController 구현

    * feat: ProfileSelectInteractor 구현

    * fix: ProfileSelect RIBlet 생성 시 현재 이미지 인덱스 전달

    * fix: SignUpDemoApp 수정

    * feat: SignUpInteractor 로직 구현

    * feat: SignUpRouter 구현

    * feat: SignUpViewController 프로필 이미지 업데이트 구현

    * fix: imageIndex 정보 함께 넘기도록 수정

    * fix: 이미지 인덱스 파라미터 추가

    * chore: 주석 삭제

    * fix: baseViewController에 removeObserver 추가

    * chore: print문 삭제

    ---------

    Co-authored-by: hyerin <hope1053@naver.com>
    Co-authored-by: chansooooo <chansoo@vaultmicro.com>

commit 8bdabbd
Author: hyerin <hope1053@naver.com>
Date:   Thu Jun 29 22:26:02 2023 +0900

    Fix/network layer fix (#55)

    * feat: Response 모델 선언

    * feat: Common Error 추가

    * feat: NetworkImpl 수정

    * feat: 옵셔널 대응

commit 74b0f88
Author: hyerin <hope1053@naver.com>
Date:   Tue Jun 27 10:09:22 2023 +0900

    Feature/adjust line height (#58)

    * feat: font 타입 별 line height return 해주는 메서드 구현

    * feat: ParagraphStyle 적용하는 UILabel Extension 구현

commit e256b51
Author: hyerin <hope1053@naver.com>
Date:   Mon Jun 26 11:38:29 2023 +0900

    Fix/design system fix (#56)

    * fix: Chip Configure 메서드 및 Convenience init 추가

    * fix: MOITTextField title 없는 경우 대응

    * fix: List에 MOITProfileView 적용

    * fix: List StudyOrder 및 Fine Formatter 적용

    * fix: Lint 수정
  • Loading branch information
hope1053 committed Jul 7, 2023
1 parent 57b0e8e commit 568199b
Show file tree
Hide file tree
Showing 79 changed files with 1,546 additions and 46 deletions.
2 changes: 1 addition & 1 deletion App/Project.swift
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ let project = Project(
"fetch",
"remote-notification",
"remove-notification"
],
]
]
),
sources: ["Sources/**"],
Expand Down
1 change: 1 addition & 0 deletions App/Sources/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
//

import UIKit

import RIBs

@UIApplicationMain
Expand Down
20 changes: 20 additions & 0 deletions Core/Utils/UIKit/UIDevice+Extension.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
//
// UIDevice+Extension.swift
// Utils
//
// Created by 최혜린 on 2023/07/03.
//

import UIKit

public extension UIDevice {
static var safeAreaBottomPadding: CGFloat {
guard let windowScene = UIApplication.shared.connectedScenes.first as? UIWindowScene,
let window = windowScene.windows.first else {
return 0
}

let bottomPadding = window.safeAreaInsets.bottom
return bottomPadding
}
}
39 changes: 39 additions & 0 deletions Core/Utils/UIKit/UILabel+Extension.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
//
// UILabel+Extension.swift
// Utils
//
// Created by 최혜린 on 2023/07/03.
//

import UIKit

import ResourceKit

extension UILabel {
func setTextWithParagraphStyle(
text: String,
alignment: NSTextAlignment = .left,
font: ResourceKitFontConvertible.Font,
textColor: UIColor
) {
let paragraphStyle = NSMutableParagraphStyle()
paragraphStyle.alignment = alignment

let fontHeight = ResourceKitFontFamily.lineHeight(of: font)
paragraphStyle.maximumLineHeight = fontHeight
paragraphStyle.minimumLineHeight = fontHeight

let attributes: [NSAttributedString.Key : Any] = [
.paragraphStyle : paragraphStyle,
.font: font,
.foregroundColor: textColor,
.baselineOffset: (fontHeight - font.lineHeight) / 4
]

debugPrint(font.lineHeight)

let attrString = NSAttributedString(string: text,
attributes: attributes)
self.attributedText = attrString
}
}
4 changes: 2 additions & 2 deletions DesignSystem/Project.swift
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ let project = Project(
product: .framework,
bundleId: "team.io.DesignSystem",
deploymentTarget: .iOS(
targetVersion: "15.0.0",
targetVersion: "16.0.0",
devices: [.iphone]
),
infoPlist: .default,
Expand All @@ -45,7 +45,7 @@ let project = Project(
product: .app,
bundleId: "com.chansoo.DesignSystemDemoApp",
deploymentTarget: .iOS(
targetVersion: "15.0.0",
targetVersion: "16.0.0",
devices: [.iphone]
),
infoPlist: InfoPlist.extendingDefault(
Expand Down
10 changes: 10 additions & 0 deletions DesignSystem/Sources/Input/MOITTextField.swift
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,16 @@ public final class MOITTextField: UIView {
]
)
}

// MARK: - public

public func textFieldBecomeFirstResponse() {
textField.becomeFirstResponder()
}

public var text: String {
textField.text ?? ""
}
}

// MARK: - UITextField Extension
Expand Down
2 changes: 2 additions & 0 deletions DesignSystem/Sources/List/MOITList.swift
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ import RxSwift

open class MOITList: UIView {

// MARK: - UI

// MARK: - UI

private let flexRootView = UIView()
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
//
// ParticipateEndpoint.swift
// MOITParticipateDataImpl
//
// Created by 최혜린 on 2023/07/03.
// Copyright © 2023 chansoo.MOIT. All rights reserved.
//

import Foundation

import MOITNetwork
import MOITParticipateData

enum ParticipateEndpoint {

static func postParticipateCode(with request: MOITParticipateRequest) -> Endpoint<MOITParticipateDTO> {

return Endpoint(
path: "moit/join",
method: .post,
headers: [:],
parameters: .body(request)
)
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
//
// dummy.swift
// MOITParticipateDataImpl
//
// Created by 최혜린 on 2023/07/04.
// Copyright © 2023 chansoo.MOIT. All rights reserved.
//

import Foundation
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
//
// ParticipateRepository.swift
// MOITParticipateData
//
// Created by 최혜린 on 2023/07/03.
// Copyright © 2023 chansoo.MOIT. All rights reserved.
//

import Foundation

import RxSwift

public protocol ParticipateRepository {
func postParticipateCode(with request: MOITParticipateRequest) -> Single<MOITParticipateDTO>
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
//
// MOITParticipateRequest.swift
// MOITParticipateDataImpl
//
// Created by 최혜린 on 2023/07/03.
// Copyright © 2023 chansoo.MOIT. All rights reserved.
//

import Foundation

public struct MOITParticipateRequest: Encodable {
public let userId: Int
public let invitationCode: String

public init(
userId: Int,
invitationCode: String
) {
self.userId = userId
self.invitationCode = invitationCode
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
//
// MOITParticipateDTO.swift
// MOITParticipateDataImpl
//
// Created by 최혜린 on 2023/07/03.
// Copyright © 2023 chansoo.MOIT. All rights reserved.
//

import Foundation

public struct MOITParticipateDTO: Decodable {
public let moitId: Int

public init(moitId: Int) {
self.moitId = moitId
}
}
26 changes: 26 additions & 0 deletions Features/MOITParticipate/MOITParticipateData/Project.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
//
// MOITParticipateAppDelegate.swift
//
// MOITParticipate
//
// Created by hyerin
//

import ProjectDescription
import ProjectDescriptionHelpers
import UtilityPlugin

let project = Project.invertedDualTargetProject(
name: "MOITParticipateData",
platform: .iOS,
iOSTargetVersion: "16.0.0",
interfaceDependencies: [
.MOITNetwork.Interface,
.ThirdParty.RxSwift
],
implementDependencies: [
.MOITNetwork.Interface,
.ThirdParty.RxSwift
]
)

Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
//
// dummy.swift
//

Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
//
// ParticipateUseCaseImpl.swift
// MOITParticipateDomain
//
// Created by 최혜린 on 2023/07/03.
// Copyright © 2023 chansoo.MOIT. All rights reserved.
//

import Foundation

import MOITParticipateData
import MOITParticipateDomain

import RxSwift

public final class ParticipateUseCaseImpl: ParticipateUseCase {

// MARK: - properties
private let participateRepository: ParticipateRepository

// MARK: - init
public init(
participateRepository: ParticipateRepository
) {
self.participateRepository = participateRepository
}

// MARK: - public
public func execute(with request: MOITParticipateRequest) -> Single<MOITParticipateDTO> {
participateRepository.postParticipateCode(with: request)
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
//
// ParticipateUseCase.swift
// MOITParticipateDomain
//
// Created by 최혜린 on 2023/07/03.
// Copyright © 2023 chansoo.MOIT. All rights reserved.
//

import Foundation

import MOITParticipateData

import RxSwift

public protocol ParticipateUseCase {
func execute(with request: MOITParticipateRequest) -> Single<MOITParticipateDTO>
}
24 changes: 24 additions & 0 deletions Features/MOITParticipate/MOITParticipateDomain/Project.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
//
// MOITParticipateAppDelegate.swift
//
// MOITParticipate
//
// Created by hyerin
//

import ProjectDescription
import ProjectDescriptionHelpers
import UtilityPlugin

let project = Project.invertedDualTargetProject(
name: "MOITParticipateDomain",
platform: .iOS,
iOSTargetVersion: "16.0.0",
interfaceDependencies: [
.Feature.MOITParticipate.Data.Interface
],
implementDependencies: [
.Feature.MOITParticipate.Data.Interface
]
)

Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
//
// dummy.swift
//

Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="21507" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="01J-lp-oVM">
<device id="retina6_12" orientation="portrait" appearance="light"/>
<dependencies>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="21505"/>
<capability name="Safe area layout guides" minToolsVersion="9.0"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
<scenes>
<!--View Controller-->
<scene sceneID="EHf-IW-A2E">
<objects>
<viewController id="01J-lp-oVM" sceneMemberID="viewController">
<view key="view" contentMode="scaleToFill" id="Ze5-6b-2t3">
<rect key="frame" x="0.0" y="0.0" width="393" height="852"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<viewLayoutGuide key="safeArea" id="Bcu-3y-fUS"/>
<color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</view>
</viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="iYj-Kq-Ea1" userLabel="First Responder" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="53" y="375"/>
</scene>
</scenes>
</document>
Loading

0 comments on commit 568199b

Please sign in to comment.