Hacker News new | ask | show | jobs
by sherdil2022 406 days ago
What is your app?

Swift is a breeze compared to Objective C. Instead of conversion, consider rewriting it from scratch using Swift.

1 comments

It's a real-world game to beat social anxiety called Roadmap. It's not super complex. Here are the main technologies I'm using.

AWS DynamoDB

AWS Cognito

AWS Lambda for AI calls

Cocoa Control libraries for showing players challenges, progress, and unlocks

OneSignal Push Notifs to notify players of changing game state

I know that all of these have Swift libraries or probably some similar ones. And I've written some swift code. But I'm just wondering about the syntax shift or other gotchas that I may not be thinking about. Even things like connecting to the storyboard seem like they might have minor differences

Storyboard is probably the closest to a gotcha, because all the views have to be optionals, even though your code will never see them in a nil state. This is the only sensible case I've seen for swift to have implicitly unwrapped optionals (that's the ones declared with a !)