-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feat] #54 - 랭킹 리스트 뷰 비즈니스 로직 구현 #55
Merged
L-j-h-c
merged 6 commits into
sopt-makers:develop
from
L-j-h-c:feature/#54-RankingBusiness
Dec 27, 2022
Merged
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
823b633
[Feat] #54 - Entity 및 데이터 바인딩 로직 작성
L-j-h-c 091364f
[Feat] #54 - 차트 데이터 바인딩 구현 및 더미데이터 연결
L-j-h-c d2abc57
[Feat] #54 - 랭킹 미션 리스트 뷰로 화면전환 구현
L-j-h-c 7383375
[Feat] #54 - 리프레시 기능 구현
L-j-h-c d61a3f3
Merge branch 'feature/#28-MissionListBusiness' of github.com:L-j-h-c/…
L-j-h-c 7421d71
Merge branch 'develop' of github.com:sopt-makers/SOPT-Stamp-iOS into …
L-j-h-c File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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
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 |
---|---|---|
|
@@ -174,7 +174,16 @@ extension ChartRectangleView { | |
} | ||
|
||
extension ChartRectangleView { | ||
static func ==(left: ChartRectangleView, right: ChartRectangleView) -> Bool { | ||
public func setData(score: Int, username: String) { | ||
self.usernameLabel.text = username | ||
self.scoreLabel.text = "\(score)점" | ||
self.scoreLabel.partFontChange(targetString: "점", | ||
font: DSKitFontFamily.Pretendard.medium.font(size: 12)) | ||
} | ||
} | ||
|
||
extension ChartRectangleView { | ||
static func == (left: ChartRectangleView, right: ChartRectangleView) -> Bool { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 오옹 신기하다 |
||
return left.viewLevel == right.viewLevel | ||
} | ||
} |
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
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
19 changes: 19 additions & 0 deletions
19
SOPT-Stamp-iOS/Projects/Presentation/Sources/RankingScene/Cells/RankingListTappable.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,19 @@ | ||
// | ||
// RankingListTappable.swift | ||
// Presentation | ||
// | ||
// Created by Junho Lee on 2022/12/22. | ||
// Copyright © 2022 SOPT-Stamp-iOS. All rights reserved. | ||
// | ||
|
||
import Foundation | ||
|
||
protocol RankingListTappble { | ||
func getModelItem() -> RankingListTapItem? | ||
} | ||
|
||
public struct RankingListTapItem { | ||
public let username: String | ||
public let sentence: String | ||
public let userId: Int | ||
} |
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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
오우 거대한 더미 데이터.. 만드느라 수고하셨습니다..!