43409819 |
1 | OCCT sample for iOS {#occt_samples_ios_uikit} |
2 | ================== |
3 | |
4 | UIKitSample consists of the Open CASCADE 3D Viewer which provides import of STEP files and toolbar with three buttons. |
5 | |
6 | The first and second buttons serve for import hardcoded STEP files. The third button displays "About" dialog. |
7 | |
8 | The viewer supports zoom, pan and rotate actions. The viewer supports selection of solids as well. |
a9bdd54d |
9 | |
10 | Installation and configuration: |
11 | 1. Make sure you are running Mac OS version 10.12.1 or above and properly installed XCode version 8.1 or above. |
12 | 2. Install Open CASCADE Technology (OCCT) and build static libraries for desired device or/and simulator on your workstation. |
13 | 3. Build or download Freetype2 static library for desired device or/and simulator. |
14 | 4. Open UIKitSample in XCode. |
15 | 5. Select the UIKitSample project and add the OCCT static libraries and Freetype2 static library. |
16 | 6. Select the UIKitSample and go to the "Build Settings" tab. After go to the section "Search Paths" and in the field "Header Search Paths" specify a path to the OCCT inc folder. Next in the field "Library Search Paths" specify a path/paths to the OCCT static libraries and Freetype2 static library folders. |
17 | 7. Connect device and build sample for device or choose simulator as a target and build for simulator. |
18 | 8. Run sample. |