Re: using QLPreviewPanel and supporting 10.5

2009-10-10 Thread Julien Jalon
Replace all calls to [QLPreviewPanel sharedPreviewPanel] and other class calls to weak calls: [NSClassFromString(@QLPreviewPanel) sharedPreviewPanel]. On Sat, Oct 10, 2009 at 3:47 AM, Mitchell Livingston livings...@mac.comwrote: Hello, I want to support Quick Look in my application, but still

Re: using QLPreviewPanel and supporting 10.5

2009-10-10 Thread Mitchell Livingston
How would that work with storing the instance variables? Thanks, Mitch On Saturday, October 10, 2009, at 05:30AM, Julien Jalon jja...@gmail.com wrote: ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or

Re: using QLPreviewPanel and supporting 10.5

2009-10-10 Thread Kyle Sluder
On Oct 10, 2009, at 5:40 AM, Mitchell Livingston livings...@mac.com wrote: How would that work with storing the instance variables? 1) Why are you concerned with QLPreviewPanel's instance variables? 2) The API is different between 10.5 and 10.6; you can't just drop in NSClassFromString

Re: using QLPreviewPanel and supporting 10.5

2009-10-10 Thread Adam R. Maxwell
On Oct 10, 2009, at 9:18 AM, Kyle Sluder wrote: 2) The API is different between 10.5 and 10.6; you can't just drop in NSClassFromString and continue on as normal. It works fine for me. I believe this comment only applies if you were foolish enough to link against the private framework in

Re: using QLPreviewPanel and supporting 10.5

2009-10-10 Thread Mitchell Livingston
On Saturday, October 10, 2009, at 12:18PM, Kyle Sluder kyle.slu...@gmail.com wrote: On Oct 10, 2009, at 5:40 AM, Mitchell Livingston livings...@mac.com wrote: How would that work with storing the instance variables? 1) Why are you concerned with QLPreviewPanel's instance variables? It

Re: using QLPreviewPanel and supporting 10.5

2009-10-10 Thread Adam R. Maxwell
On Oct 10, 2009, at 9:31 AM, Adam R. Maxwell wrote: On Oct 10, 2009, at 9:18 AM, Kyle Sluder wrote: 2) The API is different between 10.5 and 10.6; you can't just drop in NSClassFromString and continue on as normal. It works fine for me. I believe this comment only applies if you were

using QLPreviewPanel and supporting 10.5

2009-10-09 Thread Mitchell Livingston
Hello, I want to support Quick Look in my application, but still support 10.5. I'm using the 10.6 SDK and 10.5 deployment target. Launching on 10.5 gives: Dyld Error Message: Symbol not found: _OBJC_CLASS_$_QLPreviewPanel Referenced from: