summaryrefslogtreecommitdiff
path: root/SmartDeviceLink/SDLRPCResponseNotification.m
diff options
context:
space:
mode:
authorJoel Fischer <joeljfischer@gmail.com>2016-09-13 11:20:13 -0400
committerJoel Fischer <joeljfischer@gmail.com>2016-09-13 11:20:13 -0400
commitdc17bebccc8f21ff4195dc0d2171c387ca93f0d1 (patch)
tree5f5ad98689f4c54be49f17edd6c64b5f5986d18b /SmartDeviceLink/SDLRPCResponseNotification.m
parent27ba8a53d3cb158c12a3ef77583529eb6e716ed4 (diff)
downloadsdl_ios-dc17bebccc8f21ff4195dc0d2171c387ca93f0d1.tar.gz
Fixed tests
* Updated test deps to work on Xcode 8 * Update `SDLRPCResponseNotification` and `SDLRPCNotificationNotification` to allow for use in tests
Diffstat (limited to 'SmartDeviceLink/SDLRPCResponseNotification.m')
-rw-r--r--SmartDeviceLink/SDLRPCResponseNotification.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/SmartDeviceLink/SDLRPCResponseNotification.m b/SmartDeviceLink/SDLRPCResponseNotification.m
index 63c25d463..6d4be548a 100644
--- a/SmartDeviceLink/SDLRPCResponseNotification.m
+++ b/SmartDeviceLink/SDLRPCResponseNotification.m
@@ -18,7 +18,7 @@
@synthesize object = _object;
@synthesize userInfo = _userInfo;
-- (instancetype)initWithName:(NSString *)name object:(id)object rpcResponse:(SDLRPCResponse *)response {
+- (instancetype)initWithName:(NSString *)name object:(nullable id)object rpcResponse:(SDLRPCResponse *)response {
_name = name;
_object = object;
_userInfo = @{SDLNotificationUserInfoObject: response};