Skip to content

Commit

Permalink
Forgot to make the dang initializers public! hahaha
Browse files Browse the repository at this point in the history
  • Loading branch information
jakeHawkenGeocaching committed Oct 23, 2017
1 parent 31d34e8 commit 0e826cf
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Concurrency.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'Concurrency'
s.version = '1.0.1'
s.version = '1.0.2'
s.summary = 'A small toolkit for handling concurrency in Swift.'

s.description = <<-DESC
Expand Down
2 changes: 1 addition & 1 deletion Concurrency/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>1.0.1</string>
<string>1.0.2</string>
<key>CFBundleVersion</key>
<string>1</string>
<key>LSRequiresIPhoneOS</key>
Expand Down
2 changes: 1 addition & 1 deletion Source/PeriodicFetcher.swift
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public class PeriodicFetcher<T:Equatable> {

//MARK: initialization

init(futureGenerator: @escaping FutureGenerator,
public init(futureGenerator: @escaping FutureGenerator,
timeInterval: @escaping TimeIntervalGenerator) {
self.getFuture = futureGenerator
self.getTimeInterval = timeInterval
Expand Down
2 changes: 2 additions & 0 deletions Source/Promise.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ import Foundation
public class Promise<T> {

let future = Future<T>()

public init() {}

func resolve(_ val: T) {
future.resolve(val)
Expand Down

0 comments on commit 0e826cf

Please sign in to comment.