|
@@ -11,8 +11,6 @@ import Lottie
|
|
|
|
|
|
class MessageMainViewController: BaseViewController {
|
|
|
|
|
|
- let animationView = AnimationView()
|
|
|
-
|
|
|
deinit {
|
|
|
if observe != nil {
|
|
|
NotificationCenter.default.removeObserver(observe!)
|
|
@@ -26,14 +24,6 @@ class MessageMainViewController: BaseViewController {
|
|
|
super.viewDidLoad()
|
|
|
setupViews()
|
|
|
setupData()
|
|
|
- animationView.frame = CGRect(x: 100, y: 100, width: 24, height: 24)
|
|
|
-
|
|
|
- let animation = Animation.named("communityModuleTabbar")
|
|
|
- animationView.animation = animation
|
|
|
- animationView.contentMode = .scaleAspectFit
|
|
|
- view.addSubview(animationView)
|
|
|
- animationView.loopMode = .loop
|
|
|
- animationView.play()
|
|
|
}
|
|
|
|
|
|
override func setupViews() {
|