GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — Using Core Plot in an Application Using Core Plot in an Application
Eric Skroch edited this page
Core Plot works on both Mac and iOS. The framework must be integrated into a project in different ways for each platform. Core Plot on the Mac is a standard framework. After pulling down the latest source code for the framework, there are only a few steps required to insert it into one of your projects. First, you will want to make sure that Core Plot is compiled alongside your application, so drag the The framework will need to be copied into your app bundle, so add a new build phase to your application's target by Ctrl-clicking on it and selecting "Add | New Build Phase | New Copy Files Build Phase". Within the inspector that appears, change the destination to Frameworks. Drag To link Core Plot to your target application, drag Because Core Plot is based on Core Animation, you need to add the To import all of the Core Plot classes and data types, add the following to the appropriate source files within your project: Because frameworks cannot be used in Cocoa Touch applications in the same way as on the Mac, the means of including Core Plot within an iPhone application are slightly different. First, drag the Select your application target from under the "Targets" source list that appears. Click on the "Build Phases" tab and expand the "Target Dependencies" group. Click on the plus button, select the Core Plot is built as a static library for iPhone, so you'll need to drag the You'll also need to point to the right header location. Under your Build settings, set the Header Search Paths to the relative path from your application to the framework/ subdirectory within the Core Plot source tree. Make sure to make this header search path recursive. You need to add Core Plot is based on Core Animation, so if you haven't already, add the Finally, you should be able to import all of the Core Plot classes and data types by inserting the following line in the appropriate source files within your project: You can also just copy the Core Plot library directly into your project in binary form.
Clone this wiki locally |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |