 import UIKit
 import Photos
 
-class PDImageItem {
+ class PDImageItem {
     var fetchResult:PHFetchResult<PHAsset>
     var title:String?
     

        self.dismiss(animated: true, completion: nil)
    }

    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
        // Dispose of any resources that can be recreated.
    }
    
    override func viewWillAppear(_ animated: Bool) {
        super.viewWillAppear(animated)
        if isFirstload {
            return


//MARK: - PHPhotoLibraryChangeObserver
extension PhotoPickerController: PHPhotoLibraryChangeObserver {
    public func photoLibraryDidChange(_ changeInstance: PHChange) {
        DispatchQueue.global().async {
            var updateSectionFetchResults = self.items
            var reloadRequired = false
