|
@@ -36,7 +36,7 @@ I've chosen to write it in `Swift` as it can be highly optimized by the compiler
|
|
In order to correctly compile:
|
|
In order to correctly compile:
|
|
|
|
|
|
1. Drag the `Charts.xcodeproj` to your project
|
|
1. Drag the `Charts.xcodeproj` to your project
|
|
-2. Go to your target's settings, hit the "+" under the "Embedded Binaries" section, and select the Charts.framework
|
|
|
|
|
|
+2. Go to your target's settings, hit the "+" under the "Frameworks, Libraries, and Embedded Content" section, and select the Charts.framework
|
|
3. `@import Charts`
|
|
3. `@import Charts`
|
|
4. When using Swift in an ObjC project:
|
|
4. When using Swift in an ObjC project:
|
|
- You need to import your Bridging Header. Usually it is "*YourProject-Swift.h*", so in ChartsDemo it's "*ChartsDemo-Swift.h*". Do not try to actually include "*ChartsDemo-Swift.h*" in your project :-)
|
|
- You need to import your Bridging Header. Usually it is "*YourProject-Swift.h*", so in ChartsDemo it's "*ChartsDemo-Swift.h*". Do not try to actually include "*ChartsDemo-Swift.h*" in your project :-)
|