1
0
mirror of https://github.com/danog/Telegram.git synced 2024-12-02 09:27:55 +01:00
Telegram/Telegraph/TGModernTemporaryView.m
2015-10-01 19:19:52 +03:00

24 lines
363 B
Objective-C

#import "TGModernTemporaryView.h"
#import "TGModernConversationItem.h"
#import "TGModernViewModel.h"
@implementation TGModernTemporaryView
- (void)unbindItems
{
for (TGModernConversationItem *item in _boundItems)
{
[item.viewModel unbindView:_viewStorage];
}
_boundItems = nil;
}
- (void)dealloc
{
[self unbindItems];
}
@end