This file contains hidden or 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
#import <Foundation/Foundation.h> | |
extern NSString *addressBookErrorDomain; | |
typedef NS_ENUM(NSInteger, AddressBookError) { | |
AddressBookErrorOK, | |
AddressBookErrorNoAddressBook, | |
AddressBookErrorNoAccess | |
}; |
This file contains hidden or 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
// | |
// Signal.swift | |
// | |
// Created by Daniel Tartaglia on 9/6/15. | |
// Copyright © 2016 Daniel Tartaglia. MIT License. | |
// | |
public protocol Disposable { | |
func dispose() | |
} |
This file contains hidden or 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
// | |
// ArrayCompare.swift | |
// | |
// Created by Daniel Tartaglia on Sep 10, 2015. | |
// Inspired by http://www.swift-studies.com/blog/2015/5/15/swift-coding-challenge-incremental-updates-to-views | |
// | |
public func findDifferences<T : Hashable>(old: [T], new:[T], moveBlock: (_ from: Int, _ to: Int)->()) -> (insertions: [Int], removals: [Int]) | |
{ | |
var insertionIndexs = [Int]() |
This file contains hidden or 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
// | |
// KeyboardScrollController.swift | |
// | |
// Created by Daniel Tartaglia on 9/16/15. | |
// Copyright © 2015. MIT License. | |
// | |
import UIKit | |
This file contains hidden or 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
// | |
// PromiseKitAdditions.swift | |
// | |
// Created by Daniel Tartaglia on 11/4/15. | |
// Copyright © 2018. MIT License. | |
// | |
import PromiseKit | |
This file contains hidden or 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
// | |
// Redux.swift | |
// | |
// Created by Daniel Tartaglia on 01/16/15. | |
// Copyright © 2017. MIT License. | |
// | |
public final class Store<State, Action> { |
This file contains hidden or 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
// | |
// UIViewAdditions.swift | |
// | |
// Created by Daniel Tartaglia on 04/15/15. | |
// Copyright © 2016. MIT License. | |
// | |
import UIKit | |
This file contains hidden or 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
// | |
// UIViewController+GetImage.swift | |
// | |
// Created by Daniel Tartaglia on 4/25/16. | |
// Copyright © 2016 MIT License | |
// | |
import UIKit | |
import PromiseKit |
This file contains hidden or 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
// | |
// CLGeocoder+Rx.swift | |
// | |
// Created by Daniel Tartaglia on 5/7/16. | |
// Copyright © 2018 Daniel Tartaglia. MIT License. | |
// | |
import RxSwift | |
import CoreLocation | |
import Contacts |
This file contains hidden or 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
// | |
// Regex.swift | |
// | |
// Created by Daniel Tartaglia on 2/6/16. | |
// Copyright © 2016 Daniel Tartaglia. MIT License. | |
// | |
import Foundation | |
OlderNewer