-
Sage HR
- Barcelona, Catalunya
Pinned Loading
-
-
-
ArrayExtension
ArrayExtension 1extension Array {
2public subscript(safeIndex index: Int) -> Element? {
3guard index >= 0, index < endIndex else { return nil }
4return self[index]
5}
-
Extension for Swift String
Extension for Swift String 1extension String {
23func range(of string: String) -> NSRange {
4return (self as NSString).range(of: string)
5}
-
NotificationCenterExtension
NotificationCenterExtension 1extension NotificationCenter {
23class func add(_ notification: Notification, observer: Any) {
4let selector = Selector(notification.name.rawValue)
5NotificationCenter.default.addObserver(observer, selector: selector, name: notification.name, object: nil)
-
vikmeup/SCLAlertView-Swift
vikmeup/SCLAlertView-Swift PublicBeautiful animated Alert View. Written in Swift
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.