I hereby claim:
- I am scrooks on github.
- I am scrooks (https://keybase.io/scrooks) on keybase.
- I have a public key ASBAgKRlJ_oTEqpvqC4Rx6MjH4hwAz42g8bGc78BqHA5cgo
To claim this, I am signing this object:
Verifying I am +scrooks on my passcard. https://onename.com/scrooks |
I hereby claim:
To claim this, I am signing this object:
/* Found on a page at http://nickharris.wordpress.com/2012/02/05/ios-slide-out-navigation-code/ */ | |
-(void)showSideMenu | |
{ | |
// before swaping the views, we'll take a "screenshot" of the current view | |
// by rendering its CALayer into the an ImageContext then saving that off to a UIImage | |
CGSize viewSize = self.contentViewController.view.bounds.size; | |
UIGraphicsBeginImageContextWithOptions(viewSize, NO, 1.0); | |
[self.contentViewController.view.layer renderInContext:UIGraphicsGetCurrentContext()]; | |