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: Using custom framework




On Jan 31, 2005, at 12:10 PM, Graham J Lee wrote:

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?

What's the visibility set to for your framework headers?

In your framework project, click on the framework target. Each of the headers should have either public, project, or private set in the Role column. I'm almost certain that only public and private headers may be referred to using #import <Framework/Header.h>, but private headers can only be accessed from within your project.

-Prachi

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >Using custom framework (From: Graham J Lee <email@hidden>)



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.