Loading...
Searching...
No Matches

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.
 
NCLocationWindowlocationWindow
 location view's main class.
 

Detailed Description

Class is used to display a Navigine location via iOS UIView.

Definition at line 31 of file NCLocationView.h.

Method Documentation

◆ initWithCoder:

- (id) initWithCoder: (NSCoder *) aDecoder

Initializes a location view with the data from an unarchiver.

◆ initWithFrame:

- (id) initWithFrame: (CGRect) frame

Creates a location view with the specified frame. Vulkan (MoltenVK) is preferred; falls back to system OpenGL ES.

◆ initWithFrame:vulkanPreferred:

- (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).

Property Documentation

◆ locationWindow

- (NCLocationWindow*) locationWindow
readnonatomicassign

location view's main class.

Class is used to interact with the view.

Definition at line 63 of file NCLocationView.h.

◆ vulkanPreferred

- (IBInspectable BOOL) vulkanPreferred
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.


The documentation for this class was generated from the following file: