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
04b8a96df1ba92ff009ea7cf2a174f1858c8b2b98459646cd7144bdb658cbd0d053c453465e29695e1d48462bf3f6c07ad75dc9e6089c3f43e4cced295db02c58f;bogdano |
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
// | |
// RadialView.swift | |
// | |
// | |
// Created by John Rommel Estropia on 2016/08/06. | |
// Copyright © 2016 JohnEstropia. All rights reserved. | |
// | |
import UIKit | |
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
// | |
// LazyCachedCollection.swift | |
// | |
// Created by John Estropia on 2017/09/27. | |
// Copyright © 2017 John Estropia. All rights reserved. | |
// | |
import Foundation | |
class LazyCachedCollection<Element>: RandomAccessCollection { |
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
import CoreData | |
//: # Implementation | |
protocol ValueProtocol { | |
static func empty() -> Self | |
static func attributeType() -> NSAttributeType | |
func encode() -> Any |
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
// Workaround a nasty bug introduced in XCode 7 targeted at iOS 8 devices | |
// https://forums.developer.apple.com/message/9998#9998 | |
// https://forums.developer.apple.com/message/31849#31849 | |
// This is not my original idea. Please give your stars to stackoverflow user Andy for sharing his solution: http://stackoverflow.com/a/32466951/809614 | |
class MyFetchedResultsControllerDelegate: NSObject, NSFetchedResultsControllerDelegate { | |
// ... your code | |
// MARK: Private |
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
// | |
// JEProgressView.h | |
// | |
// | |
// Created by John Rommel Estropia on 2014/03/11. | |
// Copyright (c) 2014 John Rommel Estropia. | |
// | |
// Permission is hereby granted, free of charge, to any person obtaining a copy | |
// of this software and associated documentation files (the "Software"), to deal | |
// in the Software without restriction, including without limitation the rights |
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
// | |
// JEAssociatedObjects.h | |
// JEToolkit | |
// | |
// Created by John Rommel Estropia on 2013/10/26. | |
// Copyright (c) 2013 John Rommel Estropia. All rights reserved. | |
// | |
#import <objc/runtime.h> |