mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-24 07:05:35 +00:00
[Example-BackgroundPropertySetting] Rename example project to be compatible with build script
This commit is contained in:
15
examples/BackgroundPropertySetting/Sample/Utilities.swift
Normal file
15
examples/BackgroundPropertySetting/Sample/Utilities.swift
Normal file
@@ -0,0 +1,15 @@
|
||||
//
|
||||
// Utilities.swift
|
||||
// BackgroundPropertySetting
|
||||
//
|
||||
// Created by Adlai Holler on 2/17/16.
|
||||
// Copyright © 2016 Adlai Holler. All rights reserved.
|
||||
//
|
||||
|
||||
import UIKit
|
||||
|
||||
extension UIColor {
|
||||
static func random() -> UIColor {
|
||||
return UIColor(red: CGFloat(drand48()), green: CGFloat(drand48()), blue: CGFloat(drand48()), alpha: 1.0)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user