Loading...
Searching...
No Matches

Compact +/- zoom control stack for navigation view. Forwards tap callbacks to the host. More...

#include <com/navigine/idl/objc/widgets/NCZoomControls.h>

Inherits UIView.

Instance Methods

(instancetype) - initWithOnZoomIn:onZoomOut:
 Initializes zoom controls with callbacks.
 
(instancetype) - initWithOnZoomIn:onZoomOut:config:
 Initializes zoom controls with callbacks and optional config.
 
(void) - applyConfig:
 Applies config at runtime. Call when config has changed.
 

Detailed Description

Compact +/- zoom control stack for navigation view. Forwards tap callbacks to the host.

NCZoomControlsConfig for styling.

Definition at line 27 of file NCZoomControls.h.

Method Documentation

◆ applyConfig:

- (void) applyConfig: (nullable NCZoomControlsConfig *) config

Applies config at runtime. Call when config has changed.

Definition at line 100 of file NCZoomControls.m.

◆ initWithOnZoomIn:onZoomOut:

- (instancetype) initWithOnZoomIn: (NCZoomInCallback) onZoomIn
onZoomOut: (NCZoomOutCallback) onZoomOut 

Initializes zoom controls with callbacks.

Parameters
onZoomInCalled on zoom-in button press.
onZoomOutCalled on zoom-out button press.

Definition at line 19 of file NCZoomControls.m.

◆ initWithOnZoomIn:onZoomOut:config:

- (instancetype) initWithOnZoomIn: (NCZoomInCallback) onZoomIn
onZoomOut: (NCZoomOutCallback) onZoomOut
config: (nullable NCZoomControlsConfig *) config 

Initializes zoom controls with callbacks and optional config.

Parameters
onZoomInCalled on zoom-in button press.
onZoomOutCalled on zoom-out button press.
configOptional config for icons and styles. nil = use defaults.

Definition at line 23 of file NCZoomControls.m.


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