Skip to content

Commit

Permalink
Added support for Swift 1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Yanko Dimitrov committed Apr 19, 2015
1 parent 201b7d3 commit fba99c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SwiftLayoutKit/Layout.swift
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import UIKit
///
public func constraintsWith(#format: String, forViews views: [String: UIView], options: NSLayoutFormatOptions = nil, metrics: [String: CGFloat]? = nil) -> [NSLayoutConstraint] {

return NSLayoutConstraint.constraintsWithVisualFormat(format, options: options, metrics: metrics, views: views) as [NSLayoutConstraint]
return NSLayoutConstraint.constraintsWithVisualFormat(format, options: options, metrics: metrics, views: views) as! [NSLayoutConstraint]
}

/// Aligns multiple views to a view by a given NSLayoutAttribute
Expand Down

0 comments on commit fba99c0

Please sign in to comment.