a9bdd54d |
1 | // This file contains a description of the UIKitSample and step-by-step instructions how to build and run it. |
2 | |
3 | Installation and configuration: |
4 | 1. Make sure you are running Mac OS version 10.12.1 or above and properly installed XCode version 8.1 or above. |
5 | 2. Install Open CASCADE Technology (OCCT) and build static libraries for desired device or/and simulator on your workstation. |
6 | 3. Build or download Freetype2 static library for desired device or/and simulator. |
7 | 4. Open UIKitSample in XCode. |
8 | 5. Select the UIKitSample project and add the OCCT static libraries and Freetype2 static library. |
9 | 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. |
10 | 7. Connect device and build sample for device or choose simulator as a target and build for simulator. |
11 | 8. Run sample. |
12 | |
13 | Description: |
14 | UIKitSample consists of the Open CASCADE 3D Viewer which provides import of STEP files and toolbar with three buttons. |
15 | The first and second buttons serve for import hardcoded STEP files. The third button displays "About" dialog. |
16 | The viewer supports zoom, pan and rotate actions. The viewer supports selection of solids as well. |