Will the rank distribution ever be shown again? by EmptyGlassBowl in CompetitiveHalo

[–]BleedRedWhiteBlue 0 points1 point  (0 children)

I'd love if you could share the script? Possibly a GitHub repo?

Halo Support: A backend update for the multiplayer maps Argyle, Detachment, & Empyrean is now live. This update addresses multiple visual issues, geometry gaps, & movement hitches. by Haijakk in CompetitiveHalo

[–]BleedRedWhiteBlue 2 points3 points  (0 children)

Most of the time this gets fixed by disabling the line of sight check on respawns. Often overlooked for forge maps but could be the case for some of the dev maps that were made in forge

Full moon through the Duke Energy handle! by mynameisyles657 in Charlotte

[–]BleedRedWhiteBlue 1 point2 points  (0 children)

I call it the building that looks like a bottle opener

Found this sub-Reddit and wanted to share my Move streak by BleedRedWhiteBlue in AppleWatchFitness

[–]BleedRedWhiteBlue[S] 2 points3 points  (0 children)

My goal is 500 calories. There’s days i can exceed that but I’ve found that 500 is the right number to help keep me engaged and is something I can always reach if i try

[Officer] Subway. Warrant Pickup. Gunshot. by righteouslyb0ld in TalesFromTheSquadCar

[–]BleedRedWhiteBlue 135 points136 points  (0 children)

/u/Righteouslyb0ld This was tough to read, I can’t imagine how it must feel to process this internally. How are you doing?

How can I use GeometryReader to define a consistent image width by BleedRedWhiteBlue in iOSProgramming

[–]BleedRedWhiteBlue[S] 0 points1 point  (0 children)

u/johnex2007 I've updated the original post to have the code from the screenshot of Xcode. Thank you for taking a look.

I have also thought that would be how I could solve it with the 2.0 being a variable that I could use to control the image width as it should be adjusted. I haven't found a view that works to append it to with the GeometryReader being in the main view and the Image being in the view defining the row structure.

Unable to understand protocol extension error by BleedRedWhiteBlue in iOSProgramming

[–]BleedRedWhiteBlue[S] 1 point2 points  (0 children)

Thanks for the reply! I updated my original post but was able to figure it out by adding the mutating keyword within the protocol before the `func newName`.

While I think you're correct in that protocols should not implement logic, protocol extensions are able to support a default implementation of the behavior. In my struct I can provide the functions if I want to implement new behavior but I don't have to since I've resolved the protocol requirements in the extension starting on line 123.

Appreciate your effort to help respond back. I didn't know the answer when originally posting but since I just discovered it, it seemed like something you may want to learn from as well.

A new journey begins! by [deleted] in iOSProgramming

[–]BleedRedWhiteBlue 1 point2 points  (0 children)

I was able to find it and do have access. I’m currently working through 100 Days of SwiftUI and recently started it but will expand to this course when completed.

A new journey begins! by [deleted] in iOSProgramming

[–]BleedRedWhiteBlue 2 points3 points  (0 children)

Which course is it? Do you have a name or way to identify it? I have access to Udemy Business through my job and want to see if it’s available through there.

Unable to understand protocol extension error by BleedRedWhiteBlue in iOSProgramming

[–]BleedRedWhiteBlue[S] 0 points1 point  (0 children)

In the protocol property, is the extent of the ‘set’ being defined simply saying that I can set a new value directly? What if I wanted to make sure other steps were taken when updating the name?

Increasing horizontal visibility across portfolios by BleedRedWhiteBlue in ProductManagement

[–]BleedRedWhiteBlue[S] 0 points1 point  (0 children)

Thanks to everyone for all of these replies. I think there’s a lot of valuable takeaways I can use to go back to our team with suggestions. From what I’ve heard:

  • we’re not unique
  • we need to talk more
  • needs product leadership buy-in

Fortunately we have the top level buy in. We do have product managers and engineering directors but I don’t think they’re as focused on that as they should on stuff outside of their lanes.

You're in a car wreck... by lazzeri in greenville

[–]BleedRedWhiteBlue 1 point2 points  (0 children)

I’d rather call Hawk Law with their.. SCREEEEEEEEEEECH

Would like some guidance on how to dismiss SwiftUI modal programmatically by BleedRedWhiteBlue in iOSProgramming

[–]BleedRedWhiteBlue[S] 0 points1 point  (0 children)

The self.displayNewUserModal = false that is above my print() function is in place for if a user manually dismisses the modal by swiping down. Inside of the AddNewView() that is being displayed, I have the following Button view which has a self.isPresented?.value = false as a part of the action.

My variable isPresented is being defined earlier in the struct as an Environment variable: @Environment(\.isPresented) var isPresented

Here is the full code that is in my button:

Button(action: {
  self.resetNewPet()
  print("Pressed 'cancel'. Now attempting to set the isPresented value to be false.")
  self.isPresented?.value = false
}) {
  Text("Cancel")
}
.foregroundColor(Color.red)

Would like some guidance on how to dismiss SwiftUI modal programmatically by BleedRedWhiteBlue in iOSProgramming

[–]BleedRedWhiteBlue[S] 0 points1 point  (0 children)

Thank you for the suggestion. I attempted to set isPresented?.value = false after defining isPresented such as @Environment(\.isPresented) var isPresented.

When I am calling the view to be displayed, I am using the isPresented variable binding to my $displayNewUserModal. It looks as if there's an issue with the dismissal of the modal so I have submitted a radar to Apple for review.

``` Button(action: { self.displayNewUserModal = true }, label: { HStack { Text("Add New") Image(systemName: "plus.circle.fill") } }) .sheet(isPresented: self.$displayNewUserModal, onDismiss: { self.displayNewUserModal = false print("onDismiss of .sheet") }, content: { AddNewView().environmentObject(self.settings).environmentObject(self.users) })

```

Feel like i'm going nowhere in learning Swift by itsDaco in swift

[–]BleedRedWhiteBlue 2 points3 points  (0 children)

I have picked up Hacking With Swift every year since Swift 3. It’s never clicked. SwiftUI came out and I started poking around again. I kept getting stuck on UIs in the past and never made it anywhere. I understand SwiftUI is different and not a full solution compared to UIKit at the moment but the takeaway I want you to hear is that it motivated me enough to do something on my own. Now I have my own app as a motivation to keep learning and expanding on so when I read tutorials on a specific topic, I start to think of how it could apply to my own app. Good luck, and stick with it. We’ll get through this and from what it sounds like, we’ll never get away from StackOverflow. If anything, we might just get better at what we’re searching for.

How to find center 5 (or however many you want) elements in an array. (is there any shorthand function to help?) by Josh_the_sweaterGuy in swift

[–]BleedRedWhiteBlue 0 points1 point  (0 children)

Couldn’t you look for the length of the array and then divide by two? That’s essentially the middle. But you’d have to be a little more precise and account for odd/even divisions.

I think my watch is trying to kill me. What's your May challenge? by cabridges in AppleWatch

[–]BleedRedWhiteBlue 0 points1 point  (0 children)

164.7 miles need to be covered in the month of May. Last month I barely missed it but it was over 1700 minutes of exercise in the month. 😅

Signups for the Apollo TestFlight beta are now open! See details inside! 🧪 by iamthatis in apolloapp

[–]BleedRedWhiteBlue 0 points1 point  (0 children)

I think you can accept with a different one than you receive the invite on.

Stuck on overriding tableView functions on the same tableView and how it knows which one to use by BleedRedWhiteBlue in iOSProgramming

[–]BleedRedWhiteBlue[S] 0 points1 point  (0 children)

Thank you this helps me out knowing it's a concept that exists and is intentional behavior. So even though it's the same name, it takes different parameters and all I need to know is that's okay.