mirror of
https://github.com/danog/Telegram.git
synced 2024-12-02 09:27:55 +01:00
24 lines
363 B
Objective-C
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
|