Skip to content

Commit 19e1c7c

Browse files
committed
fix code doc comment mismatches
1 parent 40b75a4 commit 19e1c7c

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

swift-sdk/IterableAPI.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -333,8 +333,7 @@ public final class IterableAPI: NSObject {
333333
///
334334
/// - Parameters:
335335
/// - items: The list of items in the shopping cart to track
336-
/// - dataFields: A `Dictionary` containing any additional information to save along with the event
337-
/// - onSucess: `OnSuccessHandler` to invoke if cart is updated successfully
336+
/// - onSuccess: `OnSuccessHandler` to invoke if cart is updated successfully
338337
/// - onFailure: `OnFailureHandler` to invoke if cart updating fails
339338
///
340339
/// - SeeAlso: CommerceItem

swift-sdk/IterableInAppManagerProtocol.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ import Foundation
3232
@objc(removeMessage:) func remove(message: IterableInAppMessage)
3333

3434
/// - parameter message: The message to remove.
35-
/// - parameter source: The source of deletion `inboxSwipe` or `deleteButton`.`
35+
/// - parameter location: The location from where this message was shown. `inbox` or `inApp`.
3636
@objc(removeMessage:location:) func remove(message: IterableInAppMessage, location: InAppLocation)
3737

3838
/// - parameter message: The message to remove.

swift-sdk/IterableInboxViewControllerViewDelegate.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ import Foundation
5151
@objc optional var customNibNameMapper: (IterableInAppMessage) -> String? { get }
5252

5353
/// Use this method to render any additional custom fields other than title, subtitle and createAt.
54-
/// - parameter forCell: The table view cell to render
55-
/// - parameter withMessage: IterableInAppMessage
54+
/// - parameter cell: The table view cell to render
55+
/// - parameter message: IterableInAppMessage
5656
@objc optional func renderAdditionalFields(forCell cell: IterableInboxCell, withMessage message: IterableInAppMessage)
5757
}

0 commit comments

Comments
 (0)