This repository has been archived by the owner on Sep 21, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
129 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
// | ||
// Maker+Unavailable.swift | ||
// Framezilla iOS | ||
// | ||
// Created by Nikita Ermolenko on 27/02/2018. | ||
// | ||
|
||
import Foundation | ||
|
||
extension Maker { | ||
|
||
/// Calculates the width that best fits the specified size. | ||
/// | ||
/// - returns: `Maker` instance for chaining relations. | ||
|
||
@available(*, unavailable, renamed: "widthThatFits(maxWidth:)") | ||
@discardableResult public func widthThatFits(width: Number) -> Maker { | ||
return self | ||
} | ||
|
||
/// Calculates the height that best fits the specified size. | ||
/// | ||
/// - returns: `Maker` instance for chaining relations. | ||
|
||
@available(*, unavailable, renamed: "heightThatFits(maxHeight:)") | ||
@discardableResult public func heightThatFits(height: Number) -> Maker { | ||
return self | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters