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 6969793
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T16:37:35+00:00 2026-05-27T16:37:35+00:00

I have downloaded Core-Plot Header 9.0 and added in my new Project. I am

  • 0

I have downloaded Core-Plot Header 9.0and added in my new Project. I am very new to draw graphs and using Core-Plot framework. I have downloaded sample project CPTTestApp-iPhone from core-plot sample projects. I opened this project it is contains CorePlot-Cocoa Touch.xcodeproj If i tried to run this project from XCode4.2 automatically XCode3.2.4 App opens. I just copied the source code from CPTTestAppScatterPlotController.h and pasted in my new project. The CPTTestAppScatterPlotController.h having a nib file, but i dont ve any nib files for this and also i want to do it programmatically. So, i just changed these lines from CPTTestAppScatterPlotController.h in my project as likes below code,

graph = [[CPTXYGraph alloc] initWithFrame:CGRectZero];
    CPTTheme *theme = [CPTTheme themeNamed:kCPTDarkGradientTheme];
    [graph applyTheme:theme];

    CPTGraphHostingView *hostingView = [[CPTGraphHostingView alloc] initWithFrame:CGRectMake(0, 0, 320, 480)];
    hostingView.hostedGraph = graph;
    hostingView.collapsesLayers = NO;
    //hostingView.collapsesLayers = YES; // Setting to YES reduces GPU memory usage, but can slow drawing/scrolling
    [self.view addSubview:hostingView];

But, the all functionalities i didn’t change from CPTTestAppScatterPlotController.h. Still the project not running and it shows Build Succeeded. My doubt is i need to import CorePlot-Cocoa Touch.xcodeproj in my new project? and how can i run my project? Please help me to run my project. I searched a lot in google and all are suggested this project for beginners CPTTestApp-iPhone. Am also trying this project only. Thanks in advance. Waiting for your great solutions. This is the error occur when i’m running the project *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSDecimalNumber cgFloatValue]: unrecognized selector sent to instance.

  • 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-05-27T16:37:36+00:00Added an answer on May 27, 2026 at 4:37 pm

    Thanks to all. I have solved this problem. I just forgot to add -ObjC -all_load in mu project Target Build settings. Pelase follow below steps to avoid my problem,

    1. Copy the CorePlotHeaders to your Xcode project
    
    2. Copy libCorePlotCocoaTouch.a to your Xcode project
    
    3. Add to Other Linker Flags in your target build settings:
    
    -ObjC -all_load
    

    Thanks.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am new to StructureMap. I have downloaded and am using version 2.6.1.0. I
I have downloaded a web project from CodePlex and am getting the following error
I am writing a web application using JSF 2. I have downloaded mojarra-2.1.3-FCS-binary.zip and
I have just installed phpMyAdmin on my new Fedora Core 10 dedicated server. I
I have downloaded CorePlot_0.9 from google and imported in my iPhone project. I want
I have downloaded eclipse classic x86_64 3.7 cocoa on my Mac Intel Core 2
I am using MonoTouch 5.0.2. I am trying to bind the core plot library
have downloaded Orca to edit an MSI file. I want to remove some banner
I have downloaded a font that looks less than desirable if it is not
I have downloaded the silver light from this http://www.microsoft.com/silverlight// I need to use this

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.