Skip to content

Instantly share code, notes, and snippets.

@macmade
Created December 6, 2011 21:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save macmade/1440159 to your computer and use it in GitHub Desktop.
Save macmade/1440159 to your computer and use it in GitHub Desktop.
- ( void )actionSheet: ( UIActionSheet * )actionSheet clickedButtonAtIndex: ( NSInteger )buttonIndex
{
NSLog( @"%i", buttonIndex );
if( buttonIndex == 0 )
{
SettingsView * settings = [ [ SettingsView alloc ] initWithNibName: @"SettingsView" bundle: nil ];
NSLog( @"%@", settings );
NSLog( @"%@", self.navigationController );
[ self.navigationController pushViewController: settings animated: YES ];
[ settings release ];
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment