Check what should have been done
Check the related git commit
Check if the Dev use the right syntax and follow the styleguide
// | |
// UITextView+VerticalAlignment.h | |
// VerbalShoppingList | |
// | |
// Created by Tom Susel on 1/9/14. | |
// | |
#import <UIKit/UIKit.h> | |
@interface UITextView (VerticalAlignment) |
// | |
// UIColor+Hexadecimal.m | |
// | |
// | |
// Created by osorioabel on 16/7/14. | |
// Copyright (c) 2014 Abel Osorio. All rights reserved. | |
// | |
#import <UIKit/UIKit.h> |
This gist assumes:
// in a UITableViewController (or any other view controller with a UITableView) | |
- (void)viewWillTransitionToSize:(CGSize)size withTransitionCoordinator:(id<UIViewControllerTransitionCoordinator>)coordinator | |
{ | |
UIView *header = [[UIView alloc] initWithFrame:CGRectMake(0, 0, size.width, 0)]; | |
header.translatesAutoresizingMaskIntoConstraints = NO; | |
// [add subviews and their constraints to header] | |
NSLayoutConstraint *headerWidthConstraint = [NSLayoutConstraint |
typealias CoordinatorsDictionary = [String: Coordinator] | |
protocol Coordinator: class { | |
var rootViewController: UIViewController { get } | |
func start() | |
} | |
extension Coordinator { | |
var name: String { |