-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
178a54d
commit 0d4b162
Showing
230 changed files
with
7,929 additions
and
321 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Change Log | ||
All notable changes to this project will be documented in this file. | ||
`navigine.framework` adheres to [Semantic Versioning](http://semver.org/). | ||
|
||
## [2.0.0](https://github.com/Navigine/navigine_ios_framework/releases/tag/v.2.0.0) / 2021-11-14 | ||
* Initial version |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#import <Foundation/Foundation.h> | ||
|
||
typedef NS_ENUM(NSInteger, NCAnimationType) | ||
{ | ||
NCAnimationTypeNone, | ||
NCAnimationTypeLinear, | ||
NCAnimationTypeCubic, | ||
NCAnimationTypeQuint, | ||
NCAnimationTypeSine, | ||
}; |
16 changes: 16 additions & 0 deletions
16
Frameworks/navigine.framework/Headers/NCAsyncRouteListener.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#import "NCExport.h" | ||
#import "NCLocationPoint.h" | ||
#import <Foundation/Foundation.h> | ||
@class NCRoutePath; | ||
|
||
|
||
NAVIGINE_EXPORT | ||
@protocol NCAsyncRouteListener | ||
|
||
- (void)onRouteChanged:(nullable NCRoutePath *)currentPath | ||
pendingPaths:(nonnull NSArray<NCRoutePath *> *)pendingPaths; | ||
|
||
- (void)onRouteAdvanced:(float)distance | ||
point:(nonnull NCLocationPoint *)point; | ||
|
||
@end |
14 changes: 14 additions & 0 deletions
14
Frameworks/navigine.framework/Headers/NCAsyncRouteManager.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#import "NCExport.h" | ||
#import "NCLocationPoint.h" | ||
#import <Foundation/Foundation.h> | ||
@class NCRouteSession; | ||
|
||
|
||
NAVIGINE_EXPORT | ||
@interface NCAsyncRouteManager : NSObject | ||
|
||
- (nullable NCRouteSession *)createRouteSession:(nonnull NSArray<NCLocationPoint *> *)wayPoints; | ||
|
||
- (void)cancelRouteSession:(nullable NCRouteSession *)session; | ||
|
||
@end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
Frameworks/navigine.framework/Headers/NCBitmapRegionDecoder.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 11 additions & 13 deletions
24
Frameworks/navigine.framework/Headers/NCCircleMapObject.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#pragma once | ||
#define NAVIGINE_EXPORT __attribute__((visibility("default"))) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
182 changes: 182 additions & 0 deletions
182
Frameworks/navigine.framework/Headers/NCGestureRecognizerDelegate.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,182 @@ | ||
#import <Foundation/Foundation.h> | ||
#import <UIKit/UIKit.h> | ||
|
||
@class NCLocationView; | ||
|
||
/** | ||
The `NCGestureRecognizerDelegate` protocol can be implemented to receive gesture events from the map view. The map view will | ||
first check whether a gestureDelegate is set, then check whether it responds to any `shouldRecognize*` method: | ||
- If the delegate responds to `shouldRecognize*`, the map view only performs its default handling of the gesture if | ||
`shouldRecognize*` returns `YES`. | ||
- If the delegate doesn't respond to `shouldRecognize*`, the map view performs its default handling of the gesture. | ||
Finally, if the delegate implements `didRecognize*` then the map view calls this method after the gesture is handled. | ||
@note These methods are all **optional**. All the screen positions in this interface are in _logical pixels_ or | ||
_drawing coordinate system_ (based on a `UIKit` coordinate system) which is independent of the phone pixel density. | ||
Refer to the | ||
<a href="https://developer.apple.com/library/content/documentation/2DDrawing/Conceptual/DrawingPrintingiOS/GraphicsDrawingOverview/GraphicsDrawingOverview.html"> | ||
Apple documentation</a> regarding _Coordinate Systems and Drawing in iOS_ for more informations. | ||
*/ | ||
@protocol NCGestureRecognizerDelegate <NSObject> | ||
@optional | ||
|
||
/** | ||
Whether the map view should handle a single tap gesture. | ||
@param view The map view instance. | ||
@param recognizer The `UIGestureRecognizer` that recognized the gesture. | ||
@param location The location of the recognized gesture in the view. | ||
@return `YES` if the map view should handle this gesture, otherwise `NO`. | ||
*/ | ||
- (BOOL)locationView:(NCLocationView *)view | ||
recognizer:(UIGestureRecognizer *)recognizer | ||
shouldRecognizeSingleTapGesture:(CGPoint)location; | ||
|
||
/** | ||
Whether the map view should handle a double tap gesture. | ||
@param view The map view instance. | ||
@param recognizer The `UIGestureRecognizer` that recognized the gesture. | ||
@param location The location of the recognized gesture in the view. | ||
@return `YES` if the map view should handle this gesture, otherwise `NO`. | ||
*/ | ||
- (BOOL)locationView:(NCLocationView *)view | ||
recognizer:(UIGestureRecognizer *)recognizer | ||
shouldRecognizeDoubleTapGesture:(CGPoint)location; | ||
|
||
/** | ||
Whether the map view should handle a long press gesture. | ||
@param view The map view instance. | ||
@param recognizer The `UIGestureRecognizer` that recognized the gesture. | ||
@param location The location of the recognized gesture in the view. | ||
@return `YES` if the map view should handle this gesture, otherwise `NO`. | ||
*/ | ||
- (BOOL)locationView:(NCLocationView *)view | ||
recognizer:(UIGestureRecognizer *)recognizer | ||
shouldRecognizeLongPressGesture:(CGPoint)location; | ||
|
||
/** | ||
Whether the map view should handle a pan gesture. | ||
@param view The map view instance. | ||
@param recognizer The `UIGestureRecognizer` that recognized the gesture. | ||
@param displacement The displacement of the recognized gesture in the view. | ||
@return `YES` if the map view should handle this gesture, otherwise `NO`. | ||
*/ | ||
- (BOOL)locationView:(NCLocationView *)view | ||
recognizer:(UIGestureRecognizer *)recognizer | ||
shouldRecognizePanGesture:(CGPoint)displacement; | ||
|
||
/** | ||
Whether the map view should handle a pinch gesture. | ||
@param view The map view instance. | ||
@param recognizer The `UIGestureRecognizer` that recognized the gesture. | ||
@param location The position of the recognized gesture in the view. | ||
@return `YES` if the map view should handle this gesture, otherwise `NO`. | ||
*/ | ||
- (BOOL)locationView:(NCLocationView *)view | ||
recognizer:(UIGestureRecognizer *)recognizer | ||
shouldRecognizePinchGesture:(CGPoint)location; | ||
|
||
/** | ||
Whether the map view should handle a rotation gesture. | ||
@param view The map view instance. | ||
@param recognizer The `UIGestureRecognizer` that recognized the gesture. | ||
@param location The position of the recognized gesture in the view. | ||
@return `YES` if the map view should handle this gesture, otherwise `NO`. | ||
*/ | ||
// - (BOOL)locationView:(NCLocationView *)view | ||
// recognizer:(UIGestureRecognizer *)recognizer | ||
// shouldRecognizeRotationGesture:(CGPoint)location; | ||
|
||
/** | ||
Whether the map view should handle a shove gesture. | ||
@param view The map view instance. | ||
@param recognizer The `UIGestureRecognizer` that recognized the gesture. | ||
@param displacement The displacement of the recognized gesture in the view. | ||
@return `YES` if the map view should handle this gesture, otherwise `NO`. | ||
*/ | ||
// - (BOOL)locationView:(NCLocationView *)view | ||
// recognizer:(UIGestureRecognizer *)recognizer | ||
// shouldRecognizeShoveGesture:(CGPoint)displacement; | ||
|
||
/** | ||
Called when the map view just handled a single tap gesture. | ||
@param view The map view instance. | ||
@param recognizer The `UIGestureRecognizer` the recognized the gesture. | ||
@param location The position of the recognized gesture in the view. | ||
*/ | ||
- (void)locationView:(NCLocationView *)view | ||
recognizer:(UIGestureRecognizer *)recognizer | ||
didRecognizeSingleTapGesture:(CGPoint)location; | ||
|
||
/** | ||
Called when the map view just handled a single double tap gesture. | ||
@param view The map view instance. | ||
@param recognizer The `UIGestureRecognizer` the recognized the gesture. | ||
@param location The position of the recognized gesture in the view. | ||
*/ | ||
- (void)locationView:(NCLocationView *)view | ||
recognizer:(UIGestureRecognizer *)recognizer | ||
didRecognizeDoubleTapGesture:(CGPoint)location; | ||
|
||
/** | ||
Called when the map view just handled a long press gesture. | ||
@param view The map view instance. | ||
@param recognizer The `UIGestureRecognizer` the recognized the gesture. | ||
@param location The position of the recognized gesture in the view. | ||
*/ | ||
- (void)locationView:(NCLocationView *)view | ||
recognizer:(UIGestureRecognizer *)recognizer | ||
didRecognizeLongPressGesture:(CGPoint)location; | ||
|
||
/** | ||
Called when the map view just handled a pan gesture. | ||
@param view The map view instance. | ||
@param recognizer The `UIGestureRecognizer` the recognized the gesture. | ||
@param displacement The displacement of the recognized gesture in the view. | ||
*/ | ||
- (void)locationView:(NCLocationView *)view | ||
recognizer:(UIGestureRecognizer *)recognizer | ||
didRecognizePanGesture:(CGPoint)displacement; | ||
|
||
/** | ||
Called when the map view just handled a pinch gesture. | ||
@param view The map view instance. | ||
@param recognizer The `UIGestureRecognizer` the recognized the gesture. | ||
@param location The position of the recognized gesture in the view. | ||
*/ | ||
- (void)locationView:(NCLocationView *)view | ||
recognizer:(UIGestureRecognizer *)recognizer | ||
didRecognizePinchGesture:(CGPoint)location; | ||
|
||
/** | ||
Called when the map view just handled a rotation gesture. | ||
@param view The map view instance. | ||
@param recognizer The `UIGestureRecognizer` the recognized the gesture. | ||
@param location The position of the recognized gesture in the view. | ||
*/ | ||
// - (void)locationView:(NCLocationView *)view | ||
// recognizer:(UIGestureRecognizer *)recognizer | ||
// didRecognizeRotationGesture:(CGPoint)location; | ||
|
||
/** | ||
Called when the map view just handled a shove gesture. | ||
@param view The map view instance. | ||
@param recognizer The `UIGestureRecognizer` the recognized the gesture. | ||
@param displacement The displacement of the recognized gesture in the view. | ||
*/ | ||
// - (void)locationView:(NCLocationView *)view | ||
// recognizer:(UIGestureRecognizer *)recognizer | ||
// didRecognizeShoveGesture:(CGPoint)displacement; | ||
|
||
/** | ||
If implemented, the returned value will be the focus for the pinch gesture. | ||
@param view The map view instance. | ||
@param recognizer The `UIGestureRecognizer` that recognized the gesture. | ||
@return The screen position the pinch gesture should focus to. | ||
*/ | ||
- (CGPoint)pinchFocus:(NCLocationView *)view recognizer:(UIGestureRecognizer *)recognizer; | ||
|
||
@end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.