Skip to content

Commit

Permalink
FIX warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Jerome Morissard committed Sep 4, 2016
1 parent e8e5f8c commit 58f878e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion JMActionSheetDescription.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "JMActionSheetDescription"
s.version = "0.5.1"
s.version = "0.5.2"
s.summary = "JMActionSheetDescription replace UIActionSheet and UIActivityViewController."
s.description = <<-DESC
JMActionSheetDescription is a descriptor component. It replace your ActionSheet and UIActivityViewController usage. Write your actionSheet description and let the framework generate your custom action representation. (Support iOS9 SplitView !)
Expand Down
2 changes: 1 addition & 1 deletion Pod/Classes/JMActionSheet.m
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ @implementation JMActionSheet

+ (void)showActionSheetDescription:(JMActionSheetDescription *)actionSheetDescription inViewController:(UIViewController *)viewController
{
[self showActionSheetDescription:actionSheetDescription inViewController:viewController fromView:nil];
[self showActionSheetDescription:actionSheetDescription inViewController:viewController fromView:viewController.view];
}

+ (void)showActionSheetDescription:(JMActionSheetDescription *)actionSheetDescription inViewController:(UIViewController *)viewController fromView:(UIView *)view
Expand Down
2 changes: 1 addition & 1 deletion Pod/Classes/JMActionSheetCollectionItem.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
@property (assign, nonatomic) UIViewContentMode actionImageContentMode;
@end

typedef void (^JMActionSheetSelectedCollectionItemBlock)(id selectedItem);
typedef void (^JMActionSheetSelectedCollectionItemBlock)(__nonnull id selectedItem);

@interface JMActionSheetCollectionItem : JMActionSheetItem

Expand Down
2 changes: 1 addition & 1 deletion Pod/Classes/JMActionSheetPickerItem.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

@protocol JMActionSheetPickerItemDisplayable <NSObject>

- (NSString *)displayableValueForActionSheetPicker;
- (nonnull NSString *)displayableValueForActionSheetPicker;

@end

Expand Down

0 comments on commit 58f878e

Please sign in to comment.