QCView in Xcode 6 issues

Hi everyone,



I'm completely new to Xcode. For a project, I need to build a simple little "program". The goal is, to start the program which should just view a Quartz Composer file with a second window which shows some settings (published ports in Quartz).

For testing purposes I made a Quartz Composition with only one Sprite and published the X and Y transition ports. Now I fired up Xcode 6, made a new Cocoa project (tried it with Objective-C and with Swift). I also added the Quartz.framework in the "Linked Frameworks and Libraries". Then I made a new Window and added the Quartz Composer View to it. Afterwards I created a secon Window with the Quartz Composition Parameter View. I linked the Parameter View (Ctrl Click) to the QCView.

In the QCView I loaded my Composition. When I'm in the Interface Builder the Composition loads perfectly. But when I press the "Build and then run the current scheme" button my program starts, but the QCView stays black and the QC Composition Parameter View shows nothing. I also checked the Start Playing Automatically function.


How I mentioned, I tried this with Xcode 6 and also with Xcode 7. But none of them work.

Did I do something wrong? The documentation about implementing Quartz Composer compositions in Xcode isn't quite detailed.



I would really appreciate some hints!

I am having the same problem in Xcode 6.4 trying to use a QCView in a screensaver project. I add the subview to my screensaver view. I can see a black box but the compostion never renders. I was thinking about trying to do the same thing without QCView. The QCRenderer class gives direct opengl access - https://developer.apple.com/library/mac/documentation/GraphicsImaging/Reference/QuartzFramework/Classes/QCRenderer_Class.


Would be nice if QCView worked.

QCView in Xcode 6 issues
 
 
Q