1

I have a single 8-bit channel buffer whose contents I would like to see in the middle of a debugging session. Using whatever might be available under Xcode/LLDB, can this be done? A solution that uses a separate window (or even dumping to an external file) is fine.

What changes about the answer if the image is 8-bit planar RGBA?

fbrereto
  • 35,429
  • 19
  • 126
  • 178

1 Answers1

2

I think you are asking about:

https://developer.apple.com/library/ios/documentation/IDEs/Conceptual/CustomClassDisplay_in_QuickLook/Introduction/Introduction.html

This was answered here in:

How can I Quick Look custom objects with Xcode 5 visual debugger?

You have to be able to convert your image to a UIImage or some other type that the QuickLook system natively understands.

Community
  • 1
  • 1
Jim Ingham
  • 25,260
  • 2
  • 55
  • 63