What is PurpleEventCallback?

IosIphoneXcodeStack Trace

Ios Problem Overview


In the stack trace of my iPhone application, I see a call to something called PurpleEventCallback. I wasn't able to find any documentation for it. What is this?

PurpleEventCallback

Ios Solutions


Solution 1 - Ios

Project Purple was the codename for iOS back when it was basically a skunkworks project within Apple. This callback is basically just an event bridge between the CoreFoundation layer (ported from OS X) and the UIKit layer (the next-generation Cocoa framework).

Solution 2 - Ios

Just one more piece of information on PurpleEventCallback.

It's part of Graphics Services. In the case, if you disassemble GraphicsServices framework, you will find the source code of this method.

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionManavView Question on Stackoverflow
Solution 1 - IosgavinbView Answer on Stackoverflow
Solution 2 - IosVictor RoninView Answer on Stackoverflow