From ccf60abc46bdad390015f985030fc1ecbdba38fe Mon Sep 17 00:00:00 2001 From: Andreas Ganske Date: Sat, 27 Oct 2018 12:45:07 +0200 Subject: [PATCH] Fix warnings --- .../ColorPickerClasses/ANImageBitmapRep/BitmapContextRep.h | 4 ++-- RSColorPicker/ColorPickerClasses/BGRSLoupeLayer.m | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/RSColorPicker/ColorPickerClasses/ANImageBitmapRep/BitmapContextRep.h b/RSColorPicker/ColorPickerClasses/ANImageBitmapRep/BitmapContextRep.h index 107ecbf..05c93da 100644 --- a/RSColorPicker/ColorPickerClasses/ANImageBitmapRep/BitmapContextRep.h +++ b/RSColorPicker/ColorPickerClasses/ANImageBitmapRep/BitmapContextRep.h @@ -44,7 +44,7 @@ BMPoint BMPointFromPoint (CGPoint point); /** * Creates a bitmap context with the information from a CGImageRef. - * @param image The image to use for initialization. The reference will + * @param img The image to use for initialization. The reference will * not be consumed, so you will still need to CGImageRelease() this as expected. */ - (id)initWithCGImage:(CGImageRef)img; @@ -77,7 +77,7 @@ BMPoint BMPointFromPoint (CGPoint point); * Tells the BitmapContext that a new image should be generated when * one is requested because the internal context has been externally * modified. - * @param needsUpdate This should almost always be YES. If this is no, + * @param flag This should almost always be YES. If this is no, * a new CGImageRef will not be generated when one is requested. */ - (void)setNeedsUpdate:(BOOL)flag; diff --git a/RSColorPicker/ColorPickerClasses/BGRSLoupeLayer.m b/RSColorPicker/ColorPickerClasses/BGRSLoupeLayer.m index 39994d9..05deaf4 100644 --- a/RSColorPicker/ColorPickerClasses/BGRSLoupeLayer.m +++ b/RSColorPicker/ColorPickerClasses/BGRSLoupeLayer.m @@ -31,7 +31,7 @@ #import "BGRSLoupeLayer.h" #import "RSColorPickerView.h" -@interface BGRSLoupeLayer () +@interface BGRSLoupeLayer () @property (nonatomic) struct CGPath *gridCirclePath;