How can I get CorePlot to work fast?

I read a tutorial on how to use the main plot ( http://www.raywenderlich.com/13269/how-to-draw-graphs-with-core-plot-part-1 ) The project I'm working on is written quickly .

I did everything to import the CorePlot library. To make sure I did it right, I created a new C object file and named

#import "CorePlot-CocoaTouch.h"

it worked in a test objective-c file (built without errors)

Then I put the import statement in the header file of the bridge and got 27 errors. Everyone says: "... the current deployment target does not support automatic __weak"

From this post ( CorePlot in Swift cannot call "numberForPlot" ), I know that I can somehow make the main plot in my fast-paced project.

Can anyone recommend something?

Thanks for the help.

I followed these steps to import the library:

Installing a Static Library You can also simply copy the Core Plot library directly into your project in binary form.

  • Copy the CorePlotHeaders directory to the Xcode project

  • Copy the Core Plot library into your Xcode project.

  • Open your applications Target Build Settings and other Linker flags include the following:

-ObjC (-all_load used to be required as a linker flag, but this is no longer needed in Xcode 4.2)

  1. Add QuartzCore frames to the project.

  2. Add Accelerate Framework (Release 2.0 and later) to the project.

  3. C/++ LLVM GCC 4.2 LLVM 1.6.

+4

All Articles