Skip to content

Commit

Permalink
Merge pull request #11 from nextbillion-ai/update/1.1.20
Browse files Browse the repository at this point in the history
Update framework to 1.1.20
  • Loading branch information
zhengshenqiu authored Dec 11, 2023
2 parents 738365d + fd878bb commit 5b988ee
Show file tree
Hide file tree
Showing 38 changed files with 135 additions and 154 deletions.
14 changes: 7 additions & 7 deletions NbmapDirections.xcframework/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -5,37 +5,37 @@
<key>AvailableLibraries</key>
<array>
<dict>
<key>BitcodeSymbolMapsPath</key>
<string>BCSymbolMaps</string>
<key>DebugSymbolsPath</key>
<string>dSYMs</string>
<key>LibraryIdentifier</key>
<string>ios-arm64_x86_64-simulator</string>
<string>ios-arm64</string>
<key>LibraryPath</key>
<string>NbmapDirections.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict>
<dict>
<key>BitcodeSymbolMapsPath</key>
<string>BCSymbolMaps</string>
<key>DebugSymbolsPath</key>
<string>dSYMs</string>
<key>LibraryIdentifier</key>
<string>ios-arm64</string>
<string>ios-arm64_x86_64-simulator</string>
<key>LibraryPath</key>
<string>NbmapDirections.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict>
</array>
<key>CFBundlePackageType</key>
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -45,5 +45,8 @@ typedef NS_OPTIONS(NSUInteger, NBRoadClasses) {
*/
NBRoadClassesUTurn = (1 << 6),


/**
Avoid nothing during the route.
*/
NBRoadClassesNone = (1 << 7),
};
Original file line number Diff line number Diff line change
Expand Up @@ -642,7 +642,7 @@ SWIFT_CLASS_NAMED("RouteLeg")
///
/// \param profileIdentifier The profile identifier used to request the routes.
///
- (nonnull instancetype)initWithJSON:(NSDictionary<NSString *, id> * _Nonnull)json source:(NBWaypoint * _Nonnull)source destination:(NBWaypoint * _Nonnull)destination options:(NBDirectionsOptions * _Nonnull)options drivingSide:(enum NBDrivingSide)drivingSide;
- (nonnull instancetype)initWithJSON:(NSDictionary<NSString *, id> * _Nonnull)json source:(NBWaypoint * _Nonnull)source destination:(NBWaypoint * _Nonnull)destination options:(NBDirectionsOptions * _Nonnull)options;
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)decoder OBJC_DESIGNATED_INITIALIZER;
SWIFT_CLASS_PROPERTY(@property (nonatomic, class) BOOL supportsSecureCoding;)
+ (BOOL)supportsSecureCoding SWIFT_WARN_UNUSED_RESULT;
Expand Down Expand Up @@ -783,7 +783,7 @@ SWIFT_CLASS_NAMED("RouteStep")
/// Normally, you do not create instances of this class directly. Instead, you receive route step objects as part of route objects when you request directions using the <code>Directions.calculateDirections(options:completionHandler:)</code> method, setting the <code>includesSteps</code> option to <code>true</code> in the <code>RouteOptions</code> object that you pass into that method.
/// \param json A JSON object that conforms to the <a href="https://www.nbmap.com/api-documentation/#routestep-object">route step</a> format described in the Directions API documentation.
///
- (nonnull instancetype)initWithJSON:(NSDictionary<NSString *, id> * _Nonnull)json options:(NBDirectionsOptions * _Nonnull)options drivingSide:(enum NBDrivingSide)drivingSide;
- (nonnull instancetype)initWithJSON:(NSDictionary<NSString *, id> * _Nonnull)json options:(NBDirectionsOptions * _Nonnull)options;
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)decoder OBJC_DESIGNATED_INITIALIZER;
SWIFT_CLASS_PROPERTY(@property (nonatomic, class) BOOL supportsSecureCoding;)
+ (BOOL)supportsSecureCoding SWIFT_WARN_UNUSED_RESULT;
Expand Down Expand Up @@ -1078,7 +1078,7 @@ SWIFT_CLASS_NAMED("VisualInstructionBanner")
/// A visual instruction that is presented simultaneously to provide information about an additional maneuver that occurs in rapid succession.
/// This instruction could either contain the visual layout information or the lane information about the upcoming maneuver.
@property (nonatomic, readonly, strong) NBVisualInstruction * _Nullable tertiaryInstruction;
/// Which side of a bidirectional road the driver should drive on, also known as the rule of the road.
/// Which side of a bidirectional road the driver should drive on, also known as the rule of the road. By default it will set as <code>DrivingSide.right'</code> if in the <code>RouteStep</code> not parse the driving side successfully
@property (nonatomic) enum NBDrivingSide drivingSide;
/// Initializes a new visual instruction banner object based on the given JSON dictionary representation and a driving side.
/// \param json A JSON object that conforms to the [primary or secondary banner] format described in the Directions API documentation.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>1.1.9</string>
<string>1.1.20</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleSupportedPlatforms</key>
Expand All @@ -43,7 +43,7 @@
<key>DTXcodeBuild</key>
<string>13C100</string>
<key>GIT_REVISION</key>
<string>5803c6f</string>
<string>3c7197b</string>
<key>MinimumOSVersion</key>
<string>12.0</string>
<key>NSHumanReadableCopyright</key>
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ extension NbmapDirections.NBLaneIndication : Swift.CustomStringConvertible {
}
@_hasMissingDesignatedInitializers @objc(NBNavRouteLeg) open class RouteLeg : ObjectiveC.NSObject, Foundation.NSSecureCoding {
public init(steps: [NbmapDirections.RouteStep], name: Swift.String, distance: CoreLocation.CLLocationDistance, expectedTravelTime: Foundation.TimeInterval, source: NbmapDirections.Waypoint, destination: NbmapDirections.Waypoint, profileIdentifier: NbmapDirections.NBNavigationMode, segmentDistances: [CoreLocation.CLLocationDistance]? = nil, expectedSegmentTravelTimes: [Foundation.TimeInterval]? = nil, segmentSpeeds: [CoreLocation.CLLocationSpeed]? = nil, congestionLevels: [NbmapDirections.CongestionLevel]? = nil)
@objc(initWithJSON:source:destination:options:drivingSide:) convenience public init(json: [Swift.String : Any], source: NbmapDirections.Waypoint, destination: NbmapDirections.Waypoint, options: NbmapDirections.DirectionsOptions, drivingSide: NbmapDirections.DrivingSide)
@objc(initWithJSON:source:destination:options:) convenience public init(json: [Swift.String : Any], source: NbmapDirections.Waypoint, destination: NbmapDirections.Waypoint, options: NbmapDirections.DirectionsOptions)
@objc required public init?(coder decoder: Foundation.NSCoder)
@objc public static var supportsSecureCoding: Swift.Bool
@objc public func encode(with coder: Foundation.NSCoder)
Expand Down Expand Up @@ -500,7 +500,7 @@ extension NbmapDirections.Route {
}
@_hasMissingDesignatedInitializers @objc(NBRouteStep) open class RouteStep : ObjectiveC.NSObject, Foundation.NSSecureCoding {
public init(transportType: NbmapDirections.TransportType, maneuverType: NbmapDirections.ManeuverType, maneuverDirection: NbmapDirections.ManeuverDirection, maneuverLocation: CoreLocation.CLLocationCoordinate2D, exitIndex: Swift.Int?, instructions: Swift.String, stepCoordinates: [CoreLocation.CLLocationCoordinate2D]?, initialHeading: CoreLocation.CLLocationDirection?, finalHeading: CoreLocation.CLLocationDirection?, startLocation: CoreLocation.CLLocationCoordinate2D?, endLocation: CoreLocation.CLLocationCoordinate2D?, drivingSide: NbmapDirections.DrivingSide, exitCodes: [Swift.String]?, exitNames: [Swift.String]?, phoneticExitNames: [Swift.String]?, distance: CoreLocation.CLLocationDistance, expectedTravelTime: Foundation.TimeInterval, names: [Swift.String]?, phoneticNames: [Swift.String]?, codes: [Swift.String]?, destinationCodes: [Swift.String]?, destinations: [Swift.String]?, shiledImageUrl: Foundation.URL?, shiledLabel: Swift.String?, intersections: [NbmapDirections.Intersection]?, instructionsSpokenAlongStep: [NbmapDirections.SpokenInstruction]?, instructionsDisplayedAlongStep: [NbmapDirections.VisualInstructionBanner]?, muted: Swift.Bool?, bearing: CoreLocation.CLLocationDirection? = nil, displayInstruction: Swift.String?)
@objc(initWithJSON:options:drivingSide:) convenience public init(json: [Swift.String : Any], options: NbmapDirections.DirectionsOptions, drivingSide: NbmapDirections.DrivingSide)
@objc(initWithJSON:options:) convenience public init(json: [Swift.String : Any], options: NbmapDirections.DirectionsOptions)
@objc required public init?(coder decoder: Foundation.NSCoder)
@objc public static var supportsSecureCoding: Swift.Bool
@objc public func encode(with coder: Foundation.NSCoder)
Expand Down
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ extension NbmapDirections.NBLaneIndication : Swift.CustomStringConvertible {
}
@_hasMissingDesignatedInitializers @objc(NBNavRouteLeg) open class RouteLeg : ObjectiveC.NSObject, Foundation.NSSecureCoding {
public init(steps: [NbmapDirections.RouteStep], name: Swift.String, distance: CoreLocation.CLLocationDistance, expectedTravelTime: Foundation.TimeInterval, source: NbmapDirections.Waypoint, destination: NbmapDirections.Waypoint, profileIdentifier: NbmapDirections.NBNavigationMode, segmentDistances: [CoreLocation.CLLocationDistance]? = nil, expectedSegmentTravelTimes: [Foundation.TimeInterval]? = nil, segmentSpeeds: [CoreLocation.CLLocationSpeed]? = nil, congestionLevels: [NbmapDirections.CongestionLevel]? = nil)
@objc(initWithJSON:source:destination:options:drivingSide:) convenience public init(json: [Swift.String : Any], source: NbmapDirections.Waypoint, destination: NbmapDirections.Waypoint, options: NbmapDirections.DirectionsOptions, drivingSide: NbmapDirections.DrivingSide)
@objc(initWithJSON:source:destination:options:) convenience public init(json: [Swift.String : Any], source: NbmapDirections.Waypoint, destination: NbmapDirections.Waypoint, options: NbmapDirections.DirectionsOptions)
@objc required public init?(coder decoder: Foundation.NSCoder)
@objc public static var supportsSecureCoding: Swift.Bool
@objc public func encode(with coder: Foundation.NSCoder)
Expand Down Expand Up @@ -500,7 +500,7 @@ extension NbmapDirections.Route {
}
@_hasMissingDesignatedInitializers @objc(NBRouteStep) open class RouteStep : ObjectiveC.NSObject, Foundation.NSSecureCoding {
public init(transportType: NbmapDirections.TransportType, maneuverType: NbmapDirections.ManeuverType, maneuverDirection: NbmapDirections.ManeuverDirection, maneuverLocation: CoreLocation.CLLocationCoordinate2D, exitIndex: Swift.Int?, instructions: Swift.String, stepCoordinates: [CoreLocation.CLLocationCoordinate2D]?, initialHeading: CoreLocation.CLLocationDirection?, finalHeading: CoreLocation.CLLocationDirection?, startLocation: CoreLocation.CLLocationCoordinate2D?, endLocation: CoreLocation.CLLocationCoordinate2D?, drivingSide: NbmapDirections.DrivingSide, exitCodes: [Swift.String]?, exitNames: [Swift.String]?, phoneticExitNames: [Swift.String]?, distance: CoreLocation.CLLocationDistance, expectedTravelTime: Foundation.TimeInterval, names: [Swift.String]?, phoneticNames: [Swift.String]?, codes: [Swift.String]?, destinationCodes: [Swift.String]?, destinations: [Swift.String]?, shiledImageUrl: Foundation.URL?, shiledLabel: Swift.String?, intersections: [NbmapDirections.Intersection]?, instructionsSpokenAlongStep: [NbmapDirections.SpokenInstruction]?, instructionsDisplayedAlongStep: [NbmapDirections.VisualInstructionBanner]?, muted: Swift.Bool?, bearing: CoreLocation.CLLocationDirection? = nil, displayInstruction: Swift.String?)
@objc(initWithJSON:options:drivingSide:) convenience public init(json: [Swift.String : Any], options: NbmapDirections.DirectionsOptions, drivingSide: NbmapDirections.DrivingSide)
@objc(initWithJSON:options:) convenience public init(json: [Swift.String : Any], options: NbmapDirections.DirectionsOptions)
@objc required public init?(coder decoder: Foundation.NSCoder)
@objc public static var supportsSecureCoding: Swift.Bool
@objc public func encode(with coder: Foundation.NSCoder)
Expand Down
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleShortVersionString</key>
<string>1.1.9</string>
<string>1.1.20</string>
<key>CFBundleVersion</key>
<string>5</string>
</dict>
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -45,5 +45,8 @@ typedef NS_OPTIONS(NSUInteger, NBRoadClasses) {
*/
NBRoadClassesUTurn = (1 << 6),


/**
Avoid nothing during the route.
*/
NBRoadClassesNone = (1 << 7),
};
Original file line number Diff line number Diff line change
Expand Up @@ -644,7 +644,7 @@ SWIFT_CLASS_NAMED("RouteLeg")
///
/// \param profileIdentifier The profile identifier used to request the routes.
///
- (nonnull instancetype)initWithJSON:(NSDictionary<NSString *, id> * _Nonnull)json source:(NBWaypoint * _Nonnull)source destination:(NBWaypoint * _Nonnull)destination options:(NBDirectionsOptions * _Nonnull)options drivingSide:(enum NBDrivingSide)drivingSide;
- (nonnull instancetype)initWithJSON:(NSDictionary<NSString *, id> * _Nonnull)json source:(NBWaypoint * _Nonnull)source destination:(NBWaypoint * _Nonnull)destination options:(NBDirectionsOptions * _Nonnull)options;
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)decoder OBJC_DESIGNATED_INITIALIZER;
SWIFT_CLASS_PROPERTY(@property (nonatomic, class) BOOL supportsSecureCoding;)
+ (BOOL)supportsSecureCoding SWIFT_WARN_UNUSED_RESULT;
Expand Down Expand Up @@ -785,7 +785,7 @@ SWIFT_CLASS_NAMED("RouteStep")
/// Normally, you do not create instances of this class directly. Instead, you receive route step objects as part of route objects when you request directions using the <code>Directions.calculateDirections(options:completionHandler:)</code> method, setting the <code>includesSteps</code> option to <code>true</code> in the <code>RouteOptions</code> object that you pass into that method.
/// \param json A JSON object that conforms to the <a href="https://www.nbmap.com/api-documentation/#routestep-object">route step</a> format described in the Directions API documentation.
///
- (nonnull instancetype)initWithJSON:(NSDictionary<NSString *, id> * _Nonnull)json options:(NBDirectionsOptions * _Nonnull)options drivingSide:(enum NBDrivingSide)drivingSide;
- (nonnull instancetype)initWithJSON:(NSDictionary<NSString *, id> * _Nonnull)json options:(NBDirectionsOptions * _Nonnull)options;
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)decoder OBJC_DESIGNATED_INITIALIZER;
SWIFT_CLASS_PROPERTY(@property (nonatomic, class) BOOL supportsSecureCoding;)
+ (BOOL)supportsSecureCoding SWIFT_WARN_UNUSED_RESULT;
Expand Down Expand Up @@ -1080,7 +1080,7 @@ SWIFT_CLASS_NAMED("VisualInstructionBanner")
/// A visual instruction that is presented simultaneously to provide information about an additional maneuver that occurs in rapid succession.
/// This instruction could either contain the visual layout information or the lane information about the upcoming maneuver.
@property (nonatomic, readonly, strong) NBVisualInstruction * _Nullable tertiaryInstruction;
/// Which side of a bidirectional road the driver should drive on, also known as the rule of the road.
/// Which side of a bidirectional road the driver should drive on, also known as the rule of the road. By default it will set as <code>DrivingSide.right'</code> if in the <code>RouteStep</code> not parse the driving side successfully
@property (nonatomic) enum NBDrivingSide drivingSide;
/// Initializes a new visual instruction banner object based on the given JSON dictionary representation and a driving side.
/// \param json A JSON object that conforms to the [primary or secondary banner] format described in the Directions API documentation.
Expand Down Expand Up @@ -1824,7 +1824,7 @@ SWIFT_CLASS_NAMED("RouteLeg")
///
/// \param profileIdentifier The profile identifier used to request the routes.
///
- (nonnull instancetype)initWithJSON:(NSDictionary<NSString *, id> * _Nonnull)json source:(NBWaypoint * _Nonnull)source destination:(NBWaypoint * _Nonnull)destination options:(NBDirectionsOptions * _Nonnull)options drivingSide:(enum NBDrivingSide)drivingSide;
- (nonnull instancetype)initWithJSON:(NSDictionary<NSString *, id> * _Nonnull)json source:(NBWaypoint * _Nonnull)source destination:(NBWaypoint * _Nonnull)destination options:(NBDirectionsOptions * _Nonnull)options;
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)decoder OBJC_DESIGNATED_INITIALIZER;
SWIFT_CLASS_PROPERTY(@property (nonatomic, class) BOOL supportsSecureCoding;)
+ (BOOL)supportsSecureCoding SWIFT_WARN_UNUSED_RESULT;
Expand Down Expand Up @@ -1965,7 +1965,7 @@ SWIFT_CLASS_NAMED("RouteStep")
/// Normally, you do not create instances of this class directly. Instead, you receive route step objects as part of route objects when you request directions using the <code>Directions.calculateDirections(options:completionHandler:)</code> method, setting the <code>includesSteps</code> option to <code>true</code> in the <code>RouteOptions</code> object that you pass into that method.
/// \param json A JSON object that conforms to the <a href="https://www.nbmap.com/api-documentation/#routestep-object">route step</a> format described in the Directions API documentation.
///
- (nonnull instancetype)initWithJSON:(NSDictionary<NSString *, id> * _Nonnull)json options:(NBDirectionsOptions * _Nonnull)options drivingSide:(enum NBDrivingSide)drivingSide;
- (nonnull instancetype)initWithJSON:(NSDictionary<NSString *, id> * _Nonnull)json options:(NBDirectionsOptions * _Nonnull)options;
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)decoder OBJC_DESIGNATED_INITIALIZER;
SWIFT_CLASS_PROPERTY(@property (nonatomic, class) BOOL supportsSecureCoding;)
+ (BOOL)supportsSecureCoding SWIFT_WARN_UNUSED_RESULT;
Expand Down Expand Up @@ -2260,7 +2260,7 @@ SWIFT_CLASS_NAMED("VisualInstructionBanner")
/// A visual instruction that is presented simultaneously to provide information about an additional maneuver that occurs in rapid succession.
/// This instruction could either contain the visual layout information or the lane information about the upcoming maneuver.
@property (nonatomic, readonly, strong) NBVisualInstruction * _Nullable tertiaryInstruction;
/// Which side of a bidirectional road the driver should drive on, also known as the rule of the road.
/// Which side of a bidirectional road the driver should drive on, also known as the rule of the road. By default it will set as <code>DrivingSide.right'</code> if in the <code>RouteStep</code> not parse the driving side successfully
@property (nonatomic) enum NBDrivingSide drivingSide;
/// Initializes a new visual instruction banner object based on the given JSON dictionary representation and a driving side.
/// \param json A JSON object that conforms to the [primary or secondary banner] format described in the Directions API documentation.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>1.1.9</string>
<string>1.1.20</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleSupportedPlatforms</key>
Expand All @@ -43,7 +43,7 @@
<key>DTXcodeBuild</key>
<string>13C100</string>
<key>GIT_REVISION</key>
<string>5803c6f</string>
<string>3c7197b</string>
<key>MinimumOSVersion</key>
<string>12.0</string>
<key>NSHumanReadableCopyright</key>
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading

0 comments on commit 5b988ee

Please sign in to comment.