Skip to content

Commit b180a88

Browse files
Pavel TychininPavel Tychinin
authored andcommitted
Release 20250825
1 parent 7bf2373 commit b180a88

File tree

314 files changed

+15606
-1138
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

314 files changed

+15606
-1138
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
All notable changes to this project will be documented in this file.
33
`navigine.framework` adheres to [Semantic Versioning](http://semver.org/).
44

5+
## [2.6.0](https://github.com/Navigine/navigine_ios_framework/releases/tag/v.2.6.0) / 2025-08-25
6+
* Adaptive image rendering
7+
* Improved onRouteChanged method
8+
59
## [2.5.7](https://github.com/Navigine/navigine_ios_framework/releases/tag/v.2.5.7) / 2025-05-27
610
* Added NCPolygonMapObject
711
* Added selectMapFeature/deselectMapFeature/deselectAllMapFeatures/getSelectedMapFeatures

Frameworks/Navigine.xcframework/ios-arm64/Navigine.framework/Headers/NCAnimationType.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* @ingroup navigine_objc_location_view
1010
* @brief Enum described animation functions.
1111
*
12-
* Referenced from @see CircleMapObject "CircleMapObject", @see IconMapObject "IconMapObject", @see FlatIconMapObject "FlatIconMapObject", @see LocationWindow "LocationWindow".
12+
* Referenced from @see CircleMapObject "CircleMapObject", @see IconMapObject "IconMapObject", @see LocationWindow "LocationWindow".
1313
*
1414
*/
1515
typedef NS_ENUM(NSInteger, NCAnimationType)

Frameworks/Navigine.xcframework/ios-arm64/Navigine.framework/Headers/NCAsyncRouteListener.h

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#import "NCExport.h"
22
#import "NCLocationPoint.h"
3+
#import "NCRouteStatus.h"
34
#import <Foundation/Foundation.h>
45
@class NCRoutePath;
56

@@ -24,10 +25,20 @@ DEFAULT_EXPORT_ATTRIBUTE
2425
* @brief Called when new route was built or
2526
* old route was rebuilt after missing previouse one.
2627
*
27-
* @param currentPath @see RoutePath "RoutePath" from current postion to destination point
28+
* @param status @see RouteStatus "RouteStatus" indicating the current router state
29+
* @param currentPath @see RoutePath "RoutePath" from current postion to destination point (null if status is not new_route)
30+
*
31+
*
32+
* Swift code snippet:
33+
* @snippet AsyncRouteManagerExample.swift swift_AsyncRouteListener_onRouteChanged
34+
*
35+
* Objective C code snippet:
36+
* @snippet AsyncRouteManagerExample.m objc_AsyncRouteListener_onRouteChanged
37+
*
2838
*
2939
*/
30-
- (void)onRouteChanged:(nullable NCRoutePath *)currentPath;
40+
- (void)onRouteChanged:(NCRouteStatus)status
41+
currentPath:(nullable NCRoutePath *)currentPath;
3142

3243
/**
3344
* @brief Called when user has progressed along the route
@@ -36,6 +47,14 @@ DEFAULT_EXPORT_ATTRIBUTE
3647
* @param distance distance from the beginning or the route (unit meters)
3748
* @param point current location point on the route
3849
*
50+
*
51+
* Swift code snippet:
52+
* @snippet AsyncRouteManagerExample.swift swift_AsyncRouteListener_onRouteAdvanced
53+
*
54+
* Objective C code snippet:
55+
* @snippet AsyncRouteManagerExample.m objc_AsyncRouteListener_onRouteAdvanced
56+
*
57+
*
3958
*/
4059
- (void)onRouteAdvanced:(float)distance
4160
point:(nonnull NCLocationPoint *)point;

Frameworks/Navigine.xcframework/ios-arm64/Navigine.framework/Headers/NCAsyncRouteManager.h

Lines changed: 45 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,17 +20,61 @@ DEFAULT_EXPORT_ATTRIBUTE
2020
@interface NCAsyncRouteManager : NSObject
2121

2222
/**
23-
* @brief Method is used to create routing session
23+
* @brief Method is used to create routing session with 'default' graph tag
2424
* @param wayPoint destination point.
2525
* @param routeOptions params of @see RouteSession "RouteSession".
2626
* @return @see RouteSession "RouteSession" instance.
27+
*
28+
*
29+
* Swift code snippet:
30+
* @snippet AsyncRouteManagerExample.swift swift_AsyncRouteManager_createRouteSession
31+
*
32+
* Objective C code snippet:
33+
* @snippet AsyncRouteManagerExample.m objc_AsyncRouteManager_createRouteSession
34+
*
35+
*
2736
*/
2837
- (nullable NCRouteSession *)createRouteSession:(nonnull NCLocationPoint *)wayPoint
2938
routeOptions:(nonnull NCRouteOptions *)routeOptions;
3039

40+
/**
41+
* @brief Creates a routing session using a specific graph tag.
42+
*
43+
* Initializes a @see RouteSession "RouteSession" for building a route to the given waypoint using the specified routing options and graph tag.
44+
* If the specified tag is not present in the current location (i.e., the corresponding sublocation graph is not yet available),
45+
* the returned @see RouteSession "RouteSession" will produce an empty route and will not trigger any listeners until the location data
46+
* for that tag becomes available (e.g., after a location update).
47+
*
48+
* @param wayPoint Destination point for the route.
49+
* @param routeOptions Routing parameters @see RouteSession "RouteSession" used to build the route.
50+
* @param tag Graph tag identifying which sublocation graph to use. @see Sublocation "Sublocation"
51+
* @return A RouteSession instance, which may initially be empty if the tag is not available. @see RouteSession "RouteSession"
52+
*
53+
*
54+
* Swift code snippet:
55+
* @snippet AsyncRouteManagerExample.swift swift_AsyncRouteManager_createRouteSessionWithTag
56+
*
57+
* Objective C code snippet:
58+
* @snippet AsyncRouteManagerExample.m objc_AsyncRouteManager_createRouteSessionWithTag
59+
*
60+
*
61+
*/
62+
- (nullable NCRouteSession *)createRouteSessionWithTag:(nonnull NCLocationPoint *)wayPoint
63+
routeOptions:(nonnull NCRouteOptions *)routeOptions
64+
tag:(nonnull NSString *)tag;
65+
3166
/**
3267
* @brief Method is used to cancel routing session
3368
* @param session @see RouteSession "RouteSession" object to cancel.
69+
*
70+
*
71+
* Swift code snippet:
72+
* @snippet AsyncRouteManagerExample.swift swift_AsyncRouteManager_cancelRouteSession
73+
*
74+
* Objective C code snippet:
75+
* @snippet AsyncRouteManagerExample.m objc_AsyncRouteManager_cancelRouteSession
76+
*
77+
*
3478
*/
3579
- (void)cancelRouteSession:(nullable NCRouteSession *)session;
3680

Frameworks/Navigine.xcframework/ios-arm64/Navigine.framework/Headers/NCBeacon.h

Lines changed: 81 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,47 +22,127 @@ DEFAULT_EXPORT_ATTRIBUTE
2222

2323
/**
2424
* @brief beacon's X and Y coordinates in meters as @see Point "Point" (within the sublocation).
25+
*
26+
*
27+
* Swift code snippet:
28+
* @snippet LocationManagerExample.swift swift_Beacon_getPoint
29+
*
30+
* Objective C code snippet:
31+
* @snippet LocationManagerExample.m objc_Beacon_getPoint
32+
*
33+
*
2534
*/
2635
@property (nonatomic, nonnull, readonly) NCPoint * point;
2736

2837
/**
2938
* @brief beacon's location identifier.
39+
*
40+
*
41+
* Swift code snippet:
42+
* @snippet LocationManagerExample.swift swift_Beacon_getLocationId
43+
*
44+
* Objective C code snippet:
45+
* @snippet LocationManagerExample.m objc_Beacon_getLocationId
46+
*
47+
*
3048
*/
3149
@property (nonatomic, readonly) int32_t locationId;
3250

3351
/**
3452
* @brief beacon's sublocation identifier.
53+
*
54+
*
55+
* Swift code snippet:
56+
* @snippet LocationManagerExample.swift swift_Beacon_getSublocationId
57+
*
58+
* Objective C code snippet:
59+
* @snippet LocationManagerExample.m objc_Beacon_getSublocationId
60+
*
61+
*
3562
*/
3663
@property (nonatomic, readonly) int32_t sublocationId;
3764

3865
/**
3966
* @brief beacon's name.
67+
*
68+
*
69+
* Swift code snippet:
70+
* @snippet LocationManagerExample.swift swift_Beacon_getName
71+
*
72+
* Objective C code snippet:
73+
* @snippet LocationManagerExample.m objc_Beacon_getName
74+
*
75+
*
4076
*/
4177
@property (nonatomic, nonnull, readonly) NSString * name;
4278

4379
/**
4480
* @brief beacon's major. Values [1-65535]
81+
*
82+
*
83+
* Swift code snippet:
84+
* @snippet LocationManagerExample.swift swift_Beacon_getMajor
85+
*
86+
* Objective C code snippet:
87+
* @snippet LocationManagerExample.m objc_Beacon_getMajor
88+
*
89+
*
4590
*/
4691
@property (nonatomic, readonly) int32_t major;
4792

4893
/**
4994
* @brief beacon's minor. Values [1-65535]
95+
*
96+
*
97+
* Swift code snippet:
98+
* @snippet LocationManagerExample.swift swift_Beacon_getMinor
99+
*
100+
* Objective C code snippet:
101+
* @snippet LocationManagerExample.m objc_Beacon_getMinor
102+
*
103+
*
50104
*/
51105
@property (nonatomic, readonly) int32_t minor;
52106

53107
/**
54108
* @brief beacon's uuid. Format [XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX]
109+
*
110+
*
111+
* Swift code snippet:
112+
* @snippet LocationManagerExample.swift swift_Beacon_getUuid
113+
*
114+
* Objective C code snippet:
115+
* @snippet LocationManagerExample.m objc_Beacon_getUuid
116+
*
117+
*
55118
*/
56119
@property (nonatomic, nonnull, readonly) NSString * uuid;
57120

58121
/**
59-
* iBeacon power. If exsists.
60122
* @brief beacon's power.
123+
*
124+
*
125+
* Swift code snippet:
126+
* @snippet LocationManagerExample.swift swift_Beacon_getPower
127+
*
128+
* Objective C code snippet:
129+
* @snippet LocationManagerExample.m objc_Beacon_getPower
130+
*
131+
*
61132
*/
62133
@property (nonatomic, nullable, readonly) NSNumber * power;
63134

64135
/**
65136
* @brief iBeacon status. @see TransmitterStatus "TransmitterStatus"
137+
*
138+
*
139+
* Swift code snippet:
140+
* @snippet LocationManagerExample.swift swift_Beacon_getStatus
141+
*
142+
* Objective C code snippet:
143+
* @snippet LocationManagerExample.m objc_Beacon_getStatus
144+
*
145+
*
66146
*/
67147
@property (nonatomic, readonly) NCTransmitterStatus status;
68148

Frameworks/Navigine.xcframework/ios-arm64/Navigine.framework/Headers/NCBitmapRegionDecoder.h

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,14 @@ DEFAULT_EXPORT_ATTRIBUTE
2323
* @param data raw image data (could be raw svg string)
2424
* @return nstance of decoder, which could be used for decoding byte array to bitmap.
2525
*
26+
*
27+
* Swift code snippet:
28+
* @snippet BitmapRegionDecoderExample.swift swift_BitmapRegionDecoder_newInstance
29+
*
30+
* Objective C code snippet:
31+
* @snippet BitmapRegionDecoderExample.m objc_BitmapRegionDecoder_newInstance
32+
*
33+
*
2634
*/
2735
+ (nullable NCBitmapRegionDecoder *)newInstance:(nonnull NSData *)data;
2836

@@ -33,8 +41,16 @@ DEFAULT_EXPORT_ATTRIBUTE
3341
* @param sampleSize if set to a value > 1, requests the decoder to subsample the original image, returning a smaller image to save memory.
3442
* @return constructed bitmap
3543
*
44+
*
45+
* Swift code snippet:
46+
* @snippet BitmapRegionDecoderExample.swift swift_BitmapRegionDecoder_decodeRegion
47+
*
48+
* Objective C code snippet:
49+
* @snippet BitmapRegionDecoderExample.m objc_BitmapRegionDecoder_decodeRegion
50+
*
51+
*
3652
*/
3753
- (nullable UIImage *)decodeRegion:(nonnull NCRectangle *)rect
38-
sampleSize:(int32_t)sampleSize;
54+
sampleSize:(float)sampleSize;
3955

4056
@end

Frameworks/Navigine.xcframework/ios-arm64/Navigine.framework/Headers/NCCamera.h

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,15 @@
1212
* @brief Class describing position of the camera.
1313
*
1414
* Referenced from @see LocationWindow "LocationWindow".
15+
*
16+
*
17+
* Swift code snippet:
18+
* @snippet LocationWindowCameraExample.swift swift_Camera_constructor
19+
*
20+
* Objective C code snippet:
21+
* @snippet LocationWindowCameraExample.m objc_Camera_constructor
22+
*
23+
*
1524
*/
1625
DEFAULT_EXPORT_ATTRIBUTE
1726
@interface NCCamera : NSObject

Frameworks/Navigine.xcframework/ios-arm64/Navigine.framework/Headers/NCCameraListener.h

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,14 @@ DEFAULT_EXPORT_ATTRIBUTE
2626
* @param finished true if the camera finished moving, false otherwise.
2727
* If a movement is cancelled then reason represents initiator of cancellation.
2828
*
29+
*
30+
* Swift code snippet:
31+
* @snippet LocationWindowCameraExample.swift swift_CameraListener_onCameraPositionChanged
32+
*
33+
* Objective C code snippet:
34+
* @snippet LocationWindowCameraExample.m objc_CameraListener_onCameraPositionChanged
35+
*
36+
*
2937
*/
3038
- (void)onCameraPositionChanged:(NCCameraUpdateReason)reason
3139
finished:(BOOL)finished;
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
#import <Foundation/Foundation.h>
2+
3+
/**
4+
* @file NCCapType.h
5+
* @brief @copybrief NCCapType
6+
*/
7+
/**
8+
* @ingroup navigine_objc_classes
9+
* @ingroup navigine_objc_location_view
10+
*
11+
* @brief Enum defining the type of cap for polyline ends.
12+
*
13+
* Referenced from @see PolylineMapObject "PolylineMapObject".
14+
*
15+
*/
16+
typedef NS_ENUM(NSInteger, NCCapType)
17+
{
18+
/**
19+
* @brief No points added to the end of the line.
20+
*/
21+
NCCapTypeBUTT,
22+
/**
23+
* @brief Two points added to make a square extension.
24+
*/
25+
NCCapTypeSQUARE,
26+
/**
27+
* @brief Six points added in a fan to make a round cap.
28+
*/
29+
NCCapTypeROUND,
30+
};

Frameworks/Navigine.xcframework/ios-arm64/Navigine.framework/Headers/NCCategory.h

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,16 +31,43 @@ DEFAULT_EXPORT_ATTRIBUTE
3131

3232
/**
3333
* @brief category identifier.
34+
*
35+
*
36+
* Swift code snippet:
37+
* @snippet LocationManagerExample.swift swift_Category_getId
38+
*
39+
* Objective C code snippet:
40+
* @snippet LocationManagerExample.m objc_Category_getId
41+
*
42+
*
3443
*/
3544
@property (nonatomic, readonly) int32_t id;
3645

3746
/**
3847
* @brief category name.
48+
*
49+
*
50+
* Swift code snippet:
51+
* @snippet LocationManagerExample.swift swift_Category_getName
52+
*
53+
* Objective C code snippet:
54+
* @snippet LocationManagerExample.m objc_Category_getName
55+
*
56+
*
3957
*/
4058
@property (nonatomic, readonly, nonnull) NSString * name;
4159

4260
/**
4361
* @brief image source. If presented.
62+
*
63+
*
64+
* Swift code snippet:
65+
* @snippet LocationManagerExample.swift swift_Category_getImageUrl
66+
*
67+
* Objective C code snippet:
68+
* @snippet LocationManagerExample.m objc_Category_getImageUrl
69+
*
70+
*
4471
*/
4572
@property (nonatomic, readonly, nullable) NSString * imageUrl;
4673

0 commit comments

Comments
 (0)