Silenced trailing whitespace warnings

This commit is contained in:
Goktug Yilmaz 2016-08-25 17:45:47 +03:00
parent 7f88fedb90
commit 6459aed1a7
3 changed files with 4 additions and 4 deletions

View File

@ -30,7 +30,7 @@ public struct ez {
public static var appBuild: String? {
return NSBundle.mainBundle().objectForInfoDictionaryKey(kCFBundleVersionKey as String) as? String
}
/// EZSE: Return app's bundle Id
public static var appBundleId: String? {
return NSBundle.mainBundle().bundleIdentifier
@ -188,7 +188,7 @@ public struct ez {
action()
}
}
//TODO: Document this, add tests to this, find a way to remove ++
/// EZSE: Iterates through enum elements, use with (for element in ez.iterateEnum(myEnum))
public static func iterateEnum<T: Hashable>(_: T.Type) -> AnyGenerator<T> {

View File

@ -34,7 +34,7 @@ extension Int {
/// EZSE: Converts integer value to UInt.
public var toUInt: UInt { return UInt(self) }
/// EZSE: Converts integer value to Int32.
public var toInt32: Int32 { return Int32(self) }

View File

@ -442,7 +442,7 @@ extension UIView {
self.setScale(x: 1, y: 1)
})
}
//EZSE: Reverse pop, good for button animations
public func reversePop() {
setScale(x: 0.9, y: 0.9)