quicklook

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

早过忘川 提交于 2019-11-28 00:20:41
问题 Xcode 5 has a great new feature where you can hover over a variable name and get a visual representation of a UIColor, UIImage, or even UIBezierPath. I vaguely remember a comment at WWDC where developers could either conform to some protocol or override some methods on any NSObject subclass in order to participate in this new debugging feature. I would love to add this to a bunch of my model objects to help me debug. Anyone know whether this is a real thing yet, or even if they hinted at it

Debugging Quicklook Plugin in Xcode 4.6

江枫思渺然 提交于 2019-11-27 14:14:06
问题 I am trying to debug a quicklook plugin in Xcode 4.6. I have created the executable in Edit Scheme. Now, when i build the project the plugin is not installed to the "/Library/Quicklook" path. Rather i didn't find it anywhere. I want to run the plugin in debug mode and want to hit the breakpoints so that i can figure out where the plugin crashes on different files. It would be great if someone share his knowledge. Thanks in advance. 回答1: You can use brake points and NSLog function for