From 0c0a19d7eb373c0096b9bb2f02bcfaf73baa40a8 Mon Sep 17 00:00:00 2001 From: Andrii Selivanov Date: Mon, 4 Apr 2016 15:34:46 +0300 Subject: [PATCH] Start documentation. --- .../LUNSegmentedControl/LUNGradientView.h | 3 +++ .../LUNSegmentedControl/UIView+LUNRemoveConstraints.h | 8 ++++++++ 2 files changed, 11 insertions(+) diff --git a/LUNSegmentedControl/LUNSegmentedControl/LUNSegmentedControl/LUNGradientView.h b/LUNSegmentedControl/LUNSegmentedControl/LUNSegmentedControl/LUNGradientView.h index 4a6ba4a..3b32eb0 100644 --- a/LUNSegmentedControl/LUNSegmentedControl/LUNSegmentedControl/LUNGradientView.h +++ b/LUNSegmentedControl/LUNSegmentedControl/LUNSegmentedControl/LUNGradientView.h @@ -8,6 +8,9 @@ #import +/** + * View with CAGradientLayer layer class. + */ @interface LUNGradientView : UIView @end diff --git a/LUNSegmentedControl/LUNSegmentedControl/LUNSegmentedControl/UIView+LUNRemoveConstraints.h b/LUNSegmentedControl/LUNSegmentedControl/LUNSegmentedControl/UIView+LUNRemoveConstraints.h index 0d37caa..340dc60 100644 --- a/LUNSegmentedControl/LUNSegmentedControl/LUNSegmentedControl/UIView+LUNRemoveConstraints.h +++ b/LUNSegmentedControl/LUNSegmentedControl/LUNSegmentedControl/UIView+LUNRemoveConstraints.h @@ -8,8 +8,16 @@ #import +/** + * Category of UIView that provide method to remove set of constraints from view subtree. + */ @interface UIView (LUNRemoveConstraints) +/** + * Remove specified set of constraints from views in receiver subtree and from receiver itself. + * + * @param constraints Set of constraints to remove. + */ - (void)lun_removeConstraintsFromSubTree:(NSSet *)constraints; @end