Skip to content

Instantly share code, notes, and snippets.

@takuma104
Created February 15, 2009 11:38
Show Gist options
  • Save takuma104/64686 to your computer and use it in GitHub Desktop.
Save takuma104/64686 to your computer and use it in GitHub Desktop.
#import "DummyProtocolHandler.h"
@implementation DummyProtocolHandler
// other
- ruby_method_0 { return nil; }
- ruby_method_1:a1 { return nil; }
- ruby_method_2:a1 :a2 { return nil; }
- ruby_method_3:a1 :a2 :a3 { return nil; }
- ruby_method_4:a1 :a2 :a3 :a4 { return nil; }
- ruby_method_5:a1 :a2 :a3 :a4 :a5 { return nil; }
- ruby_method_6:a1 :a2 :a3 :a4 :a5 :a6 { return nil; }
- ruby_method_7:a1 :a2 :a3 :a4 :a5 :a6 :a7 { return nil; }
- ruby_method_8:a1 :a2 :a3 :a4 :a5 :a6 :a7 :a8 { return nil; }
// Sheet Panel Support
//- (void)sheetPanelDidEnd:(NSWindow *)sheet returnCode:(int)returnCode contextInfo:(void *)contextInfo {}
// as Observer
- (void)receiveNotification: (NSNotification *)notification {}
/// takuma added by hand
// UITableDataSource
- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView { return 0; }
- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section { return 0; }
// UIAlertViewDelegate
- (id)initWithTitle:(NSString *)title delegate:(id<UIActionSheetDelegate>)delegate
cancelButtonTitle:(NSString *)cancelButtonTitle
destructiveButtonTitle:(NSString *)destructiveButtonTitle
otherButtonTitles:(NSString *)otherButtonTitles, ... { return nil; };
- (void)alertView:(UIAlertView *)alertView clickedButtonAtIndex:(NSInteger)buttonIndex {}
- (void)alertView:(UIAlertView *)alertView didDismissWithButtonIndex:(NSInteger)buttonIndex {}
- (void)alertView:(UIAlertView *)alertView willDismissWithButtonIndex:(NSInteger)buttonIndex {}
- (void)alertViewCancel:(UIAlertView *)alertView {}
- (void)didPresentAlertView:(UIAlertView *)alertView {}
- (void)willPresentAlertView:(UIAlertView *)alertView {}
@end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment