JubeatPlus 3.9.11
Loading...
Searching...
No Matches
MessageTextView.h
Go to the documentation of this file.
1
16
17#import <UIKit/UIKit.h>
18
20
21NS_ASSUME_NONNULL_BEGIN
22
29@protocol MessageTextViewDelegate <NSObject>
30@optional
35- (void)closeMessage:(nullable id)sender;
41- (void)messageDownloadError:(nullable id)sender msgStr:(nullable NSString *)msgStr;
42@end
43
48@interface MessageTextView : UIView
49
55+ (Class)layerClass;
56
70- (instancetype)init:(nullable id<MessageTextViewDelegate>)delegate
71 title:(nullable NSString *)title
72 url:(nullable NSURL *)url
73 send:(nullable NSDictionary *)send;
74
86- (instancetype)init:(nullable id<MessageTextViewDelegate>)delegate
87 title:(nullable NSString *)title
88 message:(nullable id)message;
89
95- (void)sendErrorDelegate:(nullable NSString *)msgStr;
96
107- (void)downloaderFinished:(nullable id)downloader;
108
114- (void)downloaderError:(nullable id)downloader;
115
121- (void)downloaderProceed:(nullable id)downloader;
122
128- (void)displayMessage:(nullable id)message;
129
136- (void)createMessageBoard:(nullable id)message;
137
143- (void)pushAgree:(nullable id)sender;
144
145@end
146
147NS_ASSUME_NONNULL_END
148
149// code: language=Objective-C
150// kate: hl Objective-C;
151// vim: set ft=objc :
A rounded, gradient-filled board that shows a title, a scrollable message body, and an Agree button,...
Definition MessageTextView.h:49
Class layerClass()
The backing layer class, a CAGradientLayer so the board can host its paper gradient.
Definition MessageTextView.m:77
A Downloader whose every request is session-signed and retried on a stale session.
Definition SessionDownloader.h:28