(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
First, some context.
I urged the AltConf organizers to publish a Code of Conduct for their attendees and speakers. In that Twitter conversation, I repeatedly cited Ashe Dryden's Code of Conduct 101 + FAQ.
This is what they published on their website as their code of conduct (as of 2014-05-06):
AltConf is provided free of charge, on a first-come, first-served basis, without warranty or liability, by volunteers, for the good of our community.
To participate in our conference in any way (attendee, speaker, sponsor, etc), you must agree to abide by the instructions of the volunteers and the decisions of the organizers, and acknowledge that you may be barred from participation at any time, for any reason.
// | |
// NaturalMotion.swift | |
// | |
// Created by Maciej Swic on 2014-06-06. | |
// Released under the MIT license. | |
// | |
import UIKit | |
extension UIView { |
@interface DDDelegateProxy : NSProxy | |
+ (id)proxyForDelegate:(id)delegate conformingToProtocol:(Protocol *)protocol; | |
@property (weak, readonly) id delegate; | |
@property (strong, readonly) Protocol *protocol; | |
/*! | |
* Set a default return value for a method on the delegate's protocol. | |
* \param value This must be a block that returns the default value. Bad Things will happen if it's not. |
// | |
// PSPDFThreadSafeMutableDictionary.m | |
// | |
// Copyright (c) 2013 Peter Steinberger, PSPDFKit GmbH. All rights reserved. | |
// | |
// 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 | |
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
// copies of the Software, and to permit persons to whom the Software is |
// | |
// PRHAngleGradientFilter.h | |
// | |
// Created by Peter Hosey on 2013-01-30. | |
// Copyright (c) 2013 Peter Hosey. All rights reserved. | |
// | |
#import <QuartzCore/QuartzCore.h> | |
@interface PRHAngleGradientFilter : CIFilter |
kernel vec4 coreImageKernel(__color startColor, __color endColor) | |
{ | |
vec2 point = destCoord(); | |
float angle = atan(point.y, point.x) + radians(180.0); | |
//Start from the upper middle, not the left middle | |
angle += radians(90.0); | |
angle = mod(angle, radians(360.0)); | |
float fraction = angle / radians(360.0); |
# | |
# Uncrustify Configuration File | |
# File Created With UncrustifyX 0.2 (140) | |
# | |
# Alignment | |
# --------- | |
## Alignment |
// | |
// TBSplitViewController.h | |
// | |
// Created by Tyler Bunnell on 8/4/12 | |
// Released under the have fun with this and make cool stuff license. | |
// | |
#import <UIKit/UIKit.h> | |
@interface TBSplitViewController : UISplitViewController |
- (NSURLRequest *)requestForFetchRequest:(NSFetchRequest *)fetchRequest | |
withContext:(NSManagedObjectContext *)context { | |
// init the query string dictionary | |
NSMutableDictionary *queryString = nil; | |
// if we're given a predicate, convert it to a dictionary | |
if (fetchRequest.predicate) { | |
if ([fetchRequest.predicate isKindOfClass:[NSCompoundPredicate class]]) { |