Skip to content

Commit 8f5c923

Browse files
cleanup from review
1 parent e4889b7 commit 8f5c923

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

OptimizelySDK/Optimizely/OptimizelyManager.swift

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -708,7 +708,7 @@ extension OptimizelyManager {
708708
}
709709

710710
@available(swift, obsoleted: 1.0)
711-
@objc(notificationCenter) public var objc_notificationCenter: Objc_OPTNotificationCenter {
711+
@objc(notificationCenter) public var objc_notificationCenter: _ObjcOPTNotificationCente {
712712
class ObjcCenter : Objc_OPTNotificationCenter {
713713
var notifications:OPTNotificationCenter
714714

@@ -874,7 +874,8 @@ extension OptimizelyManager {
874874
return NSNumber(value: value)
875875
}
876876

877-
@available(swift, obsoleted: 1.0) @objc(getFeatureVariableIntegerWithFeatureKey:variableKey:userId:attributes:error:)
877+
@available(swift, obsoleted: 1.0)
878+
@objc(getFeatureVariableIntegerWithFeatureKey:variableKey:userId:attributes:error:)
878879
public func _objcGetFeatureVariableInteger(featureKey: String,
879880
variableKey: String,
880881
userId: String,
@@ -886,7 +887,8 @@ extension OptimizelyManager {
886887
return NSNumber(integerLiteral: value)
887888
}
888889

889-
@available(swift, obsoleted: 1.0) @objc(getFeatureVariableStringWithFeatureKey:variableKey:userId:attributes:error:)
890+
@available(swift, obsoleted: 1.0)
891+
@objc(getFeatureVariableStringWithFeatureKey:variableKey:userId:attributes:error:)
890892
public func _objcGetFeatureVariableString(featureKey: String,
891893
variableKey: String,
892894
userId: String,

OptimizelySDK/Protocols/OPTNotificationCenter.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ func sendNotifications(type:Int, args:Array<Any?>)
109109

110110
}
111111

112-
@objc(OPTNotificationCenter) public protocol Objc_OPTNotificationCenter {
112+
@objc(OPTNotificationCenter) public protocol _ObjcOPTNotificationCenter {
113113
/**
114114
Add an activate notification listener to the notification center.
115115
- Parameter activateListener: Notification to add.

0 commit comments

Comments
 (0)