summaryrefslogtreecommitdiff
path: root/Juick
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2016-08-14 01:05:08 +0300
committerGravatar Vitaly Takmazov2016-08-14 01:05:08 +0300
commit2b5477f18d855820a9c17993b7c0906321fb3cef (patch)
tree30d5eaf2109bf68a3f8e3a22f1fb422f9603b0f3 /Juick
parent7db95c4a3ace04c871283831e4ca9c2d0fefea72 (diff)
fix compilation
Diffstat (limited to 'Juick')
-rw-r--r--Juick/Images.xcassets/AppIcon.appiconset/Contents.json20
-rw-r--r--Juick/Images.xcassets/Contents.json6
-rw-r--r--Juick/Juick-Info.plist2
-rw-r--r--Juick/MessageCell.m2
4 files changed, 29 insertions, 1 deletions
diff --git a/Juick/Images.xcassets/AppIcon.appiconset/Contents.json b/Juick/Images.xcassets/AppIcon.appiconset/Contents.json
index 985f259..a2c4440 100644
--- a/Juick/Images.xcassets/AppIcon.appiconset/Contents.json
+++ b/Juick/Images.xcassets/AppIcon.appiconset/Contents.json
@@ -13,6 +13,11 @@
"scale" : "2x"
},
{
+ "idiom" : "iphone",
+ "size" : "29x29",
+ "scale" : "3x"
+ },
+ {
"size" : "40x40",
"idiom" : "iphone",
"filename" : "AppIcon40x40@2x-1.png",
@@ -20,6 +25,11 @@
},
{
"idiom" : "iphone",
+ "size" : "40x40",
+ "scale" : "3x"
+ },
+ {
+ "idiom" : "iphone",
"size" : "57x57",
"scale" : "1x"
},
@@ -35,6 +45,11 @@
"scale" : "2x"
},
{
+ "idiom" : "iphone",
+ "size" : "60x60",
+ "scale" : "3x"
+ },
+ {
"size" : "29x29",
"idiom" : "ipad",
"filename" : "AppIcon29x29-1.png",
@@ -89,6 +104,11 @@
"idiom" : "ipad",
"filename" : "AppIcon76x76@2x.png",
"scale" : "2x"
+ },
+ {
+ "idiom" : "ipad",
+ "size" : "83.5x83.5",
+ "scale" : "2x"
}
],
"info" : {
diff --git a/Juick/Images.xcassets/Contents.json b/Juick/Images.xcassets/Contents.json
new file mode 100644
index 0000000..da4a164
--- /dev/null
+++ b/Juick/Images.xcassets/Contents.json
@@ -0,0 +1,6 @@
+{
+ "info" : {
+ "version" : 1,
+ "author" : "xcode"
+ }
+} \ No newline at end of file
diff --git a/Juick/Juick-Info.plist b/Juick/Juick-Info.plist
index b9e59e9..0df6f2a 100644
--- a/Juick/Juick-Info.plist
+++ b/Juick/Juick-Info.plist
@@ -32,6 +32,8 @@
<array>
<string>FontAwesome.ttf</string>
</array>
+ <key>UILaunchStoryboardName</key>
+ <string>Launch Screen</string>
<key>UIPrerenderedIcon</key>
<true/>
<key>UIRequiredDeviceCapabilities</key>
diff --git a/Juick/MessageCell.m b/Juick/MessageCell.m
index d47c3d2..9994e78 100644
--- a/Juick/MessageCell.m
+++ b/Juick/MessageCell.m
@@ -151,7 +151,7 @@
- (void) setMessage:(Message *)msg {
_message = msg;
- [self.avatar setImageWithURL:[NSURL URLWithString:[NSString stringWithFormat:@"http://i.juick.com/as/%d.png", [msg.userID intValue]]] placeholderImage:[UIImage imageNamed:@"0.png"] options:SDWebImageContinueInBackground];
+ [self.avatar setImageWithURL:[NSURL URLWithString:[NSString stringWithFormat:@"https://i.juick.com/a/%d.png", [msg.userID intValue]]] placeholderImage:[UIImage imageNamed:@"0.png"] options:SDWebImageContinueInBackground];
self.titleLabel.text = msg.user;
NSDateFormatter *formatter = [[NSDateFormatter alloc] init];
formatter.dateFormat = @"yyyy-MM-dd HH:mm:ss";