Incorrect stacktrace by rethrow

Throwing twice in the same method is probably a special case – I’ve not been able to create a stack trace where different lines in the same method follow each other. As the word says, a “stack trace” shows you the stack frames that an exception traversed. And there is only one stack frame per … Read more

What’s Dead & Exploded in Swift’s exception stack?

What does it mean? The Swift compiler marks function arguments for a number of reasons, mostly related to internal optimizations. For your question, we’ll focus on the mangler, as that’s what’s contributing to your pretty stack trace, and the Node Printer. As of the time of this post, the function specialization mangler has 6 marks … Read more

What is PurpleEventCallback?

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). “How Project Purple Turned into the iPhone”