This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
extension NSDate | |
{ | |
func isGreaterThanDate(dateToCompare : NSDate) -> Bool | |
{ | |
//Declare Variables | |
var isGreater = false | |
//Compare Values | |
if self.compare(dateToCompare) == NSComparisonResult.OrderedDescending | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// Stack.swift | |
// | |
import Foundation | |
import CoreData | |
class Stack { | |
static let sharedStack = Stack() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// FirebaseType.swift | |
// | |
import Foundation | |
import Firebase | |
protocol FirebaseType { | |
// properties |
OlderNewer