Post

Replies

Boosts

Views

Activity

Reply to TextField Binding
When you say: let textModel = textModels[index] ...you are creating a temporary "textModel", which only lives for 1 pass of your ForEach. So you can't use it as a Binding (because it won't exist, when you try and access it later). (I'm away from Xcode, but) I would omit the line above, and try: TextField("", text: $textModels[index].name)
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Apr ’22
Reply to Will a MacBook Air M1 with 8GB RAM be suitable for Flutter Development, Web Development, and lots of background programs?
There are suggestions that Xcode could benefit from more than 8Gb, and you emphasise multitasking... The other thing to consider is that this may be a bad time to buy the current M1 MacBook Air, as an update is expected soon. See: https://buyersguide.macrumors.com/#MacBook_Air On the other hand (if you want "cheap"), refurbished MacBook Airs are available from Apple (here in the UK), and this could be an excellent buy (I'm still using my refurbished 2015 MacBook Air).
Apr ’22