Skip to content

Commit

Permalink
Showcase constraint issue by removing translatesAutoResizingMaskIntoC…
Browse files Browse the repository at this point in the history
…onstraints call
  • Loading branch information
mhupman committed Feb 7, 2014
1 parent f3cbf00 commit f71dc6a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions MBContactPicker/MBContactPicker.m
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ - (void)setup
self.maxVisibleRows = kMaxVisibleRows;
self.animationSpeed = kAnimationSpeed;
self.allowsCompletionOfSelectedContacts = YES;
self.translatesAutoresizingMaskIntoConstraints = NO;
// self.translatesAutoresizingMaskIntoConstraints = NO;
self.clipsToBounds = YES;
self.enabled = YES;

Expand Down Expand Up @@ -124,14 +124,14 @@ - (void)setup
views:NSDictionaryOfVariableBindings(searchTableView)]];


#ifdef DEBUG_BORDERS
//#ifdef DEBUG_BORDERS
self.layer.borderColor = [UIColor grayColor].CGColor;
self.layer.borderWidth = 1.0;
contactCollectionView.layer.borderColor = [UIColor redColor].CGColor;
contactCollectionView.layer.borderWidth = 1.0;
searchTableView.layer.borderColor = [UIColor blueColor].CGColor;
searchTableView.layer.borderWidth = 1.0;
#endif
//#endif
}

#pragma mark - Keyboard Notification Handling
Expand Down

0 comments on commit f71dc6a

Please sign in to comment.