Kaleidoscope 2.4.1

  • Florian 

In addition to smaller fixes, there are two changes particularly worth noting in our latest release, Kaleidoscope 2.4.1: New tricks in kspo In case you missed how Kaleidoscope and its new Xcode lldb integration can help improve your debugging workflow, read our previous article Xcode Debugger Integration. In some follow-up support cases to the last release, we came to realize that we could do better and make sending images to Kaleidoscope easier. As it turned out, some AppKit/UIKit classes are notoriously hard to convert into the right destination format. Under the hood, the runtime sometimes uses optimized structures. In Kaleidoscope 2.4.1 we provide built-in support for the most common objects. In detail: iOS: UIImage and UIView (which includes it’s subclass UIWindow) macOS: NSImage, NSView and NSWindow. For the screen below, I used kspo self.window to send the image representation of… Read More »Kaleidoscope 2.4.1

Xcode Debugger Integration

  • Florian 

Sometimes things take a while, from initial idea to a full-blown feature usable by everyone… It was October 2018 when Christopher had the idea to integrate Kaleidoscope with lldb, the Xcode Debugger. Back then, he tweeted a gist that showed how to get this to work for his needs. He needed a way to compare the fidelity of his own RTF parser with what macOS/iOS does. The system parser had a serious bug, plus Christopher wanted two extra features while being fully compatible with the operating system. Except for that bug, of course. Constantly comparing the two generated NSAttributedString objects was a natural fit for Kaleidoscope. Many moons later, in February 2021, that feature is finally available to every Kaleidoscope user, configurable with the click of a single button. Read how it came to be realized and why you want… Read More »Xcode Debugger Integration