         
         let nextGrid = self.randomGridNearbyPlaceholder(placeholder)
         
-        
         self.moveGrid(from: nextGrid, to: placeholder, durationPerStep: 0.25, completion: { () -> Void in
             self.swapNum = self.swapNum - 1
             self.atomaticMove(self.swapNum)

    
    func reloadData(){
        
        /// 所有格子重置到原来位置
//        let w = self.bounds.width/CGFloat(self.numberOfRows)
//        let h = self.bounds.height/CGFloat(self.numberOfRows)
        
        let imageW = (image?.size.width)!/CGFloat(self.numberOfRows) * (image?.scale)!
        let imageH = (image?.size.height)!/CGFloat(self.numberOfRows) * (image?.scale)!
        
//        let images:NSMutableArray! = NSMutableArray()
        
        for temp in self.views {
            
            let item = temp as! JKGridInfo
            
            let x = (item.imageView?.tag)! % self.numberOfRows
            let y = (item.imageView?.tag)! / self.numberOfRows
            let rect = CGRectMake(CGFloat(x)*imageW, CGFloat(y)*imageH, CGFloat(imageW), CGFloat(imageH))
            let tempImage = UIImage.clipImage(self.image!, withRect: rect)
            
            item.imageView!.image = tempImage
            item.sort = self.views.indexOfObject(temp)
            
        }
    }
    

            if (index + 1) % self.numberOfRows == 0 {
                text += "\n"
            }
            index++
        }
        print(text)
    }
}

