Skip to content

Instantly share code, notes, and snippets.


Kenny Goers KennyGoers

View GitHub Profile
KennyGoers /
Created Aug 14, 2017 — forked from jaredrummler/
Helper class to set the color and transparency for menu icons in an ActionBar or Toolbar.
* Copyright (C) 2015. Jared Rummler <>
* 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
* Unless required by applicable law or agreed to in writing, software
KennyGoers / RecursiveDescription.cs
Created Jul 21, 2012
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.
View RecursiveDescription.cs
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)