Skip to content

Instantly share code, notes, and snippets.

View ivanherreragl's full-sized avatar

ivanherreragl

View GitHub Profile
func imagePickerController(_ picker: UIImagePickerController, didFinishPickingMediaWithInfo info: [String : Any]) {
picker.dismiss(animated: true)
classificationLabel.text = "Analyzing Image…"
correctedImageView.image = nil
guard let uiImage = info[UIImagePickerControllerOriginalImage] as? UIImage
else { fatalError("no image from image picker") }
guard let ciImage = CIImage(image: uiImage)
else { fatalError("can't create CIImage from UIImage") }
let orientation = CGImagePropertyOrientation(uiImage.imageOrientation)
=== Visual Studio Community 2017 for Mac (Preview) ===
Version 7.1 Preview (7.1 build 1277)
Installation UUID: 28f14125-4a88-429a-9180-00d468d8ba35
Runtime:
Mono 5.2.0.209 (2017-04/3d531ba) (64-bit)
GTK+ 2.24.23 (Raleigh theme)
Package version: 502000209
Compiling binding code...
xcode-select -p
xcrun clang -g -O0 -fobjc-arc -ObjC -Wall -arch armv7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk -miphoneos-version-min=8.0 -I/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/SDKs/MonoTouch.iphoneos.sdk/usr/include -DXAMARIN_IOS -DMONO_EMBEDDINATOR_DLL_EXPORT -c output/glib.c -o output/armv7/glib.o
xcrun clang -g -O0 -fobjc-arc -ObjC -Wall -arch armv7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk -miphoneos-version-min=8.0 -I/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/SDKs/MonoTouch.iphoneos.sdk/usr/include -DXAMARIN_IOS -DMONO_EMBEDDINATOR_DLL_EXPORT -c output/mono_embeddinator.c -o output/armv7/mono_embeddinator.o
In file included from output/mono_embeddinator.c:29:
In file included from output/mono_embeddinator.h:32:
In file included from output/mono-support.h:27:
In file included from /Library/Frameworks/X
=== Xamarin Studio Community ===
Version 6.2 (build 1821)
Installation UUID: f66dbb8a-3a63-4bd1-8b22-444e4cf98a21
Runtime:
Mono 4.8.0 (mono-4.8.0-branch/e4a3cf3) (64-bit)
GTK+ 2.24.23 (Raleigh theme)
Package version: 408000495
<packages>
<package id="CocosSharp" version="1.7.1.0" targetFramework="portable-net45+win+wpa81+MonoTouch10+MonoAndroid10+xamarinmac20+xamarinios10" />
<package id="CocosSharp.Forms" version="1.7.1.0" targetFramework="portable-net45+win+wpa81+MonoTouch10+MonoAndroid10+xamarinmac20+xamarinios10" />
<package id="Xamarin.Forms" version="2.3.2.127" targetFramework="portable45-net45+win8+wpa81" />
</packages>