-2

It is the view memory graph hierarchy of my program

What does the exclamation in purple mean?

HangarRash
  • 7,314
  • 5
  • 5
  • 32
  • 3
    Those are runtime warnings. Usually around things like incorrect thread access. You can see what the warning is by clicking on them and it will tell you what it is. It's probably that you're updating something on a background thread that should be on the main thread. – Fogmeister Jan 27 '23 at 08:29
  • 1
    @Fogmeister: Correct. You should post this as an answer. – DarkDust Jan 27 '23 at 08:57

1 Answers1

2

These purple warnings are runtime warnings.

They usually occur because you have updated something on a background thread when it should be updated on the main thread. For instance you might have a titleLabel that you update in a completion handler from a network request and you haven't bumped the update to the main thread. (Or something)

They are used for other things too. Like if you have potential hanging threads etc...

They can also be custom warnings from third party frameworks (if they have been written that way).

https://www.pointfree.co/blog/posts/70-unobtrusive-runtime-warnings-for-libraries

You can see what is behind the purple warning by clicking on it and it will explain where in the code is causing the error and what the error it.

Fogmeister
  • 76,236
  • 42
  • 207
  • 306