Skip to content

Commit

Permalink
Code Style
Browse files Browse the repository at this point in the history
  • Loading branch information
sunnyxx committed Oct 9, 2015
1 parent 032d29d commit f338e8e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion FDStackView/FDStackViewAlignmentLayoutArrangement.m
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ - (NSLayoutRelation)layoutRelationForItemConnectionForAttribute:(NSLayoutAttribu
switch (self.alignment) {
case UIStackViewAlignmentCenter:
case UIStackViewAlignmentFirstBaseline:
case UIStackViewAlignmentLastBaseline :{
case UIStackViewAlignmentLastBaseline: {
if (attribute == self.minAttributeForCanvasConnections) {
return NSLayoutRelationLessThanOrEqual;
} else if (attribute == self.maxAttributeForCanvasConnections) {
Expand Down
2 changes: 1 addition & 1 deletion FDStackView/FDStackViewLayoutArrangement.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
@property (nonatomic, strong) NSMutableArray<UIView *> *mutableItems;
@property (nonatomic, strong) NSMutableArray<NSLayoutConstraint *> *canvasConnectionConstraints;

- (id)initWithItems:(NSArray<UIView *> *)items onAxis:(UILayoutConstraintAxis)axis;
- (instancetype)initWithItems:(NSArray<UIView *> *)items onAxis:(UILayoutConstraintAxis)axis;
- (void)insertItem:(UIView *)item atIndex:(NSUInteger)index;
- (void)removeItem:(UIView *)item;
- (void)addItem:(UIView *)item;
Expand Down
2 changes: 1 addition & 1 deletion FDStackView/FDStackViewLayoutArrangement.m
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

@implementation FDStackViewLayoutArrangement

- (id)initWithItems:(NSArray *)items onAxis:(UILayoutConstraintAxis)axis {
- (instancetype)initWithItems:(NSArray *)items onAxis:(UILayoutConstraintAxis)axis {
if (self = [super init]) {
_mutableItems = [[NSMutableArray alloc] initWithArray:items];
_canvasConnectionConstraints = [NSMutableArray array];
Expand Down

0 comments on commit f338e8e

Please sign in to comment.