Skip to content

Commit 0e6164d

Browse files
committed
version 2.0.1
1 parent 0d4b162 commit 0e6164d

Some content is hidden

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

53 files changed

+152
-234
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,9 @@
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.0.1](https://github.com/Navigine/navigine_ios_framework/releases/tag/v.2.0.1) / 2021-11-14
6+
* Add function pickMapObjectAt(x, y)
7+
* Add function getDeviceid()
8+
59
## [2.0.0](https://github.com/Navigine/navigine_ios_framework/releases/tag/v.2.0.0) / 2021-11-14
610
* Initial version

Frameworks/navigine.framework/Headers/NCAsyncRouteListener.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66

77
NAVIGINE_EXPORT
8-
@protocol NCAsyncRouteListener
8+
@protocol NCAsyncRouteListener <NSObject>
99

1010
- (void)onRouteChanged:(nullable NCRoutePath *)currentPath
1111
pendingPaths:(nonnull NSArray<NCRoutePath *> *)pendingPaths;
Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
#import "NCAnimationType.h"
22
#import "NCExport.h"
33
#import "NCLocationPoint.h"
4+
#import "NCMapObject.h"
45
#import <Foundation/Foundation.h>
56

67

78
NAVIGINE_EXPORT
8-
@interface NCCircleMapObject : NSObject
9+
@interface NCCircleMapObject : NCMapObject
910

1011
- (BOOL)setPosition:(nonnull NCLocationPoint *)point;
1112

@@ -15,11 +16,4 @@ NAVIGINE_EXPORT
1516

1617
- (BOOL)setRadius:(float)radius;
1718

18-
- (BOOL)setVisible:(BOOL)visible;
19-
20-
- (BOOL)setColor:(float)red
21-
green:(float)green
22-
blue:(float)blue
23-
alpha:(float)alpha;
24-
2519
@end
Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
#import "NCAnimationType.h"
22
#import "NCExport.h"
33
#import "NCLocationPoint.h"
4+
#import "NCMapObject.h"
45
#import <Foundation/Foundation.h>
56
#import <UIKit/UIKit.h>
67

78

89
NAVIGINE_EXPORT
9-
@interface NCIconMapObject : NSObject
10+
@interface NCIconMapObject : NCMapObject
1011

1112
- (BOOL)setPosition:(nonnull NCLocationPoint *)point;
1213

@@ -19,8 +20,4 @@ NAVIGINE_EXPORT
1920
- (BOOL)setSize:(float)width
2021
height:(float)height;
2122

22-
- (BOOL)setVisible:(BOOL)visible;
23-
24-
- (BOOL)setInteractive:(BOOL)interactive;
25-
2623
@end

Frameworks/navigine.framework/Headers/NCLocationEditListener.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44

55
NAVIGINE_EXPORT
6-
@protocol NCLocationEditListener
6+
@protocol NCLocationEditListener <NSObject>
77

88
- (void)onLocationUploaded;
99

Frameworks/navigine.framework/Headers/NCLocationListListener.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55

66
NAVIGINE_EXPORT
7-
@protocol NCLocationListListener
7+
@protocol NCLocationListListener <NSObject>
88

99
- (void)onLocationListLoaded:(nonnull NSDictionary<NSNumber *, NCLocationInfo *> *)locationInfos;
1010

Frameworks/navigine.framework/Headers/NCLocationListener.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55

66
NAVIGINE_EXPORT
7-
@protocol NCLocationListener
7+
@protocol NCLocationListener <NSObject>
88

99
- (void)onLocationLoaded:(nullable NCLocation *)location;
1010

Frameworks/navigine.framework/Headers/NCLocationView.h

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,9 @@ NS_ASSUME_NONNULL_BEGIN
66
@class NCCircleMapObject;
77
@class NCIconMapObject;
88
@class NCPolylineMapObject;
9-
@class NCPoint;
10-
@class NCSublocation;
119

1210
@protocol NCGestureRecognizerDelegate;
13-
@protocol NCLocationViewDelegate;
11+
@protocol NCPickListener;
1412

1513
NAVIGINE_EXPORT
1614
@interface NCLocationView : UIView
@@ -45,7 +43,7 @@ NAVIGINE_EXPORT
4543

4644
@property (assign, nonatomic) NSInteger preferredFramesPerSecond;
4745

48-
@property (weak, nonatomic, nullable) id<NCLocationViewDelegate> locationViewDelegate;
46+
@property (weak, nonatomic, nullable) id<NCPickListener> pickListener;
4947

5048
#pragma mark Gesture Recognizers
5149

Frameworks/navigine.framework/Headers/NCLocationViewDelegate.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
@param pickResult A result object with information about the picked object or `nil` if no object was found.
2020
@param position The view position where object was picked.
2121
*/
22-
- (void)locationView:(nonnull NCLocationView *)mapView
23-
didSelectMapObject:(nullable NCMapObjectPickResult *)markerPickResult
22+
- (void)locationView:(nonnull NCLocationView *) locationView
23+
didSelectMapObject:(nullable NCMapObjectPickResult *)mapObjectPickResult
2424
atScreenPosition:(CGPoint)position;
2525

2626
@end // protocol NCLocationViewDelegate
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
#import "NCExport.h"
2+
#import "NCMapObjectType.h"
3+
#import <Foundation/Foundation.h>
4+
5+
6+
NAVIGINE_EXPORT
7+
@interface NCMapObject : NSObject
8+
9+
- (BOOL)setVisible:(BOOL)visible;
10+
11+
- (BOOL)setColor:(float)red
12+
green:(float)green
13+
blue:(float)blue
14+
alpha:(float)alpha;
15+
16+
- (BOOL)setInteractive:(BOOL)interactive;
17+
18+
- (void)setData:(nonnull NSData *)data;
19+
20+
@property (nonatomic, readonly) int32_t id;
21+
22+
@property (nonatomic, readonly) NCMapObjectType type;
23+
24+
@property (nonatomic, nonnull, readonly) NSData * data;
25+
26+
@end

0 commit comments

Comments
 (0)