This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# 2012 - Ben Clayton (benvium). Calvium Ltd | |
# Found at https://gist.github.com/2568707 | |
# | |
# This script installs a .mobileprovision file without using Xcode. Unlike Xcode, it'll | |
# work over SSH. | |
# | |
# Requires Mac OS X (I'm using 10.7 and Xcode 4.3.2) | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class ImageViewer : NControlView | |
{ | |
private Image _image; | |
private NGraphics.Point _startPoint; | |
public ImageViewer() | |
{ | |
IsClippedToBounds = true; | |
_image = new Image(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using UIKit; | |
using Xamarin.Forms; | |
using Xamarin.Forms.PlatformConfiguration.iOSSpecific; | |
using Xamarin.Forms.Platform.iOS; | |
using Xamarin.Forms.Internals; | |
using PointF = CoreGraphics.CGPoint; | |
using Page = Xamarin.Forms.Page; | |
using NavigationPage = Xamarin.Forms.NavigationPage; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class LoggerHttpMessageHandler : DelegatingHandler | |
{ | |
public LoggerHttpMessageHandler(HttpMessageHandler innerHandler) | |
: base(innerHandler) | |
{ | |
} | |
protected async override Task<HttpResponseMessage> SendAsync(HttpRequestMessage request, CancellationToken cancellationToken) | |
{ | |
var st = new Stopwatch(); |