Skip to content

Instantly share code, notes, and snippets.

@jakemarsh
Created February 12, 2011 04:12
Show Gist options
  • Save jakemarsh/823497 to your computer and use it in GitHub Desktop.
Save jakemarsh/823497 to your computer and use it in GitHub Desktop.
The simplest thing makes a word of difference
//Author: https://github.com/TouchCode
//Code File: https://github.com/TouchCode/TouchUI/blob/master/Source/Views/CBetterAlertView.m
#import <UIKit/UIKit.h>
@interface CBetterAlertView : UIAlertView {
id userInfo;
}
@property (readwrite, nonatomic, retain) id userInfo;
@end
@implementation CBetterAlertView
@synthesize userInfo;
- (void) dealloc {
self.userInfo = NULL;
[super dealloc];
}
@end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment