Skip to content

Instantly share code, notes, and snippets.

View mingsai's full-sized avatar
🎯
Focusing

Tommie N. Carter, Jr. mingsai

🎯
Focusing
View GitHub Profile
@mingsai
mingsai / MNGStyleUtilities.swift
Created February 12, 2016 17:56
A Swift class that holds a number of style utilities useful when building iOS apps.
//
// MNGStyleUtilities.swift
//
//
// Created by Tommie N. Carter, Jr., MBA on 9/27/15.
// Copyright © 2015 MING Technology. All rights reserved.
//
import UIKit
@mingsai
mingsai / MNGUserDefaultsExtensions.swift
Created February 12, 2016 17:58
A swift extension showing how one can add UIColor objects to NSUserDefaults.
//
// MNGUserDefaultsExtensions.swift
//
//
// Created by Tommie N. Carter, Jr., MBA on 11/4/15.
// Copyright © 2015 MING Technology. All rights reserved.
//
import Foundation
import UIKit
@mingsai
mingsai / MNGCoreImageExtensions.swift
Created February 12, 2016 17:59
A Swift core image extension for producing a collage image when given an array of images.
//
// MNGCoreImageExtensions.swift
//
//
// Created by Tommie N. Carter, Jr., MBA on 7/28/15.
// Copyright © 2015 MING Technology. All rights reserved.
//
import CoreImage
import UIKit
@mingsai
mingsai / MNGLayerExtensions.swift
Created February 12, 2016 18:00
A Swift extension for configuring a background gradient color when given a set of ColorRefs.
//
// MNGLayerExtensions.swift
//
//
// Created by Tommie N. Carter, Jr., MBA on 6/21/15.
// Copyright © 2015 MING Technology. All rights reserved.
//
import QuartzCore
@mingsai
mingsai / MNGApplicatioNExtensions.swift
Created February 12, 2016 18:02
A Swift extension to provide application version numbers and commonly used global constants
//
// MNGApplicatioNExtensions.swift
//
//
// Created by Tommie N. Carter, Jr., MBA on 6/22/15.
// Copyright © 2015 MING Technology. All rights reserved.
//
import UIKit
@mingsai
mingsai / MNGStringExtensions.swift
Created February 12, 2016 18:04
A Swift extension to perform a number of common string procedures.
//
// MNGStringExtensions.swift
//
//
// Created by Tommie Carter on 6/29/15.
// Copyright © 2015 MING Technology. All rights reserved.
//
import Foundation
@mingsai
mingsai / MNGAVPlayerExtensions.swift
Created February 12, 2016 18:07
A Swift extension to initialize AVPlayer using NSData and more...
//
// MNGAVPlayerExtensions.swift
//
//
// Created by Tommie Carter on 7/6/15.
// Copyright © 2015 MING Technology. All rights reserved.
//
import AVFoundation
import UIKit
@mingsai
mingsai / MNGExpandedTouchAreaButton.swift
Created February 12, 2016 18:08
A Swift UIButton subclass to expand the touch area of the button.
//
// MNGExpandedTouchAreaButton.swift
//
//
// Created by Tommie Carter on 7/7/15.
// Copyright © 2015 MING Technology. All rights reserved.
//
import UIKit
@mingsai
mingsai / MNGBackgroundThreadOperator.swift
Created February 12, 2016 18:10
A Swift operator for a new shorthand way of executing work on a background and foreground queue
//
// MNGBackgroundThreadOperator.swift
//
//
// Created by Tommie N. Carter, Jr., MBA on 7/18/15.
// Copyright © 2015 MING Technology. All rights reserved.
//
import Foundation
@mingsai
mingsai / ModalNoAnimationSegue.swift
Created February 12, 2016 18:13
A set of Swift classes to disable the automatic animation associated with a segue. One can then add one's custom animation instead.
//
// ModalNoAnimationSegue.swift
//
//
// Created by Tommie N. Carter, Jr., MBA on 9/2/15.
// Copyright © 2015 MING Technology. All rights reserved.
//
import UIKit