Re: DYLIB/LIB/FRAMEWORKS for iPhone ?
Re: DYLIB/LIB/FRAMEWORKS for iPhone ?
- Subject: Re: DYLIB/LIB/FRAMEWORKS for iPhone ?
- From: marc hoffman <email@hidden>
- Date: Sat, 17 May 2008 11:52:39 +0200
Greg,
First, you should have /, not \, in your imports.
right - that was just a typo here in the message. old habits die
hard ;). i'm of course using "/" in my paths...
Second, you seem to think that frameworks can only represent
dylibs. This
is incorrect. A framework can represent a static library, too. So
make a
static framework with headers and then you should be able to use:
#import <MyFrameworkname/foo.h>
in all your source.
It really comes down to how you organize your libraries.
If you organize them uniformly as frameworks, static or dynamic,
then the
source should be able to refer to them uniformly using the framework-
import
idiom. If you don't, then you have to use source-level ad-hockery
like
ifdefs, or include-path ad-hockery in your build settings.
Google for keywords:
framework programming guide site:apple.com
thanx, thats exactly the kind of overview i've been looking for.
i'm still just getting started with ObjC/Xcode, an there's a lot to
wrap your head around beyond the language level. Your hear people
complain they need to learn Objective-C to code for the iPhone and
Mac), but getting used to the new language is really a piece of cake
(and ObjC is quite nice, imho, once you get to know it) - the real
challanges are in getting all the detailed intricacies of the platform.
thanx,
marc
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden