Quicklook preview generator and OpenGL

2010-04-28 Thread Mads Paulin
Hi All, I am getting really frustrated with a weird problem of rendering OpenGL from a quicklook generator plugin. I hope some of you can give me a hint about what I am doing wrong. I am working with some 3D files for which I want to create a quicklook generator for creating previews of the

Ideas for multi-type inspector design

2009-12-15 Thread Mads Paulin
Hi All, I am trying to make an inspector like panel for my application and could use some input on the design of that. My application has an NSOutlineView displaying objects of multiple types. These objects are stored in an NSTreeController. Now, I would like to have an inspector panel show

Ideas for multi-type inspector design

2009-12-15 Thread Mads Paulin
Hi All, I am trying to make an inspector like panel for my application and could use some input on the design of that. My application has an NSOutlineView displaying objects of multiple types. These objects are stored in an NSTreeController. Now, I would like to have an inspector panel show

Ideas for multi-type inspector design

2009-12-15 Thread Mads Paulin
Hi All, I am trying to make an inspector like panel for my application and could use some input on the design of that. My application has an NSOutlineView displaying objects of multiple types. These objects are stored in an NSTreeController. Now, I would like to have an inspector panel show some

Re: NSTreeController and object retain counts

2009-11-09 Thread Mads Paulin
the node object's retain count to 1 - meaning that the objects are never dealloc. As I see it, this is a memory leak in NSTreeController as all my external references to the Node objects are lost. Thanks, Mads Mads Paulin wrote: #import Cocoa/Cocoa.h @interface MyDocument : NSDocument

Re: NSTreeController and object retain counts

2009-11-09 Thread Mads Paulin
of NSTtreeController gurus on this list who are able to explain the problem. Regards, Mads On Nov 9, 2009, at 6:31 AM, Mads Paulin wrote: Hi, Yes my Document class releases the array in its dealloc method and all Node objects in the array are properly dealloc'ed when deallocing the document. However

Re: NSTreeController and object retain counts

2009-11-09 Thread Mads Paulin
. /Mads On Nov 9, 2009, at 12:38 , Graham Cox wrote: On 09/11/2009, at 10:31 PM, Mads Paulin wrote: Adding a node object through this method creates a node object in the document array member with a retain count of 2. The remove:sender method correctly removes the object from the document's

NSTreeController and object retain counts

2009-11-08 Thread Mads Paulin
Hi All, I am working on integrating a NSOutlineView and NSTreeController into my application and have bumped into some problems related to objects not being release when remove from the NSTreeController. I have boiled the problem down to the following very basic setup - working in a

Re: NSTreeController and object retain counts

2009-11-08 Thread Mads Paulin
member and displays them in a one-column NSOutlineView. Thank you, Mads On Nov 8, 2009, at 21:51 , Greg Guerin wrote: Mads Paulin wrote: ... big description ... Can't debug descriptions. Post your code. -- GG ___ Cocoa-dev mailing list