summaryrefslogtreecommitdiff
path: root/Juick
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2013-12-17 11:12:14 +0400
committerGravatar Vitaly Takmazov2013-12-17 11:12:14 +0400
commitab41e0a3dad97f7c0960446bb7a7150b4dec862a (patch)
tree057402e865ae142fcd4b13bed736a6ed99910d18 /Juick
parentea49ada0ce84245896f78cfc9026b84df06f707c (diff)
fix layout and version bump
Diffstat (limited to 'Juick')
-rw-r--r--Juick/Juick-Info.plist12
-rw-r--r--Juick/MessagesViewController.m6
2 files changed, 12 insertions, 6 deletions
diff --git a/Juick/Juick-Info.plist b/Juick/Juick-Info.plist
index e6c1615..3776ab8 100644
--- a/Juick/Juick-Info.plist
+++ b/Juick/Juick-Info.plist
@@ -2,14 +2,10 @@
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
- <key>UIPrerenderedIcon</key>
- <true/>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleDisplayName</key>
<string>${PRODUCT_NAME}</string>
- <key>LSApplicationCategoryType</key>
- <string>public.app-category.social-networking</string>
<key>CFBundleExecutable</key>
<string>${EXECUTABLE_NAME}</string>
<key>CFBundleIdentifier</key>
@@ -21,13 +17,17 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
- <string>1.0</string>
+ <string>1.0.1</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
- <string>1.0</string>
+ <string>1.0.1</string>
+ <key>LSApplicationCategoryType</key>
+ <string>public.app-category.social-networking</string>
<key>LSRequiresIPhoneOS</key>
<true/>
+ <key>UIPrerenderedIcon</key>
+ <true/>
<key>UIRequiredDeviceCapabilities</key>
<array>
<string>armv7</string>
diff --git a/Juick/MessagesViewController.m b/Juick/MessagesViewController.m
index 92d4183..4361148 100644
--- a/Juick/MessagesViewController.m
+++ b/Juick/MessagesViewController.m
@@ -147,6 +147,12 @@ static NSString *CellIdentifier = @"MessageCell";
Message *msg = [_messages objectAtIndex:indexPath.row];
[cell bind:msg];
[cell setNeedsUpdateConstraints];
+ [cell updateConstraintsIfNeeded];
+ [cell.contentView setNeedsLayout];
+ [cell.contentView layoutIfNeeded];
+
+ cell.bodyLabel.preferredMaxLayoutWidth = CGRectGetWidth(cell.bodyLabel.frame);
+ [cell.contentView layoutIfNeeded];
return cell;
}