Skip to content

Commit 53b7057

Browse files
fix typos
1 parent 8f5c923 commit 53b7057

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

OptimizelySDK/Optimizely/OptimizelyManager.swift

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

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

715715
init(notificationCenter:OPTNotificationCenter) {

OptimizelySDK/Protocols/OPTNotificationCenter.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ func addDecisionNotificationListener(decisionListener:@escaping DecisionListener
7676

7777
/**
7878
Add a datafile change notification listener
79-
- Parameter datafileChangeListener: Notification to add.
79+
- Parameter datafileListener: Notification to add.
8080
- Returns: the notification id used to remove the notification. It is greater than 0 on success.
8181
*/
8282
func addDatafileChangeNotificationListener(datafileListener:@escaping DatafileChangeListener) -> Int?
@@ -133,7 +133,7 @@ func sendNotifications(type:Int, args:Array<Any?>)
133133

134134
/**
135135
Add a datafile change notification listener
136-
- Parameter datafileChangeListener: Notification to add.
136+
- Parameter datafileListener: Notification to add.
137137
- Returns: the notification id used to remove the notification. It is greater than 0 on success.
138138
*/
139139
func addDatafileChangeNotificationListener(datafileListener:@escaping (_ datafile:Data) -> Void) -> NSNumber?

0 commit comments

Comments
 (0)