File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -81,10 +81,10 @@ import Foundation
8181
8282 /// Enable the offline mode.
8383 ///
84- /// - parameter licenseData: license for Algolia's SDK
84+ /// - parameter licenseKey: License key for Algolia's SDK.
8585 ///
86- @objc ( enableOfflineModeWithLicenseData : )
87- public func enableOfflineMode( licenseData : String ) {
86+ @objc ( enableOfflineModeWithLicenseKey : )
87+ public func enableOfflineMode( licenseKey : String ) {
8888 do {
8989 // Create the data directory.
9090 try FileManager . default. createDirectory ( atPath: self . rootDataDir, withIntermediateDirectories: true , attributes: nil )
@@ -100,7 +100,7 @@ import Foundation
100100 }
101101
102102 // Init the SDK.
103- sdk. initWithLicenseData ( licenseData )
103+ sdk. initWithLicenseData ( licenseKey )
104104 // NOTE: Errors reported by the core itself.
105105 }
106106
You can’t perform that action at this time.
0 commit comments