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

Re: Can't seem to import QuartzCore.h correctly


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

I haven't spent the time to check but could this be an issue with the settings of my build target? Since CoreImage is in 10.4 only, and my target was configured to run on 10.3 and up, is it possible that the compiler would not let me declare core image types since they do not exist in 10.3? I was importing the 10.4 QuartzCore framework, but I noticed that if you look at the 10.3.9 QuartzCore framework, quartzcore.h includes coreimage.h, but then if you look at coreimage.h it is entirely empty (for obvious reasons). Any other thoughts?


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



On Oct 22, 2006, at 9:55 AM, John C. Randolph wrote:


Just out of curiosity, I created a new project with a view subclass in it, and declared a CIContext as an ivar:



#import <Cocoa/Cocoa.h>

@interface MyView : NSView {
	CIContext *theContext;

}

@end

#import "MyView.h"


@implementation MyView

- (void)drawRect:(NSRect)rect {
	[[NSColor blueColor] set];
	NSRectFill(rect);
}

@end


No problem building and running it.

Note that I didn't need to import Quartz or QuartzCore, they were picked up by importing Cocoa.h.

-jcr


_______________________________________________ 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>
References: 
 >Can't seem to import QuartzCore.h correctly (From: "Carter R. Harrison" <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: Can't seem to import QuartzCore.h correctly
  • Next by thread: Re: Can't seem to import QuartzCore.h correctly
  • Index(es):
    • Date
    • Thread