Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Smooth Resizing (again)



---------- Original Message ----------------------------------
From: email@hidden
Date: Mon, 11 Aug 2003 18:42:04 +0100

>File called 'CocoaUtilities.h' as the following:
>
>#import <CocoaUtilities.h>

It seems to me that your import directive there ought to be "#import <Cocoa/Cocoa.h>" rather than
trying to make your file import itself. Incidentally, when using the import directive, you'd only use <...>
when you're importing standard framework headers (eg. Cocoa, AppKit, WebKit, etc)... if you're trying
to import files in your project, use quotation marks instead. But from your error messages, it looks like
you need to be importing the Cocoa headers so that it knows what the various cocoa classes (eg.
NSWindow, NSObject) and data types (eg. NSRect) are.

Hope that does the trick for you.

TTYL
DaveR


____________________________________________________________
Free 20MB Web Site Hosting and Personalized E-mail Service!
Get It Now At Doteasy.com http://www.doteasy.com/et/
_______________________________________________
applescript-studio mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-studio
Do not post admin requests to the list. They will be ignored.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.