Skip to content

style: enhance swift api usage and eliminate force casts#424

Open
MojtabaHs wants to merge 3 commits intorive-app:mainfrom
MojtabaHs:enhanve-code
Open

style: enhance swift api usage and eliminate force casts#424
MojtabaHs wants to merge 3 commits intorive-app:mainfrom
MojtabaHs:enhanve-code

Conversation

@MojtabaHs
Copy link

@MojtabaHs MojtabaHs commented Feb 24, 2026

Merge combinations of if ... is <Type> / ... as! <Type> and convert them to if let ... as? <Type> to reduce the code smell and make the code fundamentally safer.

Note: I've kept the formatting as it was to reduce the changes in the code and make it easier for the reviewer.

@MojtabaHs MojtabaHs force-pushed the enhanve-code branch 2 times, most recently from d867c49 to 4b1e3db Compare February 24, 2026 09:19
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.

1 participant