Re: Why NSClassFromString(@"CADisplayLink")?
Re: Why NSClassFromString(@"CADisplayLink")?
- Subject: Re: Why NSClassFromString(@"CADisplayLink")?
- From: David Duncan <email@hidden>
- Date: Tue, 10 May 2011 09:12:20 -0700
On May 10, 2011, at 3:34 AM, Brian Bruinewoud wrote:
> But this doesn't link because the CADisplayLink class is missing:
>
> displayLink = [CADisplayLink displayLinkWithTarget: tapped selector:@selector(respond:)];
>
> ??
>
> Link error is:
>
> Undefined symbols for architecture i386:
> "_OBJC_CLASS_$_CADisplayLink", referenced from:
> objc-class-ref in drawingViewController.o
> ld: symbol(s) not found for architecture i386
> collect2: ld returned 1 exit status
These types of link errors typically indicate that you forgot to link a necessary framework, in this case QuartzCore.framework.
--
David Duncan
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden