Skip to content
This repository has been archived by the owner on Jul 22, 2020. It is now read-only.

Commit

Permalink
Fixing up lint warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
davidtruong committed Jun 14, 2017
1 parent 675c46a commit 9214a74
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 9 deletions.
2 changes: 1 addition & 1 deletion Iterable-iOS-SDK/IterableAPI.h
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,7 @@ typedef NS_ENUM(NSInteger, PushServicePlatform) {
@param templateId The templateId of the notification
@param messageId The messageId of the notification
*/
- (void)trackInAppOpen:(NSNumber *)campaignId templateId:(NSNumber *)templateID messageId:(NSString *)messageId;
- (void)trackInAppOpen:(NSNumber *)campaignId templateId:(NSNumber *)templateId messageId:(NSString *)messageId;

/**
@method
Expand Down
6 changes: 3 additions & 3 deletions Iterable-iOS-SDK/IterableAlertView.m
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ - (BOOL)pointInside:(CGPoint)point withEvent:(UIEvent *)event {
@abstract Sets the maximumWidth of the InApp
@param maximumWidth
@param maximumWidth max width of the alert
*/
- (void)setMaximumWidth:(CGFloat)maximumWidth {
_maximumWidth = maximumWidth;
Expand Down Expand Up @@ -401,7 +401,7 @@ - (void)updateHorizontalConstraint {
@abstract Sets the contentView
@param contentView
@param contentView the content view
*/
- (void)setContentView:(UIView *)contentView {
[self.contentView removeFromSuperview];
Expand Down Expand Up @@ -429,7 +429,7 @@ - (void)setContentView:(UIView *)contentView {
@abstract Sets the textFields
@param textFields
@param textFields the text to display
*/
- (void)setTextFields:(NSArray *)textFields {
for (UITextField *textField in self.textFields) {
Expand Down
6 changes: 2 additions & 4 deletions Iterable-iOS-SDK/IterableInAppBaseViewController.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@

/**
@abstract Custom ITEActionBlock
@param The NSString passed into the action block
*/
typedef void (^ITEActionBlock)(NSString *);

Expand All @@ -37,14 +35,14 @@ typedef void (^ITEActionBlock)(NSString *);
@param id the id of the button
@param actionString the string representing the action button clicked
*/
-(void)ITEAddActionButton:(NSInteger)id actionString:(NSString *)actionStringValue;
-(void)ITEAddActionButton:(NSInteger)id actionString:(NSString *)actionString;

/**
@method
@abstract Sets the data for the viewController
@param jsonPayload the payload data
@param callbackBlock the payload data
*/
-(void)ITESetCallback:(ITEActionBlock)callbackBlock;

Expand Down
2 changes: 1 addition & 1 deletion Iterable-iOS-SDK/IterableInAppManager.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
@param dialogOptions the NSDictionary containing the dialog options
@param trackParams The track params for the notification
@param callback the callback to send after a button on the notification is clicked
@param callbackBlock the callback to send after a button on the notification is clicked
*/
+(void) showIterableNotification:(NSDictionary *)dialogOptions trackParams:(IterableNotificationMetadata *)trackParams callbackBlock:(ITEActionBlock)callbackBlock;

Expand Down

0 comments on commit 9214a74

Please sign in to comment.