iOS SDK change log from version 3.0.1 to version 3.0.2

SKAdvisorTTSSettings class

New property

/** Whether or not to duck any music or sound that might be playing when a TTS advice is played. Default is YES.
*/
@property(nonatomic, assign) BOOL audioDuckingEnabled;

SKCircle class

Changed

/** A newly initialized SKCircle.
*/
+ (instancetype)circle;

to

/** A newly initialized SKCircle.
*/
+ (instancetype _Nonnull)circle;

Added nullability identifier for output parameter.

SKDefinitions class

Changed

typedef NS_OPTIONS (NSInteger, SKMetaDataDownloadStatus)
{
DownloadError = -1,
NotExist = 0,
Downloaded = 1,
DownloadInProgress = 2
};

to

typedef NS_ENUM (NSInteger, SKMetaDataDownloadStatus)
{
DownloadError = -1,
NotExist = 0,
Downloaded = 1,
DownloadInProgress = 2
};

Changed

typedef NS_OPTIONS (NSInteger, SKMapDetailLevel)
{
SKMapDetailLevelFull = 0,
SKMapDetailLevelLight = 1,
};

to

typedef NS_ENUM (NSInteger, SKMapDetailLevel)
{
SKMapDetailLevelFull = 0,
SKMapDetailLevelLight = 1,
};

Changed

typedef NS_ENUM (NSInteger, SKAttributionPosition)
{
SKAttributionPositionTopLeft = 1,
SKAttributionPositionTopMiddle = 2,
SKAttributionPositionTopRight = 3,
SKAttributionPositionBottomLeft = 4,
SKAttributionPositionBottomMiddle = 5,
SKAttributionPositionBottomRight = 6,
};

to

typedef NS_ENUM (NSInteger, SKCompanyAttributionPosition)
{
SKCompanyAttributionPositionTopLeft = 1,
SKCompanyAttributionPositionTopMiddle = 2,
SKCompanyAttributionPositionTopRight = 3,
SKCompanyAttributionPositionBottomLeft = 4,
SKCompanyAttributionPositionBottomMiddle = 5,
SKCompanyAttributionPositionBottomRight = 6,
};

Added new entry

typedef NS_ENUM (NSInteger, SKOSMAttributionPosition)
{
SKOSMAttributionPositionTopLeft = 1,
SKOSMAttributionPositionTopMiddle = 2,
SKOSMAttributionPositionTopRight = 3,
SKOSMAttributionPositionBottomLeft = 4,
SKOSMAttributionPositionBottomMiddle = 5,
SKOSMAttributionPositionBottomRight = 6,
};

SKMapSettings class

Changed

/** Indicates the position of the osm attribution.
*/
@property(nonatomic, assign) SKAttributionPosition osmAttributionPosition;

to

/** Indicates the position of the osm attribution.
*/
@property(nonatomic, assign) SKOSMAttributionPosition osmAttributionPosition;

Changed

/** Indicates the position of the company attribution.
*/
@property(nonatomic, assign) SKAttributionPosition companyAttributionPosition;

to

/** Indicates the position of the company attribution.
*/
@property(nonatomic, assign) SKCompanyAttributionPosition companyAttributionPosition;

SKMapView+Overlays.h

Changed

/** Adds a polygon overlay on the map.
@param polygon Stores all the information about the polygon.
@return The result of the operation.
*/
- (BOOL)addPolygon:(SKPolygon *)polygon;

to

/** Adds a polygon overlay on the map.
@param polygon Stores all the information about the polygon.
@return The result of the operation.
*/
- (BOOL)addPolygon:(SKPolygon * _Nonnull)polygon;

Changed

/** Adds a polyline overlay on the map.
@param polyline Stores all the information about the polyline.
@return The result of the operation.
*/
- (BOOL)addPolyline:(SKPolyline *)polyline;

to

/** Adds a polyline overlay on the map.
@param polyline Stores all the information about the polyline.
@return The result of the operation.
*/
- (BOOL)addPolyline:(SKPolyline * _Nonnull)polyline;

Changed

/** Adds a circle overlay on the map.
@param circle Stores all the information about the circle.
@return The result of the operation.
*/
- (BOOL)addCircle:(SKCircle *)circle;

to

/** Adds a circle overlay on the map.
@param circle Stores all the information about the circle.
@return The result of the operation.
*/
- (BOOL)addCircle:(SKCircle * _Nonnull)circle;

Added nullability identifiers for input parameters.

SKMapView class

Changed

/** The delegate that must conform to SKMapViewDelegate protocol, used for observing user interactions changes in the map.
*/
@property(nonatomic, weak) id delegate;

to

/** The delegate that must conform to SKMapViewDelegate protocol, used for observing user interactions changes in the map.
*/
@property(nonatomic, weak) id _Nullable delegate;

Changed

/** The SKMapSettings object that controls various UI and behavior settings of the map.
*/
@property(nonatomic, readonly, strong) SKMapSettings *settings;

to

/** The SKMapSettings object that controls various UI and behavior settings of the map.
*/
@property(nonatomic, readonly, strong) SKMapSettings * _Nonnull settings;

Changed

/** All the annotations that are currently added to this map view.
*/
@property(nonatomic, readonly) NSArray *annotations;

to

/** All the annotations that are currently added to this map view.
*/
@property(nonatomic, readonly) NSArray * _Nonnull annotations;

Changed

/** The delegate that must conform to SKMapViewDelegate protocol, used for observing user interactions changes in the map.
*/
@property(nonatomic, weak) id delegate;

to

/** The delegate that must conform to SKMapViewDelegate protocol, used for observing user interactions changes in the map.
*/
@property(nonatomic, weak) id _Nullable delegate;

Changed

/** Can be used for displaying data about a map POI or annotation. Can be activated using showCalloutAtLocation:withOffset: method. For further details check the SKCalloutView class.
*/
@property(nonatomic, strong) SKCalloutView *calloutView;

to

/** Can be used for displaying data about a map POI or annotation. Can be activated using showCalloutAtLocation:withOffset: method. For further details check the SKCalloutView class.
*/
@property(nonatomic, strong) SKCalloutView * _Nonnull calloutView;

Changed

/** Manages the displaying of the map scale. The scale value is updated automatically based on the visible region of the map. By default it is hidden.
*/
@property(nonatomic, readonly) SKMapScaleView *mapScaleView;

to

/** Manages the displaying of the map scale. The scale value is updated automatically based on the visible region of the map. By default it is hidden.
*/
@property(nonatomic, readonly) SKMapScaleView * _Nonnull mapScaleView;

Changed

/** Updates the current position icon on the map with a custom UIView. Setting the currentPositionView to nil restores the current position icon to it's default state.
*/
@property(nonatomic, strong) UIView *currentPositionView;

to

/** Updates the current position icon on the map with a custom UIView. Setting the currentPositionView to nil restores the current position icon to it's default state.
*/
@property(nonatomic, strong) UIView * _Nullable currentPositionView;

Changed

/** Configures the map view with the map settings from the specified path.
@param filePath The path to the configuration file.
*/
- (void)applySettingsFromFileAtPath:(NSString *)filePath;

to

/** Configures the map view with the map settings from the specified path.
@param filePath The path to the configuration file.
*/
- (void)applySettingsFromFileAtPath:(NSString * _Nonnull)filePath;

Changed

/** Sets the visible region of the map so that a provided coordinate bounding box will be visible.
@param boundingBox The bounding box to be fitted.
@param insets Insets in pixels for left, right, bottom and top of the screen.
*/
- (void)fitBounds:(SKBoundingBox *)boundingBox withInsets:(UIEdgeInsets)insets;

to

/** Sets the visible region of the map so that a provided coordinate bounding box will be visible.
@param boundingBox The bounding box to be fitted.
@param insets Insets in pixels for left, right, bottom and top of the screen.
*/
- (void)fitBounds:(SKBoundingBox * _Nonnull)boundingBox withInsets:(UIEdgeInsets)insets;

Changed

/** Adds an annotation to the map. By default, the center of the image will coincide with the location.
@param annotation Model object for the annotation. For further details see SKAnnotation.
@param animationSettings Represents the animation settings when adding an annotation to the map.
*/
- (BOOL)addAnnotation:(SKAnnotation *)annotation withAnimationSettings:(SKAnimationSettings *)animationSettings;

to

/** Adds an annotation to the map. By default, the center of the image will coincide with the location.
@param annotation Model object for the annotation. For further details see SKAnnotation.
@param animationSettings Represents the animation settings when adding an annotation to the map.
*/
- (BOOL)addAnnotation:(SKAnnotation * _Nonnull)annotation withAnimationSettings:(SKAnimationSettings * _Nonnull)animationSettings;

Changed

/** Adds a custom POI to the map.
@param customPOI Model object of the custom POI. For further details see SKMapCustomPOI.
*/
- (BOOL)addCustomPOI:(SKMapCustomPOI *)customPOI;

to

/** Adds a custom POI to the map.
@param customPOI Model object of the custom POI. For further details see SKMapCustomPOI.
*/
- (BOOL)addCustomPOI:(SKMapCustomPOI * _Nonnull)customPOI;

Changed

/** Brings a previously added annotation in front of the others.
@param annotation The the annotation to be brought in front.
@return Success/failure of bringing the annotation in the front.
*/
- (BOOL)bringToFrontAnnotation:(SKAnnotation *)annotation;

to

/** Brings a previously added annotation in front of the others.
@param annotation The the annotation to be brought in front.
@return Success/failure of bringing the annotation in the front.
*/
- (BOOL)bringToFrontAnnotation:(SKAnnotation * _Nonnull)annotation;

Changed

/** Updates a previously added annotation on the map. The annotation will be updated with the new properties.
@param annotation Annotation to be updated. For further details see SKAnnotation.
@return Success/failure of updating the annotation.
*/
- (BOOL)updateAnnotation:(SKAnnotation *)annotation;

to

/** Updates a previously added annotation on the map. The annotation will be updated with the new properties.
@param annotation Annotation to be updated. For further details see SKAnnotation.
@return Success/failure of updating the annotation.
*/
- (BOOL)updateAnnotation:(SKAnnotation * _Nonnull)annotation;

Changed

/** Returns an SKAnnotation object with the given identifier. If their is no annotation with the given identifier, it returns nil.
@param identifier The annotation identifier.
@return The annotation with the given identifier.
*/
- (SKAnnotation *)annotationForIdentifier:(int)identifier;

to

/** Returns an SKAnnotation object with the given identifier. If their is no annotation with the given identifier, it returns nil.
@param identifier The annotation identifier.
@return The annotation with the given identifier.
*/
- (SKAnnotation * _Nullable)annotationForIdentifier:(int)identifier;

Changed

/** Displays the callout view at the provided coordinate.
@param annotation The coordinate where the callout view's arrow should point.
@param calloutOffset Provides a way for moving the callout view up, down, left or right. It's recommended to use when the callout view covers a part of the annotation image.
@param shouldAnimate A boolean value which indicated that the callout should appear animated at the given coordinate.
*/
- (void)showCalloutForAnnotation:(SKAnnotation *)annotation withOffset:(CGPoint)calloutOffset animated:(BOOL)shouldAnimate;

to

/** Displays the callout view at the provided coordinate.
@param annotation The coordinate where the callout view's arrow should point.
@param calloutOffset Provides a way for moving the callout view up, down, left or right. It's recommended to use when the callout view covers a part of the annotation image.
@param shouldAnimate A boolean value which indicated that the callout should appear animated at the given coordinate.
*/
- (void)showCalloutForAnnotation:(SKAnnotation * _Nonnull)annotation withOffset:(CGPoint)calloutOffset animated:(BOOL)shouldAnimate;

Changed

/** Generates a PNG image on the disk, with the map from the provided bounding box. This will be done asynchronously, and mapViewDidFinishRenderingImageInBoundingBox: will be called when the operation is finished.
@param boundingBox The bounding box of the generated map.
@param imagePath The path on the disk where the image should be generated.
@param size The desired size of the image.
*/
- (void)renderMapImageInBoundingBox:(SKBoundingBox *)boundingBox toPath:(NSString *)imagePath withSize:(CGSize)size;

to

/** Generates a PNG image on the disk, with the map from the provided bounding box. This will be done asynchronously, and mapViewDidFinishRenderingImageInBoundingBox: will be called when the operation is finished.
@param boundingBox The bounding box of the generated map.
@param imagePath The path on the disk where the image should be generated.
@param size The desired size of the image.
*/
- (void)renderMapImageInBoundingBox:(SKBoundingBox * _Nonnull)boundingBox toPath:(NSString * _Nonnull)imagePath withSize:(CGSize)size;

Changed

/** Returns a UIImage representation of the last rendered frame.
*/
-(UIImage*)lastRenderedFrame;

to

/** Returns a UIImage representation of the last rendered frame.
*/
- (UIImage * _Nullable)lastRenderedFrame;

Changed

/** Starts an animation around the current position icon based on the given settings.
@param currentPositionAnimationSettings The settings used for the pulse animation
@return Success/failure
*/
- (BOOL)startCurrentPositionAnnimationWithSettings:(SKCurrentPositionAnimationSettings *)currentPositionAnimationSettings;

to

/** Starts an animation around the current position icon based on the given settings.
@param currentPositionAnimationSettings The settings used for the pulse animation
@return Success/failure
*/
- (BOOL)startCurrentPositionAnnimationWithSettings:(SKCurrentPositionAnimationSettings * _Nonnull)currentPositionAnimationSettings;

Added nullability identifiers for input parameters.

SKOneLineSearchSettings class

Changed

/** The connectivity mode of the search. The default value is SKSearchOnline. The SKSearchHybrid is not supported at this point.
*/
@property(nonatomic, assign) SKSearchMode searchMode;

to

/** The connectivity mode of the search. The default value is SKSearchOnline.
*/
@property(nonatomic, assign) SKSearchMode searchMode;

SKOverlay class

Changed

/** The inner/outer color of the polygon depending on the value of the isMask property.
*/
@property(nonatomic, strong) UIColor *fillColor;

to

/** The inner/outer color of the polygon depending on the value of the isMask property.
*/
@property(nonatomic, strong) UIColor * _Nonnull fillColor;

Changed

/** The border color of the polygon. Set to nil for no border.
*/
@property(nonatomic, strong) UIColor *strokeColor;

to

/** The border color of the polygon. Set to nil for no border.
*/
@property(nonatomic, strong) UIColor * _Nonnull strokeColor;

Added nullability identifiers for properties.

SKPolygon class

Changed

/** An array of CLLocation objects. Each location represents a vertex of the polygon. The first and the last vertices will be linked.
*/
@property(nonatomic, strong) NSArray *coordinates;

to

/** An array of CLLocation objects. Each location represents a vertex of the polygon. The first and the last vertices will be linked.
*/
@property(nonatomic, strong) NSArray * _Nonnull coordinates;

Changed

/** A newly initialized SKPolygon.
*/
+ (instancetype)polygon;

to

/** A newly initialized SKPolygon.
*/
+ (instancetype _Nonnull)polygon;

Added nullability identifiers for output parameters.

SKPolyline class

Changed

/** An array of CLLocation objects. Each location represents a vertex of the polygon. The first and the last vertices will be linked.
*/
@property(nonatomic, strong) NSArray *coordinates;

to

/** An array of CLLocation objects. Each location represents a vertex of the polyline.
*/
@property(nonatomic, strong) NSArray * _Nonnull coordinates;

Changed

/** The width of the polyline. Should be a value in [ 1, 10 ] interval.
*/
@property(nonatomic, assign) int lineWidth;

to

/** The width of the polyline. Should be a value in [ 0, 10 ] interval. If using dotted lines, use 0.
*/
@property(nonatomic, assign) int lineWidth;

Changed

/** The width of the background line. Should be a value in [ 1, 10 ] interval.
*/
@property(nonatomic, assign) int backgroundLineWidth;

to

/** The width of the background line. Should be a value in [ 0, 10 ] interval. If using dotted lines, this controls the dotted line's width.
*/
@property(nonatomic, assign) int backgroundLineWidth;

Changed

/** A newly initialized SKPolyline.
*/
+ (instancetype)polyline;

to

/** A newly initialized SKPolyline.
*/
+ (instancetype _Nonnull)polyline;

Added nullability identifiers for properties and output parameters.

SKRoutingService class

Changed

/** The delegate that must conform to SKRoutingDelegate protocol, used for receiving route calculation callbacks.
*/
@property(nonatomic, weak) id routingDelegate;

to

/** The delegate that must conform to SKRoutingDelegate protocol, used for receiving route calculation callbacks.
*/
@property(nonatomic, weak) id _Nullable routingDelegate;

Changed

/** The delegate that must conform to SKNavigationDelegate protocol, used for receiving navigation callbacks.
*/
@property(nonatomic, weak) id navigationDelegate;

to

/** The delegate that must conform to SKNavigationDelegate protocol, used for receiving navigation callbacks.
*/
@property(nonatomic, weak) id _Nullable navigationDelegate;

Changed

/** The map view where the calculated routes and the navigation will be displayed.
*/
@property(nonatomic, weak) SKMapView *mapView;

to

/** The map view where the calculated routes and the navigation will be displayed.
*/
@property(nonatomic, weak) SKMapView * _Nullable mapView;

Changed

/** Manages the audio advisor configuration settings.
*/
@property(nonatomic, strong) SKAdvisorSettings *advisorConfigurationSettings;

to

/** Manages the audio advisor configuration settings.
*/
@property(nonatomic, strong) SKAdvisorSettings * _Nonnull advisorConfigurationSettings;

Changed

/** An array of SKVisualAdviceConfiguration objects used for configuring the color of the advisor images in different countries and streets.
*/
@property(nonatomic, strong) NSArray *visualAdviceConfigurations;

to

/** An array of SKVisualAdviceConfiguration objects used for configuring the color of the advisor images in different countries and streets.
*/
@property(nonatomic, strong) NSArray * _Nonnull visualAdviceConfigurations;

Changed

/** Returns the singleton SKRoutingService instance.
*/
+ (instancetype)sharedInstance;

to

/** Returns the singleton SKRoutingService instance.
*/
+ (instancetype _Nonnull)sharedInstance;

Changed

/** Starts route calculations. The routingDelegate will receive calculation status notifications.
@param route Stores route calculation settings.
*/
- (void)calculateRoute:(SKRouteSettings *)route;

to

/** Starts route calculations. The routingDelegate will receive calculation status notifications.
@param route Stores route calculation settings.
*/
- (void)calculateRoute:(SKRouteSettings * _Nonnull)route;

Changed

/** Returns the array of coordinates for the current route. In order for 'elevation' property of returned results to be accurate, requestExtendedRoutePointsInfo of the SKRouteSettings must be set to YES.
@param routeId The identifier of the route which can be obtained from the returned SKRouteInformation.
@return The array of route coordinates ( CLLocation objects ), including altitude, if available.
*/
- (NSArray *)routeCoordinatesForRouteWithId:(int)routeId;

to

/** Returns the array of coordinates for the current route. In order for 'elevation' property of returned results to be accurate, requestExtendedRoutePointsInfo of the SKRouteSettings must be set to YES.
@param routeId The identifier of the route which can be obtained from the returned SKRouteInformation.
@return The array of route coordinates ( CLLocation objects ), including altitude, if available.
*/
- (NSArray * _Nonnull)routeCoordinatesForRouteWithId:(int)routeId;

Changed

/** Returns the array of country codes that the route crosses. In order for this to work, requestCountryCodes of the SKRouteSettings must be set to YES.
@param routeId The identifier of the route which can be obtained from the returned SKRouteInformation.
@return The array of country codes that the route crosses ( NSString objects ).
*/
- (NSArray *)routeCountriesForRouteWithId:(int)routeId;

to

/** Returns the array of country codes that the route crosses. In order for this to work, requestCountryCodes of the SKRouteSettings must be set to YES.
@param routeId The identifier of the route which can be obtained from the returned SKRouteInformation.
@return The array of country codes that the route crosses ( NSString objects ).
*/
- (NSArray * _Nonnull)routeCountriesForRouteWithId:(int)routeId;

Changed

/** Returns the array of advices for the current route. In order for this to work, requestAdvices of the SKRouteSettings must be set to YES.
@param distanceFormat The measurment unit of the distance. By default is set SKDistanceFormatMetric.
@return The array of advices ( SKRouteAdvice objects ).
*/
- (NSArray *)routeAdviceListWithDistanceFormat:(SKDistanceFormat)distanceFormat;

to

/** Returns the array of advices for the current route. In order for this to work, requestAdvices of the SKRouteSettings must be set to YES.
@param distanceFormat The measurment unit of the distance. By default is set SKDistanceFormatMetric.
@return The array of advices ( SKRouteAdvice objects ).
*/
- (NSArray * _Nonnull)routeAdviceListWithDistanceFormat:(SKDistanceFormat)distanceFormat;

Changed

/** Generates and returns an image about the visual advice using the given configuration.
@param routeAdvice Contains all the information about an advice.
@param visualAdviceColor The SKVisualAdviceConfiguration is used to store the colors of a generated visual advice image.
@return An image about the advice.
*/
- (UIImage *)visualAdviceImageForRouteAdvice:(SKRouteAdvice *)routeAdvice color:(SKVisualAdviceConfiguration *)visualAdviceColor;

to

/** Generates and returns an image about the visual advice using the given configuration.
@param routeAdvice Contains all the information about an advice.
@param visualAdviceColor The SKVisualAdviceConfiguration is used to store the colors of a generated visual advice image.
@return An image about the advice.
*/
- (UIImage * _Nullable)visualAdviceImageForRouteAdvice:(SKRouteAdvice * _Nonnull)routeAdvice color:(SKVisualAdviceConfiguration * _Nonnull)visualAdviceColor;

Changed

/** Converts the main component of a GPX file into a route.
@param path The path to the GPX file.
*/
- (void)startRouteFromGPXFile:(NSString *)path;

to

/** Converts the main component of a GPX file into a route.
@param path The path to the GPX file.
*/
- (void)startRouteFromGPXFile:(NSString * _Nonnull)path;

Changed

/** Starts the navigation. If a route is already calculated, it will be used for turn by turn navigation, otherwise a free drive session will begin.
In order to receive navigation updates, use the navigationDelegate.
@param navigationSettings The settings of the navigation. For more info, visit the SKNavigationSettings documentation. If nil, default settings will be used.
@return Success/failure of starting the navigation.
*/
- (BOOL)startNavigationWithSettings:(SKNavigationSettings *)navigationSettings;

to

/** Starts the navigation. If a route is already calculated, it will be used for turn by turn navigation, otherwise a free drive session will begin.
In order to receive navigation updates, use the navigationDelegate.
@param navigationSettings The settings of the navigation. For more info, visit the SKNavigationSettings documentation. If nil, default settings will be used.
@return Success/failure of starting the navigation.
*/
- (BOOL)startNavigationWithSettings:(SKNavigationSettings * _Nonnull)navigationSettings;

Changed

/** Adds a viapoint to an already existing route. After using calculateRoute, further viapoints can be added to the route (viaPoints array from SKRouteSettings contains the predefined route viapoint). Adding a viapoint in navigation mode triggers a re-routing, in map mode triggers the re-calculation of the current route.
@param viaPoint Stores the information about the viapoint.
@param viaPointID Identifies the via point after which the new via point is inserted. -1 should be used to insert the new viapoint to the beginning of the viapoint list.
*/
- (void)addViaPoint:(SKViaPoint *)viaPoint afterViaPointWithID:(int)viaPointID;

to

/** Adds a viapoint to an already existing route. After using calculateRoute, further viapoints can be added to the route (viaPoints array from SKRouteSettings contains the predefined route viapoint). Adding a viapoint in navigation mode triggers a re-routing, in map mode triggers the re-calculation of the current route.
@param viaPoint Stores the information about the viapoint.
@param viaPointID Identifies the via point after which the new via point is inserted. -1 should be used to insert the new viapoint to the beginning of the viapoint list.
*/
- (void)addViaPoint:(SKViaPoint * _Nonnull)viaPoint afterViaPointWithID:(int)viaPointID;

Changed

/** Modifies the configurations of a navigation.
@param navigationSettings stores settings for a navigation session.
*/
- (void)changeNavigationSettings:(SKNavigationSettings *)navigationSettings;

to

/** Modifies the configurations of a navigation.
@param navigationSettings stores settings for a navigation session.
*/
- (void)changeNavigationSettings:(SKNavigationSettings * _Nonnull)navigationSettings;

Added nullability identifiers for properties, input and output parameters.

SKSearchServiceDelegate protocol

Changed

/** Called for a successfull one line search operation.
@param searchService The search service.
@param searchResults Contains the one line search results (a list of SKSearchResult objects).
*/
- (void)searchService:(SKSearchService *)searchService didRetrieveOneLineSearchResults:(NSArray *)searchResults;

to

/** Called for a successfull one line search operation.
@param searchService The search service.
@param searchResults Contains the one line search results (a list of SKSearchResult objects).
*/
- (void)searchService:(SKSearchService *)searchService didRetrieveOneLineSearchResults:(NSArray *)searchResults withSearchMode:(SKSearchMode)searchMode;

Changed

/** Called for a failed one line search operation.
@param searchService The search service.
*/
- (void)searchServiceDidFailToRetrieveOneLineSearchResults:(SKSearchService *)searchService;

to

/** Called for a failed one line search operation.
@param searchService The search service.
*/
- (void)searchServiceDidFailToRetrieveOneLineSearchResults:(SKSearchService *)searchService withSearchMode:(SKSearchMode)searchMode;