Xcode: false update warning?

I am writing a fairly simple ObjC application. (The only minor difficulty is that it uses an external library called Chilkat for some core networks, but I don't think this is relevant.)

Sometimes my project spontaneously displays this warning:

May 14 01:24:01 Project Neovenator-2.local [22645]: void CGSUpdateManager :: log () const: conn 0x4b29b: false update.

And I have no idea how to process or even interpret it. There is nothing in my project called CGSUpdateManager, and my project does not call the log () function anywhere. I can’t even reliably reproduce it, but it has appeared often enough to increase the level of interest.

A Google search here for the term “false update” shows a slightly scattered set of conversations, but nothing to do with my project. Meanwhile, a Google search for "CGSUpdateManager" shows that this is due to Swift, which I don't use at all.

Can someone help me understand what this means? Or am I just ignoring this?

+6
source share
2 answers

Be sure to call super on viewDidLoad, viewWillAppear and viewWillDisappear.

0
source

Sorry, my code with the correct highlighting / indentation:

- (void)setNeedsDisplay { //#if 1 //TEST (suppose we are only called by us) if(wvImageRep_DoRebuild) //#endif [super setNeedsDisplay]; // "spurious update" ? } 

This is an example (@see my complete answer), it helped me

0
source

Source: https://habr.com/ru/post/987203/


All Articles