Re: including xibs from another project
Re: including xibs from another project
- Subject: Re: including xibs from another project
- From: Rick Genter <email@hidden>
- Date: Wed, 20 Jan 2010 07:57:56 -0800
On Jan 20, 2010, at 7:47 AM, Roland King wrote:
> ok this makes some sense, there's lots of ways in which I can see dynamic resolution of classes or methods isn't known at link time, KVO, methods composed from strings, I would not expect a linker to figure that out. But that's not where we are in this example, it's a little more direct than that, there's a class Foo and if you call
>
> [ Foo anyMethod ]
>
> all the code for Foo gets linked in
>
> but if you call
>
> [ foo anyInstanceMethod ]
>
> where foo is explicitly defined to be a Foo*, it doesn't link it in.
Just because foo is declared to be as Foo* doesn't mean that it is. It could be a Bar*, where Bar is a subclass of Foo.
--
Rick Genter
email@hidden
_______________________________________________
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