• 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
Can't seem to import QuartzCore.h correctly
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Can't seem to import QuartzCore.h correctly


  • Subject: Can't seem to import QuartzCore.h correctly
  • From: "Carter R. Harrison" <email@hidden>
  • Date: Sun, 22 Oct 2006 08:35:43 -0400

This may be a complete newb question but I'm absolutely stuck on how to fix this. I've got a subclass of NSView. In its interface file I have the following lines:

#import <Cocoa/Cocoa.h>
#import <QuartzCore/QuartzCore.h>

 Then in my implementation file I import the interface file with.

#import "mySubView.h"

Then in XCode, I have added the QuartzCore framework to the frameworks folder (it's sitting right next to the Cocoa framework under 'linked frameworks'). Now if I try something like this in my implementation file:

CIContext *newCIContext;

I'll receive an error during build: "error: 'CIContext' undeclared (first use in this function)".

Any ideas what I'm doing wrong??  Thanks in advance.

----------------------------------
Carter R. Harrison
email@hidden
----------------------------------



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


  • Follow-Ups:
    • Re: Can't seem to import QuartzCore.h correctly
      • From: "John C. Randolph" <email@hidden>
    • Re: Can't seem to import QuartzCore.h correctly
      • From: "John C. Randolph" <email@hidden>
  • Prev by Date: Re: NIB Files + Views. Is it a good practice?
  • Next by Date: Re: Can't seem to import QuartzCore.h correctly
  • Previous by thread: Re: NSTextView's -setTextContainerInset: issues
  • Next by thread: Re: Can't seem to import QuartzCore.h correctly
  • Index(es):
    • Date
    • Thread