Using custom framework
Using custom framework
- Subject: Using custom framework
- From: Graham J Lee <email@hidden>
- Date: Mon, 31 Jan 2005 17:10:48 +0000
Hi,
I've written a framework, ObjCGI (no prizes for guessing what it does
;-) which builds and creates a target objcgi.framework. I then go to
write a test app...new Foundation Tool project 'objcgitest' in XCode,
locate my framework's build directory and dragged the objcgi.framework
directory into the 'objcgitest' project, under the "External Frameworks
and libraries" folder. The following code snippit doesn't work because
it can't find the header file...so what have I missed?
#import <Foundation/Foundation.h>
#import <cgiobjc/GJLObjCGIController.h> /* This line fails it */
int main (int argc, const char * argv[]) {
NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
// insert code here...
NSLog(@"Hello, World!");
[pool release];
return 0;
}
Thanks,
Graham.
--
Graham Lee GPG Key ID: 01D5B9D8
UNIX Systems Manager,
Oxford Physics Practical Course
http://nextstep.sdf-eu.org 01865 273450
_______________________________________________
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