Josh Bernfeld

Results 9 issues of Josh Bernfeld

I was experiencing an issue on iOS 11 where there was a gap above the scroll view before the navigation bar. The solution for me was the following code. It...

Old output: ![IMG_1CB44FC0F32F-1](https://user-images.githubusercontent.com/4284531/88001785-d3d40400-cab5-11ea-9083-548a6d15c692.jpeg) New output: ![image_final 3](https://user-images.githubusercontent.com/4284531/88001842-f239ff80-cab5-11ea-9c09-48f93e63a2bb.JPG)

Old output: ![image_final 2](https://user-images.githubusercontent.com/4284531/87748969-36728a80-c7ac-11ea-87f5-f0f793abb4d0.JPG) New output: ![image_final](https://user-images.githubusercontent.com/4284531/87748977-3a061180-c7ac-11ea-9558-7328eb40cc55.JPG)

Use [buffer size](https://developer.apple.com/documentation/metal/mtlargument/1461986-bufferdatasize) and [offsets](https://developer.apple.com/documentation/metal/mtlstructmember/1461970-offset) directly from MTLAutoreleasedRenderPipelineReflection instead of manually calculating

NOTE: If you are looking to use this I wrote [Pixel SDK](https://github.com/GottaYotta/PixelSDK) which includes GPUImage and this pull request via CocoaPods. Otherwise, this pull request should be used with pr...

- Added remove(target:) support. - Fixed transmitPreviousImage() being called on main thread via addTarget(). This would cause seemingly random exc_bad_access crashes from random opengl functions. > Two tasks that access...

- Added ignoreAspectRatio support. - Added anchorTopLeft support.

This problem is caused because the scale is not always a whole number in the croppedImage function. When the rect is scaled up, non full pixels are often created. When...