Skip to content

Instantly share code, notes, and snippets.

View KennyGoers's full-sized avatar

Kenny Goers KennyGoers

View GitHub Profile
@KennyGoers
KennyGoers / MenuTint.java
Created August 14, 2017 14:50 — forked from jaredrummler/MenuTint.java
Helper class to set the color and transparency for menu icons in an ActionBar or Toolbar.
/*
* Copyright (C) 2015. Jared Rummler <[email protected]>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
@KennyGoers
KennyGoers / RecursiveDescription.cs
Created July 21, 2012 15:14
A VERY useful extension method for MonoTouch to dump a view stack to a log or console, you can supply the UIApplication.SharedApplication.KeyWindow even for a full view dump, this is an undocumented iOS selector, but generally used for debugging anyway.
using System;
using MonoTouch.Foundation;
using MonoTouch.ObjCRuntime;
using MonoTouch.UIKit;
namespace NS {
public static class UIViewExtensions {
// returns the view and all child views with status
public static string RecursiveDescription(this UIView view)