         
         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 printList() {
        
        
        print("------------------------")
        
        var text = ""
        var index = 0
        for temp in self.views {

    
    func reloadData(){
        
        let imageW = (image?.size.width)!/CGFloat(self.numberOfRows) * (image?.scale)!
        let imageH = (image?.size.height)!/CGFloat(self.numberOfRows) * (image?.scale)!

        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)
        }
    }
    
