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
diff --git a/Source/CarthageKit/Resolver.swift b/Source/CarthageKit/Resolver.swift | |
index 884880b..4f20925 100644 | |
--- a/Source/CarthageKit/Resolver.swift | |
+++ b/Source/CarthageKit/Resolver.swift | |
@@ -117,13 +117,13 @@ public struct Resolver { | |
private func resolveDependenciesFromNodePermutations(permutationsProducer: SignalProducer<[DependencyNode], CarthageError>) -> SignalProducer<DependencyGraph, CarthageError> { | |
return permutationsProducer | |
- .flatMap(.Concat) { rootNodes -> SignalProducer<Event<DependencyGraph, CarthageError>, CarthageError> in | |
+ .flatMap(.Concat) { rootNodes -> SignalProducer<DependencyGraph, CarthageError> in |
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
diff --git a/Source/CarthageKit/Cartfile.swift b/Source/CarthageKit/Cartfile.swift | |
index b1b1b46..172b3c2 100644 | |
--- a/Source/CarthageKit/Cartfile.swift | |
+++ b/Source/CarthageKit/Cartfile.swift | |
@@ -274,11 +274,14 @@ public struct Dependency<V: VersionType>: Equatable { | |
/// The project corresponding to this dependency. | |
public let project: ProjectIdentifier | |
+ public let dependencyOf: ProjectIdentifier? | |
+ |
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
Pod::Spec.new do |s| | |
s.name = "ReactiveCocoa" | |
s.version = "2.1" | |
s.summary = "A framework for composing and transforming streams of values." | |
s.homepage = "https://github.com/blog/1107-reactivecocoa-is-now-open-source" | |
s.author = { "Josh Abernathy" => "josh@github.com" } | |
s.source = { :git => "https://github.com/ReactiveCocoa/ReactiveCocoa.git", :tag => "v#{s.version}" } | |
s.license = 'MIT' | |
s.description = "ReactiveCocoa (RAC) is an Objective-C framework for Functional Reactive Programming. It provides APIs for composing and transforming streams of values." | |
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
Pod::Spec.new do |s| | |
s.name = "Mantle" | |
s.version = "1.3" | |
s.summary = "Model framework for Cocoa and Cocoa Touch." | |
s.homepage = "https://github.com/github/Mantle" | |
s.license = 'MIT' | |
s.author = { "GitHub" => "support@github.com" } | |
s.source = { :git => "https://github.com/github/Mantle.git", :tag => "1.3" } |
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
Pod::Spec.new do |s| | |
s.name = "ReactiveCocoa" | |
s.version = "2.0-RC1" | |
s.summary = "A framework for composing and transforming sequences of values." | |
s.homepage = "https://github.com/blog/1107-reactivecocoa-is-now-open-source" | |
s.author = { "Justin Spahr-Summers" => "jspahrsummers@github.com", "Josh Abernathy" => "josh@github.com" } | |
s.source = { :git => "https://github.com/ReactiveCocoa/ReactiveCocoa.git", :tag => "v#{s.version}" } | |
s.license = { :type => 'MIT', :file => 'LICENSE.md' } | |
s.description = "ReactiveCocoa (RAC) is an Objective-C framework for Functional Reactive Programming. It provides APIs for composing and transforming streams of values." |
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
let values = [ "1", "foo", "3" ] | |
// Swift 1.2 | |
extension Array { | |
func filterMap(@noescape transform: T -> U?) -> [U] { | |
var results = [U]() | |
for x in self { | |
if let mapped = transform(x) { | |
results.append(mapped) |
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
// Use Parse.Cloud.define to define as many cloud functions as you want. | |
// For example: | |
Parse.Cloud.define("hello", function(request, response) { | |
var acl = new Parse.ACL(); | |
var role = new Parse.Role("testRole", acl); | |
role.save(); | |
response.success("Hello world!"); | |
}); |
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
Pod::Spec.new do |s| | |
s.name = 'DescriptionBuilder' | |
s.version = '0.1' | |
s.platform = :ios | |
s.summary = 'DescriptionBuilder is helper class to make easier implementing NSObject description method. | |
Or dump all instance variables of any object. ' | |
s.homepage = 'https://github.com/kishikawakatsumi/DescriptionBuilder' | |
s.author = { 'KISHIKAWA Katsumi' => 'kishikawakatsumi@gmail.com' } | |
s.source = { :git => 'https://github.com/kishikawakatsumi/DescriptionBuilder.git', :branch => 'master' } |
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
public func toScopedDisposable(disposable: Disposable) -> ScopedDisposable { | |
return ScopedDisposable(disposable) | |
} |
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 Himotoki | |
struct User: Decodable { ... } | |
struct Foo: Decodable { | |
let name: String | |
let users: [User] | |
static func decode(e: Extractor) -> Foo? { | |
let create = { Foo($0) } |