| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
This repository contains official documentation for SciChart.iOS & macOS: High Performance Realtime iOS & macOS Chart Library.
SciChart.iOS & macOS Chart Examples are provided in Swift & Objective-C. If you are looking for other platforms then please see here:
Here you can also find Examples and Tutorials used in documentation articles:
Jazzy - CLI tool that generates documentation for Swift or Objective-C. On Mac it can be installed from rubygems: [sudo] gem install jazzy Latest stable version at the moment of writing was v0.14.2.
SourceKitten - CLI tool for interacting with SourceKit. On mac is installed via Homebrew - brew install sourcekitten
Run one of the following commands from the build/build_docs.sh script:
| Command | Description |
|---|---|
| generate-api-docs | generates API documentation from pre-built `SciChart.framework` or `SciChart.xcframework`. |
| generate-site | generates full documentation site from `.md` articles and `SourceKit` API docs metadata. |
| build | build full documentation from `.md` articles and SciChart.iOS API docs comments. |
e.g sh build/build_docs.sh generate-site
To build documentation at first we need to prepare library headers to extract API documentation. Those can be extract from SciChart.framework.
We also need to resolve common jazzy problem, when your directory structure does not reflect the include/import statements, e.g. you have #import <MyFile/MyFile.h> but the directory containing MyFile.h is called Sources/Headers. Then whatever -I,path pair you pass the compile fails complaining about not finding files.
Since there's no neat solution we are manually create folder filled with headers from SciChart.framework required by umbrella in needed place to run jazzy against. More informatiion about workarounds:
Long story short - SciChart.h must be on the same level, that it's headers SciChart/*.h
.jazzy.yaml should contain the following lines:
framework_root: path_to_headers/
umbrella_header: path_to_headers/SciChart.hsourcekitten doc --objc "SciChart.h" -- -x objective-c \
-isysroot $(xcrun --sdk iphonesimulator --show-sdk-path) \
-I "./" > api/scichart-sourcekit-api-docsThis will output your API documentation .json in api/scichart-sourcekit-api-docs file. From here you just need to specify where to get prepared the above .json in .jazzy.yaml:
sourcekitten_sourcefile: api/scichart-sourcekit-api-docsjazzyThis will build documentation and place it in the root directory
custom_categories:
- name: SciChart iOS v4 SDK User Manual
children:
- Installation and System Requirements| Back | FazBrowse Home | New Git URL |