From 8fdb57fa8363c5604db8b0ef9b3b8154c0d424b2 Mon Sep 17 00:00:00 2001 From: Seoon KIM <6872065@gmail.com> Date: Sat, 19 Aug 2023 02:12:06 +0900 Subject: [PATCH 1/7] =?UTF-8?q?DetailPage:=20=EC=8A=A4=ED=81=AC=EB=A1=A4?= =?UTF-8?q?=20=EC=A0=81=EC=9A=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- DOTORI/Controller/DetailViewController.swift | 12 +- DOTORI/View/DetailViewController.storyboard | 256 ++++++++++--------- 2 files changed, 143 insertions(+), 125 deletions(-) diff --git a/DOTORI/Controller/DetailViewController.swift b/DOTORI/Controller/DetailViewController.swift index 1f5f022..ba6e859 100644 --- a/DOTORI/Controller/DetailViewController.swift +++ b/DOTORI/Controller/DetailViewController.swift @@ -34,21 +34,21 @@ class DetailViewController: UIViewController, ModifyTextDelegate, UIScrollViewDe @IBOutlet weak var replyTableView: UITableView! // 맨밑 테이블뷰 @IBOutlet weak var replyInputTextField: UITextField! //댓글 입력 키보드 텍스트필드 -// @IBOutlet weak var scrollView: UIScrollView! + @IBOutlet weak var scrollView: UIScrollView! @IBOutlet weak var contentImageView: UIImageView! var isBookFilled = false var selectedIndex = 0 //메인화면에서 넘겨주는 셀 인덱스 var selectedModifyCellIndex = 0 //댓글에서 프로필 클릭시 프로필 정보의 셀 인덱스 // let screenHeight = UIScreen.main.bounds.height -// let scrollViewContentHeight = 1200 as CGFloat + let scrollViewContentHeight = 1000 as CGFloat override func viewDidLoad() { super.viewDidLoad() -// scrollView.contentSize = CGSize(width: scrollView.frame.size.width, height: 2000) -// scrollView.contentSize = CGSizeMake(scrollView.frame.width, scrollViewContentHeight) -// scrollView.delegate = self -// scrollView.bounces = false +// scrollView.contentSize = CGSize(width: scrollView.frame.size.width, height: 100) + scrollView.contentSize = CGSizeMake(scrollView.frame.width, scrollViewContentHeight) + scrollView.delegate = self + scrollView.bounces = false // replyTableView.estimatedRowHeight = 100 // 예상 셀 높이 // replyTableView.rowHeight = UITableView.automaticDimension // 동적 셀 높이 diff --git a/DOTORI/View/DetailViewController.storyboard b/DOTORI/View/DetailViewController.storyboard index fe54855..253431a 100644 --- a/DOTORI/View/DetailViewController.storyboard +++ b/DOTORI/View/DetailViewController.storyboard @@ -12,7 +12,7 @@ - + @@ -21,10 +21,10 @@ - + - + @@ -39,24 +39,31 @@ - + - + + + + + + + @@ -126,135 +133,143 @@ - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + Lorem ipsum dolor sit er elit lamet, consectetaur cillium adipisicing pecu, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. Nam liber te conscient to factor tum poen legum odioque civiuda. + + + + + + - - - - Lorem ipsum dolor sit er elit lamet, consectetaur cillium adipisicing pecu, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. Nam liber te conscient to factor tum poen legum odioque civiuda. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + - - + + + + + + - - - - - - - - - + + + + + + + + + + + + + + + - - - - + + + + + + + - - + + @@ -296,7 +311,7 @@ - + @@ -654,6 +669,9 @@ + + + From 59d599d1abd57dc674f16e99e1586d99c62aa45b Mon Sep 17 00:00:00 2001 From: Seoon KIM <6872065@gmail.com> Date: Sat, 19 Aug 2023 15:19:03 +0900 Subject: [PATCH 2/7] =?UTF-8?q?README=20=EC=B4=88=EC=95=88=20=EC=9E=91?= =?UTF-8?q?=EC=84=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 82 ++++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 81 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 4db9dfd..d4facb4 100644 --- a/README.md +++ b/README.md @@ -1 +1,81 @@ -# DOTORI \ No newline at end of file +# nbcamp-Project-DOTORI +[내일배움캠프 iOS트랙] 6주차 팀과제/iOS 앱개발 입문 프로젝트 - SNS 앱 만들기 +



+ +## 🧑🏻‍💻 프로젝트 소개 +"SNS 앱 프로젝트"

+이 프로젝트는 Swift 언어를 사용하여 Xcode에서 개발한 애플리케이션입니다.
+우리 팀의 SNS 어플은 교육 및 정보 공유를 위한 커뮤니케이션 플랫폼으로, 주요 기능은 아래와 같습니다. +1. **정보 및 의견 공유**: 내일배움캠프 동기들이 서로 의견과 정보를 공유할 수 있는 공간을 제공합니다. 사용자들은 캠프에서 학습한 내용, 프로젝트 아이디어, 질문 등을 게시하고 토론할 수 있습니다. +2. **TIL(오늘 배운 것) 블로그 게시**: 사용자들은 TIL을 작성한 블로그 링크를 게시물에 작성하여 자신의 학습 경험을 공유하고 동기들의 피드백을 받을 수 있습니다. +3. **중요한 TIL 게시물 공유**: TIL 중에서 특히 중요하다고 생각하는 내용을 따로 게시물로 올려서 동기들에게 공유할 수 있습니다. 이를 통해 학습한 것을 강조하고 동기들의 관심을 끌 수 있습니다. +4. **댓글 및 북마크**: 사용자들은 게시물에 댓글을 달거나, 해당 게시물을 북마크하여 나중에 쉽게 찾아볼 수 있습니다. 댓글을 통해 추가 정보를 제공하거나 질문에 답변할 수 있으며, 북마크는 중요한 정보를 저장해두는데 도움을 줍니다. +5. **친밀한 커뮤니티 환경**: 내일배움캠프 동기들 간의 친밀한 커뮤니티 환경을 조성합니다. 서로의 학습 경험을 공유하고 협력하여 성장할 수 있는 기회를 제공합니다. +6. **개인화된 피드**: 사용자들은 관심사나 카테고리에 따라 개인화된 피드를 설정할 수 있습니다. 이를 통해 학습 관련 게시물 중에서 자신에게 필요한 내용을 더 쉽게 찾아볼 수 있습니다. +
+이와 같은 기능을 통해 사용자들은 효율적으로 정보를 공유하고 소통하며, 서로의 학습을 도울 수 있는 SNS 어플을 경험할 수 있습니다. + +

+ +## 🛠️ 사용한 기술 스택 (Tech Stack) + + +

+ +## 🗓️ 개발 기간 +* 2023-08-14(월) ~ 2023-08-18(금), 5일간 + +

+ +## 📌 주요 기능 +#### 메인 페이지 +- 사용자들의 게시물을 모아보는 피드 +- 간편한 카테고리별 피드 구현 +- 북마크 설정을 통해 관심있는 게시물 저장 +- 사용자 게시물 삭제(타 사용자 게시물 예외처리) +- 게시물 댓글 개수 확인 +- 게시물 클릭 시 디테일 페이지로 이동 +- 하단 툴바를 통해 여러 메뉴에 접근 +#### 검색 페이지 +- 사용자 또는 게시물 내용 검색 +- 게시물 클릭 시 디테일 페이지로 이동 +#### 디테일 페이지 +- 댓글 아이콘을 클릭하거나 댓글 입력창 터치 시 게시물에 댓글 작성 가능 +- 작성한 댓글의 수정 및 삭제 가능 +- 북마크 및 게시물 공유 +#### 글쓰기 페이지 +- 사진 첨부 및 수정(삭제) +- 글 작성 가이드 제공 +#### 북마크 페이지 +- 저장한 게시물을 모아보는 피드 +- 북마크 해제 시 피드에서 삭제 +#### 마이 페이지 +- 계정정보 수정 및 이미지 변경 등 프로필 관리 +- 프로필 수정을 통해 프로필을 변경하고, 변경된 내용은 바로 마이페이지에 반영 +- 내 게시물 확인 및 삭제 +- 라이트모드/다크모드 설정 + + +

+ +## 🧐 앱 실행 및 사용 방법 + + +

+ +## 💡 추가할 기능 + +1. 계정변경
+- 마이페이지 내 닉네임 클릭 시 계정리스트 보여주기 +- 리스트 내 계정 클릭 시 해당 계정이 유저로 변경 + +

+ +## 🚨 현재 오류 +- 디테일 페이지 스크롤이 뻑뻑하게 됨 +- 디테일 페이지 댓글 입력창 - 댓글 여백이 줄어들지 않음 + +

+ +## 💥 트러블 슈팅 +- 작성 예정 From c0c9e6430c6a4b2d2d1a355a5bc1238a5cd17395 Mon Sep 17 00:00:00 2001 From: Seoon KIM <6872065@gmail.com> Date: Sat, 19 Aug 2023 15:27:16 +0900 Subject: [PATCH 3/7] =?UTF-8?q?DetailPage:=20=EC=8A=A4=ED=81=AC=EB=A1=A4?= =?UTF-8?q?=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- DOTORI/View/DetailViewController.storyboard | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DOTORI/View/DetailViewController.storyboard b/DOTORI/View/DetailViewController.storyboard index 253431a..3347b60 100644 --- a/DOTORI/View/DetailViewController.storyboard +++ b/DOTORI/View/DetailViewController.storyboard @@ -156,7 +156,7 @@ - Lorem ipsum dolor sit er elit lamet, consectetaur cillium adipisicing pecu, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. Nam liber te conscient to factor tum poen legum odioque civiuda. + Lorem ipsum dolor sit er elit lamet, consectetaur cillium adipisicing pecu, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. Nam liber te conscient to factor tum poen legum odioque civiuda. From 99afae03a1cb3332c6c50b2e4cbfda9c372e92c5 Mon Sep 17 00:00:00 2001 From: Seoon KIM <6872065@gmail.com> Date: Sun, 20 Aug 2023 12:46:21 +0900 Subject: [PATCH 4/7] =?UTF-8?q?DetailPage:=20=EC=8A=A4=ED=81=AC=EB=A1=A4?= =?UTF-8?q?=EB=B7=B0=20=ED=85=8C=EC=8A=A4=ED=8A=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- DOTORI/View/DetailViewController.storyboard | 28 ++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/DOTORI/View/DetailViewController.storyboard b/DOTORI/View/DetailViewController.storyboard index 3347b60..27d8966 100644 --- a/DOTORI/View/DetailViewController.storyboard +++ b/DOTORI/View/DetailViewController.storyboard @@ -9,6 +9,32 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -80,7 +106,7 @@ - + From 82ca48b8ef61ed663c7847b3ffcb2c3e63343d26 Mon Sep 17 00:00:00 2001 From: Seoon KIM <6872065@gmail.com> Date: Sun, 20 Aug 2023 15:11:07 +0900 Subject: [PATCH 5/7] =?UTF-8?q?DetailPage:=20=EB=8C=93=EA=B8=80=20?= =?UTF-8?q?=EB=B7=B0=20=EB=86=92=EC=9D=B4=20=EC=A7=80=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- DOTORI/View/DetailViewController.storyboard | 336 +++++++++++++++++++- 1 file changed, 330 insertions(+), 6 deletions(-) diff --git a/DOTORI/View/DetailViewController.storyboard b/DOTORI/View/DetailViewController.storyboard index 27d8966..f30c3f3 100644 --- a/DOTORI/View/DetailViewController.storyboard +++ b/DOTORI/View/DetailViewController.storyboard @@ -9,36 +9,354 @@ - + - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Lorem ipsum dolor sit er elit lamet, consectetaur cillium adipisicing pecu, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. Nam liber te conscient to factor tum poen legum odioque civiuda. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - + @@ -337,7 +655,7 @@ - + @@ -698,8 +1016,14 @@ + + + + + + From 162631ec556c851657be0ad4d4cd074d343efa15 Mon Sep 17 00:00:00 2001 From: Seoon KIM <6872065@gmail.com> Date: Sun, 20 Aug 2023 15:24:18 +0900 Subject: [PATCH 6/7] =?UTF-8?q?DetailPage:=20=EC=8A=A4=ED=86=A0=EB=A6=AC?= =?UTF-8?q?=EB=B3=B4=EB=93=9C=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- DOTORI/View/DetailViewController.storyboard | 571 +------------------- 1 file changed, 1 insertion(+), 570 deletions(-) diff --git a/DOTORI/View/DetailViewController.storyboard b/DOTORI/View/DetailViewController.storyboard index f30c3f3..a9d576d 100644 --- a/DOTORI/View/DetailViewController.storyboard +++ b/DOTORI/View/DetailViewController.storyboard @@ -270,10 +270,6 @@ - - - - @@ -351,572 +347,7 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Lorem ipsum dolor sit er elit lamet, consectetaur cillium adipisicing pecu, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. Nam liber te conscient to factor tum poen legum odioque civiuda. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Lorem ipsum dolor sit er elit lamet, consectetaur cillium adipisicing pecu, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. Nam liber te conscient to factor tum poen legum odioque civiuda. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + From ff617f86a5a53b56fc505de74d6617d0cbfefc3d Mon Sep 17 00:00:00 2001 From: Seoon KIM <6872065@gmail.com> Date: Sun, 20 Aug 2023 15:56:17 +0900 Subject: [PATCH 7/7] =?UTF-8?q?DetailPage:=20=EB=8C=93=EA=B8=80=EC=9E=85?= =?UTF-8?q?=EB=A0=A5=EC=B0=BD=20=EB=B0=B0=EA=B2=BD=EC=83=89=20=EB=B3=80?= =?UTF-8?q?=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- DOTORI/View/DetailViewController.storyboard | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/DOTORI/View/DetailViewController.storyboard b/DOTORI/View/DetailViewController.storyboard index a9d576d..609b7ff 100644 --- a/DOTORI/View/DetailViewController.storyboard +++ b/DOTORI/View/DetailViewController.storyboard @@ -296,7 +296,7 @@ - + @@ -447,9 +447,6 @@ - - -