Skip to content
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

Fix/issue #26 sort currencies by alphabet #27

Closed
wants to merge 3 commits into from

Conversation

Slawbel
Copy link
Owner

@Slawbel Slawbel commented Mar 1, 2023

No description provided.

@@ -73,6 +73,8 @@ class CurrencyScreen: UIViewController, UITableViewDataSource, UITableViewDelega
return
}
symbols = curData.symbols.map { $0 }
print(symbols.sort{ $0.1 < $1.1 })
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
print(symbols.sort{ $0.1 < $1.1 })
symbols = symbols.sorted { $0.1 < $1.1 }

@Slawbel Slawbel closed this Mar 1, 2023
@RomanPodymov RomanPodymov deleted the Fix/Issue_#26_Sort_currencies_by_alphabet branch March 2, 2023 06:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants