mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-24 07:05:35 +00:00
[Examples] Fix extra examples (#2342)
* Fix * Add building extra examples to build.sh * Fix example projects * Fix CarthageBuildTest * Export NSArray+Diffing.h to fix life without cocoapods
This commit is contained in:
committed by
Adlai Holler
parent
04ed52f995
commit
f369be43dd
@@ -77,7 +77,7 @@ static const CGFloat kInnerPadding = 10.0f;
|
||||
// kitten image, with a solid background colour serving as placeholder
|
||||
_imageNode = [[ASNetworkImageNode alloc] init];
|
||||
_imageNode.backgroundColor = ASDisplayNodeDefaultPlaceholderColor();
|
||||
_imageNode.style.size = (ASLayoutableSize){ .width = ASDimensionMake(_kittenSize.width), .height = ASDimensionMake(_kittenSize.height) };
|
||||
_imageNode.style.preferredSize = _kittenSize;
|
||||
[_imageNode addTarget:self action:@selector(imageTapped:) forControlEvents:ASControlNodeEventTouchUpInside];
|
||||
|
||||
CGFloat scale = [UIScreen mainScreen].scale;
|
||||
|
||||
Reference in New Issue
Block a user