Al Skipp

Results 44 comments of Al Skipp

Another use for the `Alternative` operator could be for supplying default values to avoid the use of Optionals in models. Here's a quick example: ``` swift struct Player { let...

Hi @mzekrallah, I've just added a feature branch that doesn't subclass UIProgressView (this should fix the resizing issue). https://github.com/alskipp/ASProgressPopUpView/tree/uiview_subclass It is work in progress, but please give it a try....

Hi @mzekrallah, It needs a bit more work to clean the code up, but I think it would make sense to eventually merge the UIView subclass branch into master.

Hi @nihtin9mk, There are certain types of view/layer that can't be automatically recorded - AVCaptureVideoPreviewLayer is one such case. To record these views you need to manually write the pixel...

Hi I'll do my best to point you in the right direction either later today or tomorrow. As you can probably appreciate this open source library doesn't pay the bills...

Whoops. Typing this on phone and accidentally tapped close and comment. Anyway. You need to implement the delegate method, but you then draw the CGImage (which you created in captureOutput:didOutputSampleBuffer…...

Hi, I'm on my way back home now. I'll try and post a few code examples this evening or tomorrow. If you get chance take a look at the documentation...

I'll give a code example of how to turn the pixel data from captureOutput:didOutputSampleBuffer:FromConnection into an image you can use.

OK. Here we go: First your view controller will need to implement `AVCaptureVideoDataOutputSampleBufferDelegate` - declared something like: `@interface CameraViewController : UIViewController ` As you're already previewing the video on screen...

This doesn't do anything too useful yet - but let's see if the `CGImageRef` is successfully created, if so most of the hard work has been achieved, there are just...