session-ios/Session/Signal/ConversationView/Cells/AttachmentUploadView.h

24 lines
555 B
C
Raw Normal View History

//
// Copyright (c) 2019 Open Whisper Systems. All rights reserved.
//
2017-03-15 16:00:32 +01:00
NS_ASSUME_NONNULL_BEGIN
@class TSAttachmentStream;
2017-10-12 22:19:07 +02:00
// This entity is used to display upload progress for outgoing
2017-10-10 22:13:54 +02:00
// attachments in conversation view cells.
//
// During attachment uploads we want to:
//
// * Dim the media view using a mask layer.
// * Show and update a progress bar.
// * Disable any media view controls using a callback.
2017-10-23 23:23:41 +02:00
@interface AttachmentUploadView : UIView
- (instancetype)initWithAttachment:(TSAttachmentStream *)attachment;
@end
2017-03-15 16:00:32 +01:00
NS_ASSUME_NONNULL_END