Skip to content

Instantly share code, notes, and snippets.

Avatar

Kenny Goers KennyGoers

View GitHub Profile
@KennyGoers
KennyGoers / MenuTint.java
Created Aug 14, 2017 — forked from jaredrummler/MenuTint.java
Helper class to set the color and transparency for menu icons in an ActionBar or Toolbar.
View MenuTint.java
/*
* Copyright (C) 2015. Jared Rummler <jared.rummler@gmail.com>
*
* 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 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)
You can’t perform that action at this time.