Class is used to display a Navigine location via iOS UIView. More...
#include <com/navigine/idl/objc/NCLocationView.h>
Inherits UIView.
Instance Methods | |
| (id) | - initWithCoder: |
| Initializes a location view with the data from an unarchiver. | |
| (id) | - initWithFrame: |
| Creates a location view with the specified frame. Vulkan (MoltenVK) is preferred; falls back to system OpenGL ES. | |
| (id) | - initWithFrame:vulkanPreferred: |
| Creates a location view, preferring Vulkan (MoltenVK) when vulkanPreferred is YES. Falls back to system OpenGL ES if Vulkan cannot be created. On the Apple Silicon simulator OpenGL is forced off (it does not work there). | |
Properties | |
| IBInspectable BOOL | vulkanPreferred |
| Prefer Vulkan (MoltenVK). Default YES. Applied from Interface Builder before the GPU surface is created. Changing it after the view is on screen has no effect — the backend is chosen once. | |
| NCLocationWindow * | locationWindow |
| location view's main class. | |
Class is used to display a Navigine location via iOS UIView.
Definition at line 31 of file NCLocationView.h.
| - (id) initWithCoder: | (NSCoder *) | aDecoder |
Initializes a location view with the data from an unarchiver.
| - (id) initWithFrame: | (CGRect) | frame |
Creates a location view with the specified frame. Vulkan (MoltenVK) is preferred; falls back to system OpenGL ES.
| - (id) initWithFrame: | (CGRect) | frame | |
| vulkanPreferred: | (BOOL) | vulkanPreferred |
Creates a location view, preferring Vulkan (MoltenVK) when vulkanPreferred is YES. Falls back to system OpenGL ES if Vulkan cannot be created. On the Apple Silicon simulator OpenGL is forced off (it does not work there).
|
readnonatomicassign |
location view's main class.
Class is used to interact with the view.
Definition at line 63 of file NCLocationView.h.
|
readwritenonatomicassign |
Prefer Vulkan (MoltenVK). Default YES. Applied from Interface Builder before the GPU surface is created. Changing it after the view is on screen has no effect — the backend is chosen once.
Definition at line 56 of file NCLocationView.h.