mirror of
https://github.com/tappollo/OSCKit.git
synced 2026-01-13 07:40:50 +08:00
Add Change log
This commit is contained in:
@@ -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`
|
||||
|
||||
@@ -20,8 +20,7 @@ class ViewController: UIViewController {
|
||||
// Do any additional setup after loading the view, typically from a nib.
|
||||
|
||||
waitForHardwareButtonCapture()
|
||||
|
||||
|
||||
testPreview()
|
||||
}
|
||||
|
||||
func testPreview() {
|
||||
|
||||
@@ -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/"
|
||||
|
||||
@@ -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})
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user