mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 06:35:51 +00:00
-[UIView addSubnode:], -[CALayer addSubnode:].
Bring back this convenience API -- it disappeared somewhere along the line while we were building Paper. This is totally trivial, but conveniently won't break if you layer-back a leaf node. Closes #278.
This commit is contained in:
@@ -61,7 +61,7 @@
|
||||
{
|
||||
[super viewDidLoad];
|
||||
|
||||
[self.view addSubview:_imageNode.view];
|
||||
[self.view addSubnode:_imageNode];
|
||||
[self.view addSubview:_textLabel];
|
||||
|
||||
[self start];
|
||||
|
||||
Reference in New Issue
Block a user