Add Change log

This commit is contained in:
Zhigang Fang
2018-04-25 23:35:17 +08:00
parent a0fe5f9628
commit faab1535cd
4 changed files with 10 additions and 8 deletions

View File

@@ -1,3 +1,10 @@
### 3.0.0
* Add ability to watch for hardware button press
* Split image capture into prepare and capture
P.S. it's break the API cause you need have to call prepare before capture
### 0.1.9
* Add fileURL field in `getMetadata`

View File

@@ -20,8 +20,7 @@ class ViewController: UIViewController {
// Do any additional setup after loading the view, typically from a nib.
waitForHardwareButtonCapture()
testPreview()
}
func testPreview() {

View File

@@ -1,7 +1,7 @@
Pod::Spec.new do |s|
s.name = "OSC"
s.version = "2.0.0"
s.version = "3.0.0"
s.summary = "Richo OSCKit"
s.description = "Richo OSCKit with Promise"
s.homepage = "https://theta360.com/"

View File

@@ -68,11 +68,7 @@ extension OSCKit {
return try await(recursion(currentURL: newFile))
}
}
do {
return (recursion(currentURL: try await(self.latestFile)), {stop = true})
} catch {
return (Promise(error: error), {})
}
return (self.latestFile.then({recursion(currentURL: $0)}), {stop = true})
}
}