• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Why NSClassFromString(@"CADisplayLink")?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Why NSClassFromString(@"CADisplayLink")? (From: Brian Bruinewoud <email@hidden>)

  • Prev by Date: Re: IB 3x plug-in: How to add custom control which is NSMatrix with custom controls inside?
  • Next by Date: Re: setState has no effect on an NSButton
  • Previous by thread: Re: Why NSClassFromString(@"CADisplayLink")?
  • Next by thread: Re: Why NSClassFromString(@"CADisplayLink")?
  • Index(es):
    • Date
    • Thread