     
 }
 
-class PhotoPickerController: UIViewController {
+public class PhotoPickerController: UIViewController {
 
     @IBOutlet weak var tableView: UITableView!
     /// 完成回调


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

    
    // MARK: - Navigation

    override public func prepare(for segue: UIStoryboardSegue, sender: Any?) {
        super.prepare(for: segue, sender: sender)
        if segue.identifier == "ShowAllPhotos" {
            guard let photoGridController = segue.destination as? PhotoGridController, let cell = sender as? PhotoLibarayCell else {
