-
-
Notifications
You must be signed in to change notification settings - Fork 523
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(iOS): cleanup conversion code (#2499)
## Description I've recently watched a [talk by Jonathan Müller](https://youtu.be/zGWj7Qo_POY?si=XY-llWKz3esbcGOl) from `CppOnSea` and it was brought to my attention that there is `using enum` syntax in C++ (since C++20), which we can use to make our conversion code much more readable. ## Changes Refactored RNSConvert.mm ## Test code and steps to reproduce Everything should work as before. ## Checklist - [x] Ensured that CI passes
- Loading branch information
Showing
1 changed file
with
82 additions
and
68 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