 //
 
 import UIKit
+import Qiniu
+import RxSwift
 
-class MomentPostViewController: UIViewController, UICollectionViewDataSource, UICollectionViewDelegate, UIImagePickerControllerDelegate, UINavigationControllerDelegate, UITextViewDelegate {
+class MomentPostViewController: UIViewController, UINavigationControllerDelegate {
 
     //MARK: - Properties
     
     @IBOutlet weak var momentContentTextView: UITextView!
     @IBOutlet weak var momentImageCollectionView: UICollectionView!
     
+    
+    let disposeBag = DisposeBag()
+    
     var uploadedImages = [UIImage]()
+    var uploadedImageUrls = [URL]()
+    
+    
     let addButtonImage: UIImage = #imageLiteral(resourceName: "AddImagePlaceholder")
     let momentTextPlaceholder = "说点什么吧"
     

        
        return cell
    }
    
    //MARK: - UIImagePickerControllerDelegate
    func imagePickerControllerDidCancel(_ picker: UIImagePickerController) {
        // Dismiss the picker if the user canceled.
        dismiss(animated: true, completion: nil)

            textView.textColor = UIColor.lightGray
        }
    }
}

