-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #36 from AVIRO-official/feature/challenge
24.03.04-05) [Feat]: My Bookmark, Comment View UI 설계
- Loading branch information
Showing
14 changed files
with
1,206 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
// | ||
// UITextView+Extension.swift | ||
// AVIRO | ||
// | ||
// Created by 전성훈 on 2024/03/04. | ||
// | ||
|
||
import UIKit | ||
|
||
extension UITextView { | ||
func numberOfLine() -> Int { | ||
|
||
let size = CGSize(width: frame.width, height: .infinity) | ||
let estimatedSize = sizeThatFits(size) | ||
|
||
return Int(estimatedSize.height / (self.font!.lineHeight)) | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
...Feature/Challenge/MyBookmarkList/ViewController/MyBookmarkTable/MyBookmarkCellModel.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
// | ||
// MyBookmarkCellModel.swift | ||
// AVIRO | ||
// | ||
// Created by 전성훈 on 2024/03/04. | ||
// | ||
|
||
import Foundation | ||
|
||
struct MyBookmarkCellModel { | ||
let category: CategoryType | ||
let all: Bool | ||
let some: Bool | ||
let request: Bool | ||
let title: String | ||
let address: String | ||
let menu: String | ||
let menuCount: String | ||
let time: String | ||
let isStar: Bool | ||
} |
Oops, something went wrong.