From 2b5477f18d855820a9c17993b7c0906321fb3cef Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Sun, 14 Aug 2016 01:05:08 +0300 Subject: fix compilation --- .../Images.xcassets/AppIcon.appiconset/Contents.json | 20 ++++++++++++++++++++ Juick/Images.xcassets/Contents.json | 6 ++++++ Juick/Juick-Info.plist | 2 ++ Juick/MessageCell.m | 2 +- 4 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 Juick/Images.xcassets/Contents.json (limited to 'Juick') 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 @@ -12,12 +12,22 @@ "filename" : "AppIcon29x29@2x.png", "scale" : "2x" }, + { + "idiom" : "iphone", + "size" : "29x29", + "scale" : "3x" + }, { "size" : "40x40", "idiom" : "iphone", "filename" : "AppIcon40x40@2x-1.png", "scale" : "2x" }, + { + "idiom" : "iphone", + "size" : "40x40", + "scale" : "3x" + }, { "idiom" : "iphone", "size" : "57x57", @@ -34,6 +44,11 @@ "filename" : "AppIcon60x60@2x.png", "scale" : "2x" }, + { + "idiom" : "iphone", + "size" : "60x60", + "scale" : "3x" + }, { "size" : "29x29", "idiom" : "ipad", @@ -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 @@ FontAwesome.ttf + UILaunchStoryboardName + Launch Screen UIPrerenderedIcon UIRequiredDeviceCapabilities 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"; -- cgit v1.2.3