Skip to content

Instantly share code, notes, and snippets.

mikebluestein / main.dart
Created Jun 5, 2018
Flutter article source
View main.dart
import 'package:flutter/material.dart';
void main() {
color: Colors.lightBlue,
child: Padding(
padding: const EdgeInsets.fromLTRB(0.0, 50.0, 0.0, 0.0),
child: Directionality(
View AutolayoutHelp.MD
public static class AutolayoutHelper
	[DllImport (Constants.ObjectiveCLibrary, EntryPoint = "objc_msgSend")]
	static extern IntPtr IntPtr_objc_msgSend (IntPtr receiver, IntPtr selector);

	public static void AutoLayoutTrace ()
		var trace = Runtime.GetNSObject (IntPtr_objc_msgSend (UIApplication.SharedApplication.KeyWindow.Handle, new Selector ("_autolayoutTrace").Handle));
mikebluestein / Scene Kit
Created Jun 12, 2015
simple example showing how to load a Collada file in Scene Kit using Xamarin.iOS
View Scene Kit
SCNScene scene;
SCNView sceneView;
SCNCamera camera;
SCNNode cameraNode;

public override void ViewDidLoad ()
	scene = SCNScene.FromFile ("duck", "ColladaModels.scnassets", new SCNSceneLoadingOptions ());
View gist:985273c7db8b33698668
I'm waiting and I'm waiting for my Apple review.
I'm going to get rejected and so are you.
I'm waiting and I'm waiting for my Apple review.
I have no watch. There's not much I can do.
I'm waiting and I'm waiting for my Apple review.
I may as well have built an app for a kazoo.
mikebluestein / gist:47ba7b7ca4ce65f36b41
Created Jul 28, 2014
UICollectionView using a UIViewController
View gist:47ba7b7ca4ce65f36b41
using System;
using System.Drawing;
using MonoTouch.Foundation;
using MonoTouch.UIKit;
namespace CollectionViewWithControllerDemo
public class Controller : UIViewController
CVSource source;
View gist:e34ef9237619c09bcb7a
using System;
using MonoTouch.CoreImage;
using MonoTouch.UIKit;
namespace CIDetectorsDemo
public class DetectorController : UIViewController
UIImageView imageView;
View gist:b784ab08889d83fb0a43
var imageView = new UIImageView ();
imageView.Frame = UIScreen.MainScreen.Bounds;
imageView.ContentMode = UIViewContentMode.ScaleAspectFit;
var qrCode = new CIQRCodeGenerator {
Message = NSData.FromString ("test"),
CorrectionLevel = "Q"
UIGraphics.BeginImageContext (new SizeF (qrCode.Extent.Width * 8, qrCode.Extent.Height * 8));
View gist:7bb005488a78aac41c60
rollin in C.T. ...VW in gear 3
pickin up the milk, the produce, and some tea
dropin crazy rhymes, while I'm running out of time
got my wife some flowers, forgot the movie, but got Amazon Prime
hey ho
but got Amazon Prime
hey ho
but got Amazon Prime
mikebluestein / EffectsController.cs
Created Jul 8, 2014
iOS 8 Visual Effects using Xamarin
View EffectsController.cs
using System;
using System.Drawing;
using MonoTouch.UIKit;
namespace ViewEffectsDemo
public class EffectsController : UIViewController
UIImageView imageView;
UIScrollView scrollView;
View FSHelloSceneKitViewController.fs
namespace FSHelloSceneKit
open System
open MonoTouch.UIKit
open MonoTouch.Foundation
open MonoTouch.SceneKit
type FSHelloSceneKitViewController () =
inherit UIViewController()