From 79046c8e00a118a20794aefdb6026cbcb1356af5 Mon Sep 17 00:00:00 2001 From: scott Date: Thu, 16 Feb 2017 14:17:20 +0800 Subject: [PATCH] Fix wrong documentation comments --- .../MZFormSheetPresentationViewController.h | 2 +- MZFormSheetPresentationController/MZMethodSwizzler.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/MZFormSheetPresentationController/MZFormSheetPresentationViewController.h b/MZFormSheetPresentationController/MZFormSheetPresentationViewController.h index ff9c3ea..f2d8c5c 100644 --- a/MZFormSheetPresentationController/MZFormSheetPresentationViewController.h +++ b/MZFormSheetPresentationController/MZFormSheetPresentationViewController.h @@ -103,7 +103,7 @@ typedef void(^MZFormSheetPresentationViewControllerCompletionHandler)(UIViewCont /** Returns an initialized popup controller object with just a view. - @param view This parameter must not be nil. + @param contentView This parameter must not be nil. */ - (nonnull instancetype)initWithContentView:(UIView * __nonnull)contentView; diff --git a/MZFormSheetPresentationController/MZMethodSwizzler.h b/MZFormSheetPresentationController/MZMethodSwizzler.h index 53ea361..f4de663 100644 --- a/MZFormSheetPresentationController/MZMethodSwizzler.h +++ b/MZFormSheetPresentationController/MZMethodSwizzler.h @@ -58,7 +58,7 @@ typedef id (^MZMethodReplacementProvider)(MZ_IMP original, __unsafe_unretained C Swizzle the specified instance method on this specific instance only. @param selector Selector of the method to swizzle. - @param replacement The replacement block to use for swizzling the method. Its signature needs to be: return_type ^(id self, ...). + @param replacementProvider The replacement block to use for swizzling the method. Its signature needs to be: return_type ^(id self, ...). */ - (void)swizzleMethod:(SEL)selector withReplacement:(MZMethodReplacementProvider)replacementProvider;