I hereby claim:
- I am andreyz on github.
- I am andreyz (https://keybase.io/andreyz) on keybase.
- I have a public key whose fingerprint is C8AA 43DE 0B55 A0B6 6F25 A6A9 52BA F05C 980F 07B3
To claim this, I am signing this object:
| import Combine | |
| import CoreData | |
| extension NSManagedObjectContext { | |
| func changesPublisher<Object: NSManagedObject>(for fetchRequest: NSFetchRequest<Object>) | |
| -> ManagedObjectChangesPublisher<Object> | |
| { | |
| ManagedObjectChangesPublisher(fetchRequest: fetchRequest, context: self) | |
| } | |
| } |
| [ | |
| { | |
| "name": "Admir Rocks", | |
| "category": "Featured", | |
| "city": "Huddik", | |
| "state": "Norrland", | |
| "id": 1000, | |
| "park": "Joshua Tree National Park", | |
| "coordinates": { | |
| "longitude": -116.166868, |
| public extension UIEdgeInsets { | |
| public var vertical: CGFloat { | |
| get { return 0 } // meaningless but not fatal | |
| set { (top, bottom) = (newValue, newValue) } | |
| } | |
| public var horizontal: CGFloat { | |
| get { return 0 } // meaningless but not fatal | |
| set { (left, right) = (newValue, newValue) } | |
| } |
| import UIKit | |
| class TouchForwardingView: UIView { | |
| var passthroughViews: [UIView] = [] | |
| override func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? { | |
| guard let hitView = super.hitTest(point, with: event) else { return nil } | |
| guard hitView == self else { return hitView } | |
I hereby claim:
To claim this, I am signing this object:
This gist is part of a blog post. Check it out at:
http://jasonrudolph.com/blog/2011/08/09/programming-achievements-how-to-level-up-as-a-developer