Skip to content

Instantly share code, notes, and snippets.

View yong076's full-sized avatar
:octocat:

DanielKim yong076

:octocat:
View GitHub Profile
@yong076
yong076 / Devices.swift
Last active April 24, 2019 05:19
iOS Devices Swift (Update..)
//
// Devices.swift
//
// Created by Daniel Kim on 2018. 7. 10..
// Copyright © 2018년 Daniel Kim.
//
import Foundation
@yong076
yong076 / Device.swift
Last active November 9, 2018 05:56
iOS Device Manager
//
// Devices.swift
//
// Created by Daniel Kim on 2018. 7. 10..
// Copyright © 2018년 DanielKim. All rights reserved.
//
// check Device Name and Model and Simulator , Update continuance
import Foundation
import UIKit
extension UIImage {
func tint(tintColor: UIColor) -> UIImage {
return modifiedImage { context, rect in
// draw black background - workaround to preserve color of partially transparent pixels
context.setBlendMode(.normal)
UIColor.black.setFill()
@yong076
yong076 / emotobooth
Created October 16, 2016 02:42
emoto
emoto