Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8908419
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T03:10:26+00:00 2026-06-15T03:10:26+00:00

While developing pie chart using core plot I added animation for that for given

  • 0

While developing pie chart using core plot I added animation for that for given code

    CABasicAnimation *rotation = [CABasicAnimation animationWithKeyPath:@"transform"];
   CATransform3D transform = CATransform3DMakeRotation(DegreesToRadians(360), 0, 0, 1);
   rotation.toValue = [NSValue valueWithCATransform3D:transform];  
    rotation.duration = 10.0f;
    [pieChart addAnimation:rotation forKey:@"rotation"];    

This code gives following error Semantic Issue:

Implicit declaration of function 'DegreesToRadians' is invalid in C99

What can I do for avoid this?

And also run time it gives following error:

Apple_o  Linker id error  "_DegreesToRadians", referenced from:

Thanks and Regards

Vijayakumar

iOS Developer at Rhytha

https://rhytha.com/

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T03:10:27+00:00Added an answer on June 15, 2026 at 3:10 am

    Just define a macro like:

    #define DEGREES_RADIANS(angle) ((angle) / 180.0 * M_PI)
    

    And change your method like:

    CATransform3D transform = CATransform3DMakeRotation(DEGREES_RADIANS(360), 0, 0, 1);
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

While developing an application using gwt in ecliplse crashed. Now the server is running
While developing a firefox extension, I create a wizard window from overlay.js using: this.wizard
While developing and ASP.NET application in C# or VB using Visual Studio 2005/2008/2010 (Not
I am using SVN while developing a WordPress site. Now I want to upload
I'm using Aptana as my IDE while developing a Symfony (1.4) site. I have
While developing using ASP.net 2.0 (C#) and NHibernate 2.1.0 I am getting the error:
While developing a design using jQuery I stumbled across a problem. How would I
While developing, I will sometimes try a technique or method that doesn't pan out
While developing a navigation based application from scratch, I added some new uisubview Controller
While developing software, developers always tend to curse about some language specifics, improvements that

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.