mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
Fix example projects to use Layout API 2.0 style object (#2285)
* fix examples/ASDKLayoutTransition * fix examples/ASMapNode to use new Layout API 2.0 * fix examples/SocialAppLayout to use Layout API 2.0 * fix CatDealsCollectionView to use Layout API 2.0 * fix examples/AsyncDisplayKitOverview to use Layout API 2.0 * Kittens Layout API 2.0 fixes * HorizontalWithinVerticalScrolling * VerticalWithinHorizontalScrolling * ASDKTube * fix ASViewController * fix layout * fix layout * fix size
This commit is contained in:
@@ -53,7 +53,7 @@ static CGFloat kFixedHeight = 200.0f;
|
||||
[spinner startAnimating];
|
||||
return spinner;
|
||||
}];
|
||||
[_loadingSpinner setSizeWithCGSize:CGSizeMake(50, 50)];
|
||||
[_loadingSpinner.style setSizeWithCGSize:CGSizeMake(50, 50)];
|
||||
|
||||
// add it as a subnode, and we're done
|
||||
[self addSubnode:_loadingSpinner];
|
||||
@@ -75,4 +75,4 @@ static CGFloat kFixedHeight = 200.0f;
|
||||
return centerSpec;
|
||||
}
|
||||
|
||||
@end
|
||||
@end
|
||||
|
||||
Reference in New Issue
Block a user