Skip to content

Instantly share code, notes, and snippets.

@Redth
Created April 29, 2014 17:22
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Redth/b72b1e2434a904a041c1 to your computer and use it in GitHub Desktop.
Save Redth/b72b1e2434a904a041c1 to your computer and use it in GitHub Desktop.
using System;
using System.Drawing;
using MonoTouch.ObjCRuntime;
using MonoTouch.Foundation;
using MonoTouch.UIKit;
namespace NUI
{
[BaseType(typeof(NSObject), Name="NUISettings")]
interface NUISettings
{
[Static]
[Export("init")]
void Initialize();
[Static]
[Export("initWithStylesheet:")]
void InitWithStylesheet(string name);
[Static]
[Export("setAutoUpdatePath:")]
void SetAutoUpdatePath(string path);
}
[BaseType(typeof(NSObject), Name="NUIAppearance")]
interface NUIAppearance
{
[Static]
[Export("init")]
void Initialize();
}
[BaseType(typeof(NSObject), Name="NUIRenderer")]
interface NUIRenderer
{
[Static]
[Export("renderButton:")]
void RenderButton(UIButton button);
[Static]
[Export("renderButton:withClass:")]
void RenderButton(UIButton button, string className);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment