All notable changes to this project will be documented in this file.
- Swift4 version update. [PR] by Simple4, Steven_Cheung and lfarah
-
Array
public subscript (safe index: Index)
in [PR] by lfarah
-
Double
**?(lhs:Double, rhs:Double)
in [PR] by Khalian
-
NSAttributedString
+ (left: NSAttributedString, right: NSAttributedString) -> NSAttributedString
in [PR] by lfarah
-
UILabel
public convenience init(font: UIFont, color: UIColor, alignment: NSTextAlignment)
in [PR] by icefall
-
UserDefaults
public func date(forKey key: String) -> Date?
in [PR] by Khalian
-
Date
public func timePassed() -> TimePassed
in [PR] by 110100110101
-
Hashable
public var hashString: String
in [PR] by rugheid
- MacOSX 10.11
-
Array
-
Collections
func parallelizedMap<R>(_ each: @escaping (Self.Iterator.Element) -> R) -> [R?]
in [PR] by Khalian
-
Date
init?(httpDateString: String)
in [PR] by Vic-L
-
EZSwiftFunctions
isInTestFlight
in [PR] by Khalian
-
Dictionary
func random() -> Value?
in [PR] by Khalian
-
EZSwiftFunctions
isInTestFlight
in [PR] by Khalian
-
FileManager
-
UIStackView
addArrangedSubviews(_ views: UIView...)
in [PR] by kirakikinit(distribution: UIStackViewDistribution, alignment: UIStackViewAlignment, axis: UILayoutConstraintAxis, spacing: CGFloat)
in [[PR]](https://github.com/goktugyil/ EZSwiftExtensions/pull/396) by kirakik
-
UIView
-
UIViewControllerExtensions
isNavBarHidden
in [PR] by Khalian
-
Double
var toCGFloat
in [PR] by Vic-L
- UITextField
validateLength()
in [PR] by Vic-LvalidateEmail()
in [PR] by Vic-LvalidateDigits()
in [PR] by Vic-L
- UIViewController
public func hideKeyboardWhenTappedAround(cancelTouches: Bool = false)
in [PR] by lfarah
-
Array
foreach
is now removed since its already in the std library by KhalianremoveAll
is now removed since its already in the std library by Khalian
-
Date
timePassed
now returns print value correctly, earlier used to return optionals in between by KhaliantestMonthAsString
fixing documentation via tests by Khalian
-
Bool
public var toggled
in [PR] by Khalian
-
CGPoint:
-
CGRect
var area
in [PR] by Khalian
-
Date
-
Double
var abs
in [PR] by Khalian
-
Float
-
Int
-
String
-
UInt
-
UIEdgeInsets
init(inset: CGFloat)
in [PR] by furuyan
-
UILabel
set(text _text: String?, duration: TimeInterval)
in [PR] by vilapuigvila
- UIImage
var base64: String
in [PR] by lfarah## [Version 1.8]
- Array:
shuffle()
crashing if array contains one or zero elements by piv199
- EZSwiftExtensions:
- Setting image on undefined thread for
imageWithURL
related methods in [PR] by piv199 runThisEvery()
now returnsTimer
instead ofCFLoopTimer
in [PR] by lfarah
- Array:
shuffled() -> Array
in [PR] by piv199unique() -> Array
in [PR] by Khalianget(at range:ClosedRange<Int>) -> Array
in [PR] by Dendim0n
- Date:
isToday: Bool
in [PR] by KhalianisYesterday: Bool
in [PR] by KhalianisTomorrow: Bool
in [PR] by Khalianyear: Int
in [PR] by Khalianmonth: Int
in [PR] by Khalianweekday: Int
in [PR] by KhalianmonthAsString: String
in [PR] by Khalianday: Int
in [PR] by Khalianhour: Int
in [PR] by Khalianminute: Int
in [PR] by Khaliansecond: Int
in [PR] by KhalianisThisWeek: Bool
in [PR] by KhalianisThisMonth: Bool
in [PR] by Khalian
- CGFloat:
radiansToDegrees() -> CGFloat
in [PR] by KhaliantoDegreesInPlace()
in [PR] by Khalianstatic radiansToDegrees(_ angleInDegrees : CGFloat) -> CGFloat
in [PR] by Khalianstatic random() -> CGFloat
in [PR] by Khalianstatic random(within: Range<CGFloat>)
in [PR] by Khalianstatic random(within: ClosedRange<CGFloat>)
in [PR] by Khalianstatic shortestAngleInRadians(from first: CGFloat, to second: CGFloat) -> CGFloat
in [PR] by Khalian
- CGPoint:
operator +(this: CGPoint, that: CGPoint) -> CGPoint
in [PR] by Khalianoperator -
by Khalianoperator *
by Khalianstatic distance(from: CGPoint, to: CGPoint) -> CGPoint
in [PR] by Khaliannormalized()
by Khalianangle: CGFloat
in [PR] by KhaliandotProduct(this: CGPoint, that: CGPoint) -> CGPoint
in [PR] by KhalianlinearInterpolation(startPoint: CGPoint, endPoint: CGPoint, interpolationParam: CGFloat)
by Khalian
- FloatingPoint:
round(toPlaces places: Int)
by piv199rounded(toPlaces places: Int)
by piv199ceil(toPlaces places: Int)
by piv199ceiled(toPlaces places: Int)
by piv199
- String:
urlEncoded()
by KhalianurlEncode()
by Khaliansubscript(integerClosedRange: ClosedRange<Int>)
by lfarah
- UIView
fadeIn(_ duration: TimeInterval?, delay: TimeInterval?, completion: ((Bool) -> Void)?)
by vilapuigvilafadeOut(_ duration: TimeInterval?, delay: TimeInterval?, completion: ((Bool) -> Void)?)
by vilapuigvilafadeTo(_ value: CGFloat, duration: TimeInterval?, delay: TimeInterval?, completion: ((Bool) -> Void)?)
by vilapuigvila
- UIViewController:
hideKeyboardWhenTappedAroundAndCancelsTouchesInView()
by furuyan
- Dictionary:
static constructFromJSON(json: String) -> Dictionary
by KhalianformatJSON() -> String?
by Khalian
- Character:
lowercased: Character
by Khalianuppercased: Character
by Khalian
- Global:
- Updated
M_PI
to.pi
by piv199
- Array:
reverseIndex(_ index: Int)
now returnsInt?
instead ofInt
by piv199
- UIColoredView
Array:
Method/property name | Renamed to | Author |
---|---|---|
containsInstanceOf<T>(_ element: T) |
containsType<T>(of element: T) |
piv199 |
get(_ index: Int) |
get(at index: Int) |
piv199 |
removeObjects(_ objects: Element...) |
removeAll(_ elements: Element...) |
piv199 |
removeFirstObject(_ object: Element) |
removeFirst(_ element: Element) |
piv199 |
testIfAllIs(_ condition: Bool) |
testAll(is condition: Bool) |
piv199 |
CGFloat:
Method/property name | Renamed to | Author |
---|---|---|
toRadians() |
degreesToRadians() |
Khalian |
Double:
Method/property name | Renamed to | Author |
---|---|---|
ceilByPlaces(_ places: Int) |
ceil(toPlaces places: Int) |
piv199 |
getCeiledByPlaces(_ places: Int) |
ceiled(toPlaces places: Int) |
piv199 |
getRoundedByPlaces(_ places: Int) |
rounded(toPlaces places: Int) |
piv199 |
roundByPlaces(_ places: Int) |
round(toPlaces places: Int) |
piv199 |
UIColor:
Method/property name | Renamed to | Author |
---|---|---|
randomColor(_ randomAlpha: Bool) |
random(randomAlpha: Bool) |
lfarah |
UIFont:
Method/property name | Renamed to | Author |
---|---|---|
PrintFontFamily(_ font: FontName) |
deprecated | lfarah |
UIViewController:
Method/property name | Renamed to | Author |
---|---|---|
hideKeyboardWhenTappedAround(handler: ((UITapGestureRecognizer) -> Void)?) |
hideKeyboardWhenTappedAround() |
furuyan |
NSDictionary:
Method/property name | Renamed to | Author |
---|---|---|
init?(json: String) |
deprecated | lfarah |
formatJSON() -> String? |
deprecated | lfarah |
UIImageView:
Method/property name | Renamed to | Author |
---|---|---|
imageWithUrl(url: String, placeholderNamed: String) |
image(url: String, placeholderNamed: String) |
lfarah |
imageWithUrl(url: String, placeholder: UIImage) |
image(url: String, placeholder: UIImage) |
lfarah |
imageWithUrl(url: String) |
image(url: String) |
lfarah |