Skip to content

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

Closed
MojtabaHs wants to merge 4 commits intorive-app:mainfrom
MojtabaHs:enhanve-code
Closed

style: enhance swift api usage and eliminate force casts#424
MojtabaHs wants to merge 4 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
@MojtabaHs MojtabaHs closed this Mar 9, 2026
@MojtabaHs MojtabaHs deleted the enhanve-code branch March 9, 2026 10:38
@MojtabaHs MojtabaHs restored the enhanve-code branch March 9, 2026 10:39
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