//
//  Typealiases.swift
//  NotAutoLayout
//
//  Created by 史　翔新 on 2017/02/22.
//  Copyright © 2017年 史翔新. All rights reserved.
//

import Foundation

public typealias LayoutCondition = (_ canvasSize: CGSize) -> Bool
public typealias LayoutMethod = (condition: LayoutCondition, position: LayoutPosition)

//
//  Typealiases.swift
//  NotAutoLayout
//
//  Created by 史　翔新 on 2017/02/22.
//  Copyright © 2017年 史翔新. All rights reserved.
//

import Foundation

public typealias LayoutCondition = (_ boundSize: CGSize) -> Bool
public typealias LayoutMethod = (condition: LayoutCondition, position: LayoutPosition)

Rename canvasSize to boundSize in LayoutCondition, which is more accurate especially in views like UIScrollView
Rename canvasSize to boundSize in LayoutCondition, which is more accurate especially in views like UIScrollView
