Created
September 28, 2011 04:54
-
-
Save SuperYeti/1247022 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
private static UINavigationController _navigation; | |
private static object navLock = new object(); | |
public static UINavigationController navigation | |
{ | |
get{ | |
if(_navigation == null) | |
lock(navLock) | |
_navigation = new UINavigationController(); | |
return _navigation; | |
} | |
set{ | |
lock(navLock){ | |
_navigation = value; | |
} | |
} | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment