• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Quartz Composer deprecated in Xcode 5.1.1??
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Quartz Composer deprecated in Xcode 5.1.1??


  • Subject: Quartz Composer deprecated in Xcode 5.1.1??
  • From: Wayne <email@hidden>
  • Date: Sun, 20 Apr 2014 19:55:27 -0700

Hello.

It seems as if the Quartz Composer framework can still be found buried inside of the Quartz framework.

However Xcode is unable to compile a xib file that has a Quartz Composer view.

I get the following error:

/Users/wayne/sandbox/Test/en.lproj/MainMenu.xib: The document "MainMenu.xib" could not be opened. The operation couldn’t be completed. (com.apple.InterfaceBuilder error -1.)

Deleting the composer view clears the error. The app compiles and runs.

Adding the composer view restores the error. The app can not be compiled.

How do you use Quartz Composer inside of an application in Xcode 5.1.1?

[UPDATE] I was able to get my composer view back by adding the following code to awakeFromNib

NSView *superview = [mVisualizerWindow contentView];
NSRect frame = NSMakeRect(10, 10, 400, 400);
mVisualizer = [[QCView alloc] initWithFrame:frame];
[superview addSubview:mVisualizer];

[mVisualizer unloadComposition];
[mVisualizer loadCompositionFromFile:[[NSBundle mainBundle] pathForResource:@"UI Mk.5" ofType:@"qtz"]];
[mVisualizer setMaxRenderingFrameRate: 30.0];
[mVisualizer startRendering];

Bugs in Xcode? Say it isn’t so!


Wayne
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Quartz Composer deprecated in Xcode 5.1.1??
      • From: douglas welton <email@hidden>
References: 
 >Bison disables breakpoints? (From: "McLaughlin, Michael P." <email@hidden>)
 >Re: Bison disables breakpoints? (From: email@hidden)
 >Re: Bison disables breakpoints? (From: "McLaughlin, Michael P." <email@hidden>)
 >Re: Bison disables breakpoints? (From: email@hidden)
 >Re: Bison disables breakpoints? (From: Thomas Wetmore <email@hidden>)

  • Prev by Date: Re: Storyboard XIB linking.
  • Next by Date: Static Analyzer not working correctly?
  • Previous by thread: Re: Bison disables breakpoints?
  • Next by thread: Re: Quartz Composer deprecated in Xcode 5.1.1??
  • Index(es):
    • Date
    • Thread