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));
View main.dart
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
import 'package:flutter/material.dart'; | |
void main() { | |
runApp( | |
Container( | |
color: Colors.lightBlue, | |
child: Padding( | |
padding: const EdgeInsets.fromLTRB(0.0, 50.0, 0.0, 0.0), | |
child: Directionality( |
View AutolayoutHelp.MD
View Scene Kit Collada.md
SCNScene scene;
SCNView sceneView;
SCNCamera camera;
SCNNode cameraNode;
public override void ViewDidLoad ()
{
scene = SCNScene.FromFile ("duck", "ColladaModels.scnassets", new SCNSceneLoadingOptions ());
View gist:985273c7db8b33698668
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
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. |
View gist:47ba7b7ca4ce65f36b41
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 System.Drawing; | |
using MonoTouch.Foundation; | |
using MonoTouch.UIKit; | |
namespace CollectionViewWithControllerDemo | |
{ | |
public class Controller : UIViewController | |
{ | |
CVSource source; |
View gist:e34ef9237619c09bcb7a
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 MonoTouch.CoreImage; | |
using MonoTouch.UIKit; | |
namespace CIDetectorsDemo | |
{ | |
public class DetectorController : UIViewController | |
{ | |
UIImageView imageView; |
View gist:b784ab08889d83fb0a43
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
var imageView = new UIImageView (); | |
imageView.Frame = UIScreen.MainScreen.Bounds; | |
imageView.ContentMode = UIViewContentMode.ScaleAspectFit; | |
var qrCode = new CIQRCodeGenerator { | |
Message = NSData.FromString ("test"), | |
CorrectionLevel = "Q" | |
}.OutputImage; | |
UIGraphics.BeginImageContext (new SizeF (qrCode.Extent.Width * 8, qrCode.Extent.Height * 8)); |
View gist:7bb005488a78aac41c60
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
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 |
View EffectsController.cs
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 System.Drawing; | |
using MonoTouch.UIKit; | |
namespace ViewEffectsDemo | |
{ | |
public class EffectsController : UIViewController | |
{ | |
UIImageView imageView; | |
UIScrollView scrollView; |
View FSHelloSceneKitViewController.fs
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
namespace FSHelloSceneKit | |
open System | |
open MonoTouch.UIKit | |
open MonoTouch.Foundation | |
open MonoTouch.SceneKit | |
type FSHelloSceneKitViewController () = | |
inherit UIViewController() | |
NewerOlder