Skip to content
This repository was archived by the owner on Oct 12, 2025. It is now read-only.

Carter/leaderboard updates PR#434

Merged
carters101 merged 8 commits intodevfrom
carter/leaderboard-updates
Feb 5, 2022
Merged

Carter/leaderboard updates PR#434
carters101 merged 8 commits intodevfrom
carter/leaderboard-updates

Conversation

@carters101
Copy link
Copy Markdown
Contributor

Description

Fixes #135

  • Constraint issues with leaderboard cells fixed.
  • Points label now uniform no matter how many points have been collected
  • Accommodates all devices

Screenshots

Simulator Screen Shot - iPhone 12 Pro Max - 2022-02-05 at 12 46 20

Copy link
Copy Markdown
Contributor

@ashayp22 ashayp22 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! I left two small inline comments.


fetchRequest.sortDescriptors = [
NSSortDescriptor(key: "id", ascending: true)
NSSortDescriptor(key: "points", ascending: false)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add a sort descriptor for the firstName? When multiple people have the same number of points, the leaderboard seems to display people in a different order during every refresh.

NSSortDescriptor(key: "firstName", ascending: true)

@@ -65,20 +63,7 @@ extension HILeaderboardViewController {
extension HILeaderboardViewController {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you remove the any HIErrorViewDelegate code from HILeaderboardViewController since the Leaderboard View will no longer need it?

@carters101 carters101 merged commit 79af741 into dev Feb 5, 2022
@carters101 carters101 deleted the carter/leaderboard-updates branch February 5, 2022 21:28
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants