Permalink
Browse files

No commit message

  • Loading branch information...
1 parent 322a85c commit dff98877ec1991d69809aeb2b67bc8a1e955fc30 @bearkode bearkode committed Jul 24, 2009
Showing with 18 additions and 5 deletions.
  1. +1 −1 Additions/NSString+MEAdditions.m
  2. +17 −4 Classes/MEWriteViewController.m
View
2 Additions/NSString+MEAdditions.m
@@ -11,7 +11,7 @@
#import "NSString+MEAdditions.h"
-@implementation NSString (Additions)
+@implementation NSString (MEAdditions)
- (NSString *)md5String
View
21 Classes/MEWriteViewController.m
@@ -61,7 +61,11 @@ - (void)checkDraft
{
UIAlertView *sAlertView;
- sAlertView = [[UIAlertView alloc] initWithTitle:nil message:NSLocalizedString(@"Load Draft?", @"") delegate:self cancelButtonTitle:NSLocalizedString(@"No", @"") otherButtonTitles:NSLocalizedString(@"Yes", @""), nil];
+ sAlertView = [[UIAlertView alloc] initWithTitle:nil
+ message:NSLocalizedString(@"Load Draft?", @"")
+ delegate:self
+ cancelButtonTitle:NSLocalizedString(@"No", @"")
+ otherButtonTitles:NSLocalizedString(@"Yes", @""), nil];
[sAlertView show];
[sAlertView release];
@@ -437,7 +441,9 @@ + (void)initialize
{
if (!gActions)
{
- gActions = [[NSDictionary alloc] initWithObjectsAndKeys:@"resizeImageToMidSize", NSLocalizedString(@"Mid Size", nil), @"resizeImageToLargeSize", NSLocalizedString(@"Big Size", nil), @"resizeImageToOriginalSize", NSLocalizedString(@"Original Size", nil), nil];
+ gActions = [[NSDictionary alloc] initWithObjectsAndKeys:@"resizeImageToMidSize", NSLocalizedString(@"Mid Size", nil),
+ @"resizeImageToLargeSize", NSLocalizedString(@"Big Size", nil),
+ @"resizeImageToOriginalSize", NSLocalizedString(@"Original Size", nil), nil];
}
}
@@ -475,7 +481,10 @@ - (id)initWithPingbackLink:(NSString *)aPermLink
{
mText = [[NSString alloc] initWithFormat:@"\"\":%@ ", aPermLink];
- [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(keyboardDidShow:) name:UIKeyboardDidShowNotification object:nil];
+ [[NSNotificationCenter defaultCenter] addObserver:self
+ selector:@selector(keyboardDidShow:)
+ name:UIKeyboardDidShowNotification
+ object:nil];
}
return self;
@@ -636,7 +645,11 @@ - (IBAction)upload
[self setInterfaceEnabled:NO];
[self savePostAsDraft];
- [[MEClientStore currentClient] createPostWithBody:sBody tags:sTags icon:mSelectedIconIndex attachedImage:mResizedImage delegate:self];
+ [[MEClientStore currentClient] createPostWithBody:sBody
+ tags:sTags
+ icon:mSelectedIconIndex
+ attachedImage:mResizedImage
+ delegate:self];
}
}
}

0 comments on commit dff9887

Please sign in to comment.