Natanel Niazoff

@niazoff
11 Followers
34 Following
7 Posts
iOS @ Amazon
AVP with the Swift MVP! 🥽 @twostraws
🥽
@atpfm @caseyliss @marcoarment @siracusa thanks for condemning the blatantly evil attacks and hope peace is achieved one day 🙏🏻
@hoon @chris @iosoho hey! Chris would prob have the best answer here but I’d say init should be used for initialization of bindings and similar necessary dependency injections as oppose to, for example I believe Chris mentioned, if you need to initialize a URL which doesn’t need to be done in init, that should be done in .onAppear.
Great talk tonight by @chris at @iosoho! Biggest lesson learnt is avoid using SwiftUI.View.init as much as possible for better performance. Better to do setup in .onAppear which (usually) is only called once. Thanks Chris!
@fabianfett oh got it! Realized I needed to change the Lamda’s architecture as I’m on an M2. Thanks!
@fabianfett Hi Fabian, really appreciate your Swift Lambda tutorial! At Step 8 of testing the Lambda, I get a “Runtime.InvalidEntrypoint” error together with “Error: fork/exec /var/task/bootstrap: exec format error” message. Any clue as to why this may be? https://fabianfett.dev/getting-started-with-swift-aws-lambda-runtime
Getting started with Swift on AWS Lambda

Learn how to create and deploy your first AWS Lambda function in Swift, using SwiftPM and Docker.