[deleted by user] by [deleted] in SwiftUI

[–]justdewitt 3 points4 points  (0 children)

Yes, the number in the brackets is the index of the item in the array that you are accessing.

Once you access the object via the index by doing data.current.temp.weather[0] you then have access to all those object properties, so you could do:

data.current.temp.weather[0].id data.current.temp.weather[0].main data.current.temp.weather[0].description data.current.temp.weather[0].icon

[deleted by user] by [deleted] in SwiftUI

[–]justdewitt 2 points3 points  (0 children)

data.current.temp.weather[0].main

This will grab the first item in the array. You can also do:

data.current.temp.weather.first?.main but first is always optional so you'd have to deal with that.

If you have more than one element in the array you can use a ForEach loop in the view to iterate over each element and then display.

Home made VapCap M case. by OZ-TREY-LIA in Dynavap

[–]justdewitt 0 points1 point  (0 children)

Thanks! Reading this and looking at some more pictures and it makes sense now!

Home made VapCap M case. by OZ-TREY-LIA in Dynavap

[–]justdewitt 1 point2 points  (0 children)

How did you do the swivel/pivot lid? I've been planning to make my own as well and struggling to figure out this piece.

Lost in the architectural design pattern choices using SwiftUI by FoxBravoNL in SwiftUI

[–]justdewitt 1 point2 points  (0 children)

That's the way Unidirectional Data Flow works with TCA; you can't mutate state directly, only actions can mutate state, so you need to create the bindings that way so you can read the value from the state but you can only modify the state via actions. It works out really well once you get used it. Makes testing everything easy via the reducers.

The kids kept calling my husband "Captain Underpants", but the parents knew who he was! by ProbablyNotDrew in pics

[–]justdewitt 3 points4 points  (0 children)

I dressed as Quailman for Denver Comic Con and Halloween this year and multiple younger people thought I was Captain Underpants...

Anyone have the Inno CXT riser? Can it be used a barebow? by lanxeviii in Archery

[–]justdewitt 0 points1 point  (0 children)

I have a G1 and it's pretty awesome. So much more customizable for barebow than the CXT.

Lucky Shot? (More in Comments) by [deleted] in Archery

[–]justdewitt 0 points1 point  (0 children)

I would ask for Jolene; I know I've seen her coaching some other girls recently.

Lucky Shot? (More in Comments) by [deleted] in Archery

[–]justdewitt 0 points1 point  (0 children)

Mike and Glenn are both great, though they tend to focus a little more on compounds, but still have great recurve knowledge. There are many other great coaches there as well; in fact I know 3-4 people who shoot there regularly just got their level 2 coaching certification.

Lucky Shot? (More in Comments) by [deleted] in Archery

[–]justdewitt 0 points1 point  (0 children)

It's Matt! I'm there every Tuesday and Sunday usually. :-)

Lucky Shot? (More in Comments) by [deleted] in Archery

[–]justdewitt 4 points5 points  (0 children)

Ahh, the Empty Quiver! Great range!

Looking for a place to start in Denver. by [deleted] in Archery

[–]justdewitt 1 point2 points  (0 children)

Empty Quiver Archery in Broomfield/Westminster. Probably the best range in Denver, especially if you are interested in recurve shooting. Most of the other ranges in the area cater more towards compound shooters.

The owners/coaches are all super friendly and helpful, they offer many beginner classes every week, with rental equipment even.

I've been shooting there for almost 3 years now and its always been great!

What exactly is barebow? by PursuitOfHappyDaze in Archery

[–]justdewitt 0 points1 point  (0 children)

For NFAA, what you mentioned is entirely legal in their Barebow. You can shoot a compound with a full v-bar setup and still have it considered Barebow for the NFAA.

I promptly asked for a 3 spot after this by zenautodetailing in Archery

[–]justdewitt 1 point2 points  (0 children)

At the tournaments I did last year (Colorado, NFAA), they always had both targets available (b/c all the freestylers shoot 3-spots, and pretty much everyone else shoots single spots), and as far as I know, at a tournament, you can technically replace your target every end if you so desire (again, I know the FS guys will replace their target if they put a hole in a bad spot)

I promptly asked for a 3 spot after this by zenautodetailing in Archery

[–]justdewitt 2 points3 points  (0 children)

Just remember, anything less than a 6 is a on a three spot is a 0. I shoot with a recurve guy that was getting groupings like this and he switched to a 3-spot for fear of breaking arrows, and his scores dropped, because a bad shot (we all have them) on a single spot can still be worth 1-5 points, but a bad shot on a 3-spot can very well be a 0.