You will find a good tutorial here:
https ://sarunw. com/posts/how-to-specify-fractional-digits-for-formatted-number-string-in-swift/
Post
Replies
Boosts
Views
Activity
In IB, in Attributes inspector, when you select the TextField, you have a BorderStyle segmentedControl, with 4 choices : None, Line, Bezel, Round
Anything different than round means either None, Line or Bezel.
Thanks, I'll try it. Not sure it is possible in the view for auto capture of QR Code.
Using a model is not an obligation, but it is a good practice. For simple things, some have the model "embedded" inside VC. It works well, but that is not as clean a design.
You cannot delete a post…
Obsolete Mac… in what sense is it obsolete ? Isn't it capable of doing the same things it did 5 years ago (keeping the same versions of OS an apps) ?
If so, it is not obsolete, there are just some more powerful solutions now.
This should work: ForEach(notedNumbers[key]!.indices
But it is crash prone to force unwrap from dict
Did not succeed to connect to what ? Where is it in code ?
What is your question here ?
So, maybe you have a problem in your playground file. You can either try to find where or you could attach the full playground so that we can check if we encounter the same problem.
I tried to answer, no way, post is deleted. Seems to be the case with very post on the forum feedback. Even impossible to create a new post…
You cannot delete… too bad. But in some cases you cannot post ! even worse.
Cannot replicate the error. Which version of Xcode ?
Try replacing with; ProgressView(" value: 5.0, total: 15)
What is the logic for using valori array for both week, month and year ?
If you want to avoid crash, test that index is valid:
.onTapGesture { withAnimation{ if i < valori.count { valori[i] += 100 } }
Do Detail Scenes deal with Master/Detail ?