Ohad Navon

Results 5 comments of Ohad Navon

Now the tests fail at runtime

Whenever a module is dependent on a non-mockable class (i.e. another component). On Thu, Jul 20, 2017 at 11:46 PM Fabio Collini wrote: > Could you please provide an example...

see https://stackoverflow.com/questions/20282672/record-save-and-or-convert-video-in-mp4-format

This code solves this: ``` fileprivate func getVideoOrientation() -> AVCaptureVideoOrientation { var videoOrientation: AVCaptureVideoOrientation! if shouldUseDeviceOrientation && deviceOrientation != nil { switch deviceOrientation! { case .landscapeLeft: videoOrientation = .landscapeRight case...

Also.. ``` StringUtil.sol:474:11: Warning: Jump instructions are low-level EVM features that can lead to incorrect stack access. Because of that they are discouraged. Please consider using "switch" or "for" statements...