mirror of https://github.com/oxen-io/session-ios
				
				
				
			
			You cannot select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
	
	
		
			24 lines
		
	
	
		
			816 B
		
	
	
	
		
			Swift
		
	
		
		
			
		
	
	
			24 lines
		
	
	
		
			816 B
		
	
	
	
		
			Swift
		
	
| 
											5 years ago
										 | 
 | ||
|  | final class MessagesTableView : UITableView { | ||
|  |     override init(frame: CGRect, style: UITableView.Style) { | ||
|  |         super.init(frame: frame, style: style) | ||
|  |         initialize() | ||
|  |     } | ||
|  |      | ||
|  |     required init?(coder: NSCoder) { | ||
|  |         super.init(coder: coder) | ||
|  |         initialize() | ||
|  |     } | ||
|  |      | ||
|  |     private func initialize() { | ||
|  |         register(VisibleMessageCell.self, forCellReuseIdentifier: VisibleMessageCell.identifier) | ||
|  |         register(InfoMessageCell.self, forCellReuseIdentifier: InfoMessageCell.identifier) | ||
| 
											5 years ago
										 |         register(TypingIndicatorCell.self, forCellReuseIdentifier: TypingIndicatorCell.identifier) | ||
| 
											5 years ago
										 |         separatorStyle = .none | ||
|  |         backgroundColor = .clear | ||
|  |         showsVerticalScrollIndicator = false | ||
|  |         contentInsetAdjustmentBehavior = .never | ||
|  |         keyboardDismissMode = .interactive | ||
|  |     } | ||
|  | } |