Browse files

Fix warnings

  • Loading branch information...
1 parent 99bb186 commit 688c51698db6c223102a3e624542a255c6a6521a @lludo lludo committed Apr 16, 2013
View
2 quickdialog/QMultilineTextViewController.m
@@ -86,7 +86,7 @@ - (void) resizeForKeyboard:(NSNotification*)aNotification {
_keyboardVisible = up;
NSDictionary* userInfo = [aNotification userInfo];
NSTimeInterval animationDuration;
- UIViewAnimationCurve animationCurve;
+ UIViewAnimationOptions animationCurve;
CGRect keyboardEndFrame;
[[userInfo objectForKey:UIKeyboardAnimationCurveUserInfoKey] getValue:&animationCurve];
[[userInfo objectForKey:UIKeyboardAnimationDurationUserInfoKey] getValue:&animationDuration];
View
2 quickdialog/QTextElement.m
@@ -56,7 +56,7 @@ - (UITableViewCell *)getCellForTableView:(QuickDialogTableView *)tableView contr
- (CGFloat)getRowHeightForTableView:(QuickDialogTableView *)tableView {
- if (_text==nil || _text == @""){
+ if (_text==nil || [_text isEqual: @""]){
return [super getRowHeightForTableView:tableView];
}
CGSize constraint = CGSizeMake(tableView.frame.size.width-(tableView.root.grouped ? 40.f : 20.f), 20000);
View
2 quickdialog/QuickDialogController.m
@@ -169,7 +169,7 @@ - (void)resizeForKeyboard:(NSNotification*)aNotification {
_keyboardVisible = up;
NSDictionary* userInfo = [aNotification userInfo];
NSTimeInterval animationDuration;
- UIViewAnimationCurve animationCurve;
+ UIViewAnimationOptions animationCurve;
CGRect keyboardEndFrame;
[[userInfo objectForKey:UIKeyboardAnimationCurveUserInfoKey] getValue:&animationCurve];
[[userInfo objectForKey:UIKeyboardAnimationDurationUserInfoKey] getValue:&animationDuration];

0 comments on commit 688c516

Please sign in to comment.