Skip to content

Commit c148b8e

Browse files
committed
Making it clear what centering means (to superview).
1 parent 3a74878 commit c148b8e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Classes/MTZWhatsNewViewController/NSLayoutConstraint+Common/NSLayoutConstraint+Common.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
+ (NSArray *)constraintsToStretchVerticallyToSuperview:(UIView *)view;
3030

3131

32-
#pragma mark - Centering
32+
#pragma mark - Centering to superview
3333

3434
/// Create a constraint to horizontally center a particular view to its superview.
3535
/// @param view The subview to horizontally center to its superview.

Classes/MTZWhatsNewViewController/NSLayoutConstraint+Common/NSLayoutConstraint+Common.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ + (NSArray *)constraintsToStickView:(UIView *)view toEdges:(UIRectEdge)edges;
6666
}
6767

6868

69-
#pragma mark - Centering
69+
#pragma mark - Centering to superview
7070

7171
+ (NSLayoutConstraint *)constraintToCenterViewHorizontallyToSuperview:(UIView *)view
7272
{

0 commit comments

Comments
 (0)