[
  {
    "path": "DragDropCollectionView.swift",
    "content": "//\n//  DragDropCollectionView.swift\n//  DragDrop\n//\n//  Created by Lior Neu-ner on 2014/12/30.\n//  Copyright (c) 2014 LiorN. All rights reserved.\n// 3rd test for git submodule\n\n//Just testing git subtree for the second time\nimport UIKit\n\n@objc protocol DrapDropCollectionViewDelegate {\n    func dragDropCollectionViewDidMoveCellFromInitialIndexPath(_ initialIndexPath: IndexPath, toNewIndexPath newIndexPath: IndexPath)\n    @objc optional func dragDropCollectionViewDraggingDidBeginWithCellAtIndexPath(_ indexPath: IndexPath)\n    @objc optional func dragDropCollectionViewDraggingDidEndForCellAtIndexPath(_ indexPath: IndexPath)\n}\n\nclass DragDropCollectionView: UICollectionView, UIGestureRecognizerDelegate {\n    weak var draggingDelegate: DrapDropCollectionViewDelegate?\n    \n    var longPressRecognizer: UILongPressGestureRecognizer = {\n        let longPressRecognizer = UILongPressGestureRecognizer()\n        longPressRecognizer.delaysTouchesBegan = false\n        longPressRecognizer.cancelsTouchesInView = false\n        longPressRecognizer.numberOfTouchesRequired = 1\n        longPressRecognizer.minimumPressDuration = 0.1\n        longPressRecognizer.allowableMovement = 10.0\n        return longPressRecognizer\n    }()\n    \n    fileprivate var draggedCellIndexPath: IndexPath?\n    var draggingView: UIView?\n    fileprivate var touchOffsetFromCenterOfCell: CGPoint?\n    var isWiggling = false\n    fileprivate let pingInterval = 0.3\n    var isAutoScrolling = false\n    \n    override var intrinsicContentSize: CGSize {\n        self.layoutIfNeeded()\n        return CGSize(width: UIView.noIntrinsicMetric, height: self.contentSize.height)\n    }\n    \n    required init?(coder aDecoder: NSCoder) {\n        super.init(coder: aDecoder)\n        commonInit()\n    }\n    \n    override init(frame: CGRect, collectionViewLayout layout: UICollectionViewLayout) {\n        super.init(frame: frame, collectionViewLayout: layout)\n        commonInit()\n    }\n    \n    fileprivate func commonInit() {\n        longPressRecognizer.addTarget(self, action: #selector(DragDropCollectionView.handleLongPress(_:)))\n        longPressRecognizer.isEnabled = false\n        self.addGestureRecognizer(longPressRecognizer)\n        \n    }\n    \n    override func reloadData() {\n        super.reloadData()\n        self.invalidateIntrinsicContentSize()\n    }\n    \n    @objc func handleLongPress(_ longPressRecognizer: UILongPressGestureRecognizer) {\n        let touchLocation = longPressRecognizer.location(in: self)\n        \n        switch (longPressRecognizer.state) {\n        case UIGestureRecognizerState.began:\n            draggedCellIndexPath = self.indexPathForItem(at: touchLocation)\n            if (draggedCellIndexPath != nil) {\n                draggingDelegate?.dragDropCollectionViewDraggingDidBeginWithCellAtIndexPath?(draggedCellIndexPath!)\n                let draggedCell = self.cellForItem(at: draggedCellIndexPath! as IndexPath) as UICollectionViewCell?\n                draggingView = UIImageView(image: getRasterizedImageCopyOfCell(draggedCell!))\n                draggingView!.center = (draggedCell!.center)\n                self.addSubview(draggingView!)\n                draggedCell!.alpha = 0.0\n                touchOffsetFromCenterOfCell = CGPoint(x: draggedCell!.center.x - touchLocation.x, y: draggedCell!.center.y - touchLocation.y)\n                UIView.animate(withDuration: 0.4, animations: { () -> Void in\n                    self.draggingView!.transform = CGAffineTransform(scaleX: 1.3, y: 1.3)\n                    self.draggingView!.alpha = 0.8\n                })\n            }\n            \n        case UIGestureRecognizerState.changed:\n            if draggedCellIndexPath != nil {\n                draggingView!.center = CGPoint(x: touchLocation.x + touchOffsetFromCenterOfCell!.x, y: touchLocation.y + touchOffsetFromCenterOfCell!.y)\n\n                if !isAutoScrolling {\n\n                    dispatchOnMainQueueAfter(pingInterval, closure: { () -> () in\n                        let scroller = self.shouldAutoScroll(touchLocation)\n                        if  (scroller.shouldScroll) {\n                            self.autoScroll(scroller.direction)\n                            self.isAutoScrolling = true\n                        }\n                    })\n                }\n                \n                dispatchOnMainQueueAfter(pingInterval, closure: { () -> () in\n                    let shouldSwapCellsTuple = self.shouldSwapCells(touchLocation)\n                    if shouldSwapCellsTuple.shouldSwap {\n                        self.swapDraggedCellWithCellAtIndexPath(shouldSwapCellsTuple.newIndexPath!)\n                    }\n                })\n            }\n        case UIGestureRecognizerState.ended:\n            if draggedCellIndexPath != nil {\n                draggingDelegate?.dragDropCollectionViewDraggingDidEndForCellAtIndexPath?(draggedCellIndexPath!)\n                let draggedCell = self.cellForItem(at: draggedCellIndexPath! as IndexPath)\n                UIView.animate(withDuration: 0.4, animations: { () -> Void in\n                    self.draggingView!.transform = CGAffineTransform.identity\n                    self.draggingView!.alpha = 1.0\n                    if (draggedCell != nil) {\n                        self.draggingView!.center = draggedCell!.center\n                    }\n                }, completion: { (finished) -> Void in\n                    self.draggingView!.removeFromSuperview()\n                    self.draggingView = nil\n                    draggedCell?.alpha = 1.0\n                    self.draggedCellIndexPath = nil\n                })\n            }\n        default: ()\n        }\n    }\n    \n    \n    func enableDragging(_ enable: Bool) {\n        if enable {\n            longPressRecognizer.isEnabled = true\n        } else {\n            longPressRecognizer.isEnabled = false\n        }\n    }\n    \n    fileprivate func shouldSwapCells(_ previousTouchLocation: CGPoint) -> (shouldSwap: Bool, newIndexPath: IndexPath?) {\n        var shouldSwap = false\n        var newIndexPath: IndexPath?\n        let currentTouchLocation = self.longPressRecognizer.location(in: self)\n        if !Double(currentTouchLocation.x).isNaN && !Double(currentTouchLocation.y).isNaN {\n            if distanceBetweenPoints(previousTouchLocation, secondPoint: currentTouchLocation) < CGFloat(20.0) {\n                if let newIndexPathForCell = self.indexPathForItem(at: currentTouchLocation) {\n                    if newIndexPathForCell != self.draggedCellIndexPath! as IndexPath {\n                        shouldSwap = true\n                        newIndexPath = newIndexPathForCell \n                    }\n                }\n            }\n        }\n        return (shouldSwap, newIndexPath)\n    }\n    \n    fileprivate func swapDraggedCellWithCellAtIndexPath(_ newIndexPath: IndexPath) {\n        self.moveItem(at: self.draggedCellIndexPath! as IndexPath, to: newIndexPath as IndexPath)\n        let draggedCell = self.cellForItem(at: newIndexPath as IndexPath)!\n        draggedCell.alpha = 0\n        self.draggingDelegate?.dragDropCollectionViewDidMoveCellFromInitialIndexPath(self.draggedCellIndexPath!, toNewIndexPath: newIndexPath)\n        self.draggedCellIndexPath = newIndexPath\n    }\n    \n\n}\n\n//AutoScroll\nextension DragDropCollectionView {\n    enum AutoScrollDirection: Int {\n        case invalid = 0\n        case towardsOrigin = 1\n        case awayFromOrigin = 2\n    }\n    \n    func autoScroll(_ direction: AutoScrollDirection) {\n        let currentLongPressTouchLocation = self.longPressRecognizer.location(in: self)\n        var increment: CGFloat\n        var newContentOffset: CGPoint\n        if (direction == AutoScrollDirection.towardsOrigin) {\n            increment = -50.0\n        } else {\n            increment = 50.0\n        }\n        newContentOffset = CGPoint(x: self.contentOffset.x, y: self.contentOffset.y + increment)\n        let flowLayout = self.collectionViewLayout as! UICollectionViewFlowLayout\n        if flowLayout.scrollDirection == UICollectionView.ScrollDirection.horizontal{\n            newContentOffset = CGPoint(x: self.contentOffset.x + increment, y: self.contentOffset.y)\n        }\n        if ((direction == AutoScrollDirection.towardsOrigin && newContentOffset.y < 0) || (direction == AutoScrollDirection.awayFromOrigin && newContentOffset.y > self.contentSize.height - self.frame.height)) {\n            dispatchOnMainQueueAfter(0.3, closure: { () -> () in\n                self.isAutoScrolling = false\n            })\n        } else {\n            UIView.animate(withDuration: 0.3\n                , delay: 0.0\n                , options: UIView.AnimationOptions.curveLinear\n                , animations: { () -> Void in\n                    self.setContentOffset(newContentOffset, animated: false)\n                    if (self.draggingView != nil) {\n                        if flowLayout.scrollDirection == UICollectionView.ScrollDirection.vertical{\n                            var draggingFrame = self.draggingView!.frame\n                            draggingFrame.origin.y += increment\n                            self.draggingView!.frame = draggingFrame\n                        }else{\n                            var draggingFrame = self.draggingView!.frame\n                            draggingFrame.origin.x += increment\n                            self.draggingView!.frame = draggingFrame\n                        }\n                    }\n                }) { (finished) -> Void in\n                    dispatchOnMainQueueAfter(0.0, closure: { () -> () in\n                        var updatedTouchLocationWithNewOffset = CGPoint(x: currentLongPressTouchLocation.x, y: currentLongPressTouchLocation.y + increment)\n                        if flowLayout.scrollDirection == UICollectionView.ScrollDirection.horizontal{\n                            updatedTouchLocationWithNewOffset = CGPoint(x: currentLongPressTouchLocation.x + increment, y: currentLongPressTouchLocation.y)\n                        }\n                        let scroller = self.shouldAutoScroll(updatedTouchLocationWithNewOffset)\n                        if scroller.shouldScroll {\n                            self.autoScroll(scroller.direction)\n                        } else {\n                            self.isAutoScrolling = false\n                        }\n                    })\n            }\n        }\n    }\n    \n    func shouldAutoScroll(_ previousTouchLocation: CGPoint) -> (shouldScroll: Bool, direction: AutoScrollDirection) {\n        let previousTouchLocation = self.convert(previousTouchLocation, to: self.superview)\n        let currentTouchLocation = self.longPressRecognizer.location(in: self.superview)\n\n        if let flowLayout = self.collectionViewLayout as? UICollectionViewFlowLayout {\n            if !Double(currentTouchLocation.x).isNaN && !Double(currentTouchLocation.y).isNaN {\n                if distanceBetweenPoints(previousTouchLocation, secondPoint: currentTouchLocation) < CGFloat(20.0) {\n                    let scrollDirection = flowLayout.scrollDirection\n                    var scrollBoundsSize: CGSize\n                    let scrollBoundsLength: CGFloat = 50.0\n                    var scrollRectAtEnd: CGRect\n                    switch scrollDirection {\n                    case UICollectionViewScrollDirection.horizontal:\n                        scrollBoundsSize = CGSize(width: scrollBoundsLength, height: self.frame.height)\n                        scrollRectAtEnd = CGRect(x: self.frame.origin.x + self.frame.width - scrollBoundsSize.width , y: self.frame.origin.y, width: scrollBoundsSize.width, height: self.frame.height)\n                    case UICollectionViewScrollDirection.vertical:\n                        scrollBoundsSize = CGSize(width: self.frame.width, height: scrollBoundsLength)\n                        scrollRectAtEnd = CGRect(x: self.frame.origin.x, y: self.frame.origin.y + self.frame.height - scrollBoundsSize.height, width: self.frame.width, height: scrollBoundsSize.height)\n                    }\n                    let scrollRectAtOrigin = CGRect(origin: self.frame.origin, size: scrollBoundsSize)\n                    if scrollRectAtOrigin.contains(currentTouchLocation) {\n                        return (true, AutoScrollDirection.towardsOrigin)\n                    } else if scrollRectAtEnd.contains(currentTouchLocation) {\n                        return (true, AutoScrollDirection.awayFromOrigin)\n                    }\n                }\n            }\n        }\n        return (false, AutoScrollDirection.invalid)\n    }\n}\n\n//Wiggle Animation\nextension DragDropCollectionView {\n    func startWiggle() {\n        \n        for cell in visibleCells {\n            addWiggleAnimationTo(cell )\n        }\n        isWiggling = true\n    }\n    \n    func stopWiggle() {\n        for cell in visibleCells {\n            cell.layer.removeAllAnimations()\n        }\n        isWiggling = false\n    }\n    \n    override func dequeueReusableCell(withReuseIdentifier identifier: String, for indexPath: IndexPath) -> UICollectionViewCell {\n        let cell: AnyObject = super.dequeueReusableCell(withReuseIdentifier: identifier, for: indexPath as IndexPath)\n        if isWiggling {\n            addWiggleAnimationTo(cell as! UICollectionViewCell)\n        } else {\n            cell.layer.removeAllAnimations()\n        }\n        return cell as! UICollectionViewCell\n    }\n    \n    func addWiggleAnimationTo(_ cell: UICollectionViewCell) {\n        CATransaction.begin()\n        CATransaction.setDisableActions(false)\n        cell.layer.add(rotationAnimation(), forKey: \"rotation\")\n        \n        cell.layer.add(bounceAnimation(), forKey: \"bounce\")\n        \n        CATransaction.commit()\n        \n    }\n    \n    fileprivate func rotationAnimation() -> CAKeyframeAnimation {\n        \n        let animation = CAKeyframeAnimation(keyPath: \"transform.rotation.z\")\n        let angle = CGFloat(0.04)\n        let duration = TimeInterval(0.1)\n        let variance = Double(0.025)\n        animation.values = [angle, -angle]\n        animation.autoreverses = true\n        animation.duration = self.randomize(duration, withVariance: variance)\n        animation.repeatCount = Float.infinity\n        return animation\n        \n    }\n    \n    fileprivate func bounceAnimation() -> CAKeyframeAnimation {\n        let animation = CAKeyframeAnimation(keyPath: \"transform.translation.y\")\n        let bounce = CGFloat(3.0)\n        let duration = TimeInterval(0.12)\n        let variance = Double(0.025)\n        animation.values = [bounce, -bounce]\n        animation.autoreverses = true\n        animation.duration = self.randomize(duration, withVariance: variance)\n        animation.repeatCount = Float.infinity\n        return animation\n        \n    }\n    \n    fileprivate func randomize(_ interval: TimeInterval, withVariance variance:Double) -> TimeInterval {\n        \n        let random = (Double(arc4random_uniform(1000)) - 500.0) / 500.0\n        return interval + variance * random;\n    }\n}\n\n//Assisting Functions\nextension DragDropCollectionView {\n    func getRasterizedImageCopyOfCell(_ cell: UICollectionViewCell) -> UIImage {\n        UIGraphicsBeginImageContextWithOptions(cell.bounds.size, false, 0.0)\n        cell.layer.render(in: UIGraphicsGetCurrentContext()!)\n        let image = UIGraphicsGetImageFromCurrentImageContext()\n        UIGraphicsEndImageContext()\n        return image!\n    }\n\n}\n\npublic func dispatchOnMainQueueAfter(_ delay:Double, closure:@escaping ()->Void) {\n    DispatchQueue.main.asyncAfter(deadline: DispatchTime.now()+delay, qos: DispatchQoS.userInteractive, flags: DispatchWorkItemFlags.enforceQoS, execute: closure)\n}\n\npublic func distanceBetweenPoints(_ firstPoint: CGPoint, secondPoint: CGPoint) -> CGFloat {\n    let xDistance = firstPoint.x - secondPoint.x\n    let yDistance = firstPoint.y - secondPoint.y\n    return sqrt(xDistance * xDistance + yDistance * yDistance)\n}\n\n\n\n\n\n\n"
  },
  {
    "path": "README.md",
    "content": "# DragDropCollectionView\nA UICollectionView which allows for easy drag and drop to reorder cells. Mimicks the drag and drop on the iOS Springboard when reordering apps (wiggle animation included!).\n\nI have also included automatic scrolling for when the collection view's content does not all fit in the frame\n\n![Alt text](/demo.gif)\n\nInstallation\n--------------\n\nTo use the DragDropCollectionView class in an app, just drag the DragDropCollectionView.swift file into your project.\n\nProtocols and Delegates\n--------------\nDragDropCollectionView has the following protocol:  \n\n````\n@objc protocol DrapDropCollectionViewDelegate: UICollectionViewDelegate\n````\n\nThis inherits from UICollectionViewDelegate and is to be used in place of the '.delegate' property found in UICollectionView\n\nDragDropCollectionView has the following delegate:  \n\n````\nweak var draggingDelegate: DrapDropCollectionViewDelegate?\n````\n\nThe DragDropCollectionViewDelegate has the following required methods:\n\n````\nfunc dragDropCollectionViewDidMoveCellFromInitialIndexPath(initialIndexPath: NSIndexPath, toNewIndexPath newIndexPath: NSIndexPath)\n````\n\nThis method should be used in your to 'swap' items in your datasource\n\nThe DragDropCollectionViewDelegate has the following optional methods:\n\n````\noptional func dragDropCollectionViewDraggingDidBeginWithCellAtIndexPath(indexPath: NSIndexPath)\noptional func dragDropCollectionViewDraggingDidEndForCellAtIndexPath(indexPath: NSIndexPath)\n````\n    \n\nMethods\n--------------\nDragging can be easily enabled and disabled using the follwing method:\n````\nfunc enableDragging(enable: Bool)\n````\n\nTo start the wiggle animation, use:\n\n````\nfunc startWiggle()\n````\n\nTo stop the wiggle animation, use:\n\n````\nfunc stopWiggle()\n````\n"
  },
  {
    "path": "Sample Project/DragDrop/AppDelegate.swift",
    "content": "//\n//  AppDelegate.swift\n//  DragDrop\n//\n//  Created by Lior Neu-ner on 2014/12/30.\n//  Copyright (c) 2014 LiorN. All rights reserved.\n//\n\nimport UIKit\n\n@UIApplicationMain\nclass AppDelegate: UIResponder, UIApplicationDelegate {\n\n    var window: UIWindow?\n\n\n    func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {\n        // Override point for customization after application launch.\n        return true\n    }\n\n    func applicationWillResignActive(_ application: UIApplication) {\n        // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state.\n        // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game.\n    }\n\n    func applicationDidEnterBackground(_ application: UIApplication) {\n        // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later.\n        // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.\n    }\n\n    func applicationWillEnterForeground(_ application: UIApplication) {\n        // Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background.\n    }\n\n    func applicationDidBecomeActive(_ application: UIApplication) {\n        // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface.\n    }\n\n    func applicationWillTerminate(_ application: UIApplication) {\n        // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.\n    }\n\n\n}\n\n"
  },
  {
    "path": "Sample Project/DragDrop/Base.lproj/LaunchScreen.xib",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\n<document type=\"com.apple.InterfaceBuilder3.CocoaTouch.XIB\" version=\"3.0\" toolsVersion=\"6214\" systemVersion=\"14A314h\" targetRuntime=\"iOS.CocoaTouch\" propertyAccessControl=\"none\" useAutolayout=\"YES\" launchScreen=\"YES\" useTraitCollections=\"YES\">\n    <dependencies>\n        <plugIn identifier=\"com.apple.InterfaceBuilder.IBCocoaTouchPlugin\" version=\"6207\"/>\n        <capability name=\"Constraints with non-1.0 multipliers\" minToolsVersion=\"5.1\"/>\n    </dependencies>\n    <objects>\n        <placeholder placeholderIdentifier=\"IBFilesOwner\" id=\"-1\" userLabel=\"File's Owner\"/>\n        <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"-2\" customClass=\"UIResponder\"/>\n        <view contentMode=\"scaleToFill\" id=\"iN0-l3-epB\">\n            <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"480\" height=\"480\"/>\n            <autoresizingMask key=\"autoresizingMask\" widthSizable=\"YES\" heightSizable=\"YES\"/>\n            <subviews>\n                <label opaque=\"NO\" clipsSubviews=\"YES\" userInteractionEnabled=\"NO\" contentMode=\"left\" horizontalHuggingPriority=\"251\" verticalHuggingPriority=\"251\" text=\"  Copyright (c) 2014 LiorN. All rights reserved.\" textAlignment=\"center\" lineBreakMode=\"tailTruncation\" baselineAdjustment=\"alignBaselines\" minimumFontSize=\"9\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"8ie-xW-0ye\">\n                    <rect key=\"frame\" x=\"20\" y=\"439\" width=\"441\" height=\"21\"/>\n                    <fontDescription key=\"fontDescription\" type=\"system\" pointSize=\"17\"/>\n                    <color key=\"textColor\" cocoaTouchSystemColor=\"darkTextColor\"/>\n                    <nil key=\"highlightedColor\"/>\n                </label>\n                <label opaque=\"NO\" clipsSubviews=\"YES\" userInteractionEnabled=\"NO\" contentMode=\"left\" horizontalHuggingPriority=\"251\" verticalHuggingPriority=\"251\" text=\"DragDrop\" textAlignment=\"center\" lineBreakMode=\"middleTruncation\" baselineAdjustment=\"alignBaselines\" minimumFontSize=\"18\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"kId-c2-rCX\">\n                    <rect key=\"frame\" x=\"20\" y=\"140\" width=\"441\" height=\"43\"/>\n                    <fontDescription key=\"fontDescription\" type=\"boldSystem\" pointSize=\"36\"/>\n                    <color key=\"textColor\" cocoaTouchSystemColor=\"darkTextColor\"/>\n                    <nil key=\"highlightedColor\"/>\n                </label>\n            </subviews>\n            <color key=\"backgroundColor\" white=\"1\" alpha=\"1\" colorSpace=\"custom\" customColorSpace=\"calibratedWhite\"/>\n            <constraints>\n                <constraint firstItem=\"kId-c2-rCX\" firstAttribute=\"centerY\" secondItem=\"iN0-l3-epB\" secondAttribute=\"bottom\" multiplier=\"1/3\" constant=\"1\" id=\"5cJ-9S-tgC\"/>\n                <constraint firstAttribute=\"centerX\" secondItem=\"kId-c2-rCX\" secondAttribute=\"centerX\" id=\"Koa-jz-hwk\"/>\n                <constraint firstAttribute=\"bottom\" secondItem=\"8ie-xW-0ye\" secondAttribute=\"bottom\" constant=\"20\" id=\"Kzo-t9-V3l\"/>\n                <constraint firstItem=\"8ie-xW-0ye\" firstAttribute=\"leading\" secondItem=\"iN0-l3-epB\" secondAttribute=\"leading\" constant=\"20\" symbolic=\"YES\" id=\"MfP-vx-nX0\"/>\n                <constraint firstAttribute=\"centerX\" secondItem=\"8ie-xW-0ye\" secondAttribute=\"centerX\" id=\"ZEH-qu-HZ9\"/>\n                <constraint firstItem=\"kId-c2-rCX\" firstAttribute=\"leading\" secondItem=\"iN0-l3-epB\" secondAttribute=\"leading\" constant=\"20\" symbolic=\"YES\" id=\"fvb-Df-36g\"/>\n            </constraints>\n            <nil key=\"simulatedStatusBarMetrics\"/>\n            <freeformSimulatedSizeMetrics key=\"simulatedDestinationMetrics\"/>\n            <point key=\"canvasLocation\" x=\"548\" y=\"455\"/>\n        </view>\n    </objects>\n</document>\n"
  },
  {
    "path": "Sample Project/DragDrop/Base.lproj/Main.storyboard",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<document type=\"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB\" version=\"3.0\" toolsVersion=\"14490.70\" targetRuntime=\"iOS.CocoaTouch\" propertyAccessControl=\"none\" useAutolayout=\"YES\" useTraitCollections=\"YES\" colorMatched=\"YES\" initialViewController=\"BYZ-38-t0r\">\n    <device id=\"retina6_1\" orientation=\"portrait\">\n        <adaptation id=\"fullscreen\"/>\n    </device>\n    <dependencies>\n        <deployment identifier=\"iOS\"/>\n        <plugIn identifier=\"com.apple.InterfaceBuilder.IBCocoaTouchPlugin\" version=\"14490.49\"/>\n        <capability name=\"documents saved in the Xcode 8 format\" minToolsVersion=\"8.0\"/>\n    </dependencies>\n    <scenes>\n        <!--View Controller-->\n        <scene sceneID=\"tne-QT-ifu\">\n            <objects>\n                <viewController id=\"BYZ-38-t0r\" customClass=\"ViewController\" customModule=\"DragDrop\" customModuleProvider=\"target\" sceneMemberID=\"viewController\">\n                    <layoutGuides>\n                        <viewControllerLayoutGuide type=\"top\" id=\"y3c-jy-aDJ\"/>\n                        <viewControllerLayoutGuide type=\"bottom\" id=\"wfy-db-euE\"/>\n                    </layoutGuides>\n                    <view key=\"view\" contentMode=\"scaleToFill\" id=\"8bC-Xf-vdC\">\n                        <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"414\" height=\"896\"/>\n                        <autoresizingMask key=\"autoresizingMask\" widthSizable=\"YES\" heightSizable=\"YES\"/>\n                        <subviews>\n                            <switch opaque=\"NO\" contentMode=\"scaleToFill\" horizontalHuggingPriority=\"750\" verticalHuggingPriority=\"750\" misplaced=\"YES\" contentHorizontalAlignment=\"center\" contentVerticalAlignment=\"center\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"3XC-yT-77i\">\n                                <rect key=\"frame\" x=\"535\" y=\"28\" width=\"51\" height=\"31\"/>\n                                <connections>\n                                    <action selector=\"toggleWiggleWithSender:\" destination=\"BYZ-38-t0r\" eventType=\"valueChanged\" id=\"Lba-dR-HMI\"/>\n                                </connections>\n                            </switch>\n                            <label opaque=\"NO\" userInteractionEnabled=\"NO\" contentMode=\"left\" horizontalHuggingPriority=\"251\" verticalHuggingPriority=\"251\" misplaced=\"YES\" text=\"Wiggle\" lineBreakMode=\"tailTruncation\" baselineAdjustment=\"alignBaselines\" adjustsFontSizeToFit=\"NO\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"Huo-f5-Ayv\">\n                                <rect key=\"frame\" x=\"454\" y=\"33\" width=\"58\" height=\"21\"/>\n                                <constraints>\n                                    <constraint firstAttribute=\"width\" constant=\"58\" id=\"fJH-FD-6s1\"/>\n                                </constraints>\n                                <fontDescription key=\"fontDescription\" type=\"system\" pointSize=\"17\"/>\n                                <color key=\"textColor\" cocoaTouchSystemColor=\"darkTextColor\"/>\n                                <nil key=\"highlightedColor\"/>\n                            </label>\n                            <collectionView clipsSubviews=\"YES\" multipleTouchEnabled=\"YES\" contentMode=\"scaleToFill\" dataMode=\"prototypes\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"qon-Be-cyL\" customClass=\"DragDropCollectionView\" customModule=\"DragDrop\" customModuleProvider=\"target\">\n                                <rect key=\"frame\" x=\"0.0\" y=\"91\" width=\"414\" height=\"771\"/>\n                                <collectionViewFlowLayout key=\"collectionViewLayout\" minimumLineSpacing=\"10\" minimumInteritemSpacing=\"10\" id=\"aOa-Ji-BPD\">\n                                    <size key=\"itemSize\" width=\"73\" height=\"62\"/>\n                                    <size key=\"headerReferenceSize\" width=\"0.0\" height=\"0.0\"/>\n                                    <size key=\"footerReferenceSize\" width=\"0.0\" height=\"0.0\"/>\n                                    <inset key=\"sectionInset\" minX=\"0.0\" minY=\"0.0\" maxX=\"0.0\" maxY=\"0.0\"/>\n                                </collectionViewFlowLayout>\n                                <cells>\n                                    <collectionViewCell opaque=\"NO\" clipsSubviews=\"YES\" multipleTouchEnabled=\"YES\" contentMode=\"center\" reuseIdentifier=\"collectionViewCell\" id=\"G4Y-1C-eVJ\">\n                                        <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"73\" height=\"62\"/>\n                                        <autoresizingMask key=\"autoresizingMask\" flexibleMaxX=\"YES\" flexibleMaxY=\"YES\"/>\n                                        <view key=\"contentView\" opaque=\"NO\" clipsSubviews=\"YES\" multipleTouchEnabled=\"YES\" contentMode=\"center\">\n                                            <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"73\" height=\"62\"/>\n                                            <autoresizingMask key=\"autoresizingMask\"/>\n                                        </view>\n                                    </collectionViewCell>\n                                </cells>\n                                <connections>\n                                    <outlet property=\"dataSource\" destination=\"BYZ-38-t0r\" id=\"w5A-fg-KHE\"/>\n                                </connections>\n                            </collectionView>\n                        </subviews>\n                        <color key=\"backgroundColor\" red=\"1\" green=\"1\" blue=\"1\" alpha=\"1\" colorSpace=\"custom\" customColorSpace=\"sRGB\"/>\n                        <constraints>\n                            <constraint firstItem=\"3XC-yT-77i\" firstAttribute=\"top\" secondItem=\"y3c-jy-aDJ\" secondAttribute=\"bottom\" constant=\"8\" symbolic=\"YES\" id=\"3QM-cH-Oih\"/>\n                            <constraint firstAttribute=\"trailing\" secondItem=\"qon-Be-cyL\" secondAttribute=\"trailing\" id=\"OTe-te-VhB\"/>\n                            <constraint firstItem=\"3XC-yT-77i\" firstAttribute=\"centerY\" secondItem=\"Huo-f5-Ayv\" secondAttribute=\"centerY\" id=\"S7V-QC-45J\"/>\n                            <constraint firstItem=\"3XC-yT-77i\" firstAttribute=\"trailing\" secondItem=\"8bC-Xf-vdC\" secondAttribute=\"trailingMargin\" id=\"YfL-sm-t64\"/>\n                            <constraint firstItem=\"qon-Be-cyL\" firstAttribute=\"top\" secondItem=\"3XC-yT-77i\" secondAttribute=\"bottom\" constant=\"8\" symbolic=\"YES\" id=\"iU0-4L-JXk\"/>\n                            <constraint firstItem=\"3XC-yT-77i\" firstAttribute=\"leading\" secondItem=\"Huo-f5-Ayv\" secondAttribute=\"trailing\" constant=\"23\" id=\"ldw-GC-4nP\"/>\n                            <constraint firstItem=\"qon-Be-cyL\" firstAttribute=\"bottom\" secondItem=\"wfy-db-euE\" secondAttribute=\"top\" id=\"loV-4y-bmH\"/>\n                            <constraint firstItem=\"qon-Be-cyL\" firstAttribute=\"leading\" secondItem=\"8bC-Xf-vdC\" secondAttribute=\"leading\" id=\"r7R-GF-f6A\"/>\n                        </constraints>\n                    </view>\n                    <connections>\n                        <outlet property=\"dragDropCollectionView\" destination=\"qon-Be-cyL\" id=\"I4j-uv-k2o\"/>\n                    </connections>\n                </viewController>\n                <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"dkx-z0-nzr\" sceneMemberID=\"firstResponder\"/>\n            </objects>\n            <point key=\"canvasLocation\" x=\"489\" y=\"336\"/>\n        </scene>\n    </scenes>\n</document>\n"
  },
  {
    "path": "Sample Project/DragDrop/Images.xcassets/AppIcon.appiconset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"29x29\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"29x29\",\n      \"scale\" : \"3x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"40x40\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"40x40\",\n      \"scale\" : \"3x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"60x60\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"60x60\",\n      \"scale\" : \"3x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"29x29\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"29x29\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"40x40\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"40x40\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"76x76\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"76x76\",\n      \"scale\" : \"2x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "Sample Project/DragDrop/Info.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>CFBundleDevelopmentRegion</key>\n\t<string>en</string>\n\t<key>CFBundleExecutable</key>\n\t<string>$(EXECUTABLE_NAME)</string>\n\t<key>CFBundleIdentifier</key>\n\t<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>\n\t<key>CFBundleInfoDictionaryVersion</key>\n\t<string>6.0</string>\n\t<key>CFBundleName</key>\n\t<string>$(PRODUCT_NAME)</string>\n\t<key>CFBundlePackageType</key>\n\t<string>APPL</string>\n\t<key>CFBundleShortVersionString</key>\n\t<string>1.0</string>\n\t<key>CFBundleSignature</key>\n\t<string>????</string>\n\t<key>CFBundleVersion</key>\n\t<string>1</string>\n\t<key>LSRequiresIPhoneOS</key>\n\t<true/>\n\t<key>UILaunchStoryboardName</key>\n\t<string>LaunchScreen</string>\n\t<key>UIMainStoryboardFile</key>\n\t<string>Main</string>\n\t<key>UIRequiredDeviceCapabilities</key>\n\t<array>\n\t\t<string>armv7</string>\n\t</array>\n\t<key>UISupportedInterfaceOrientations</key>\n\t<array>\n\t\t<string>UIInterfaceOrientationPortrait</string>\n\t\t<string>UIInterfaceOrientationLandscapeLeft</string>\n\t\t<string>UIInterfaceOrientationLandscapeRight</string>\n\t</array>\n\t<key>UISupportedInterfaceOrientations~ipad</key>\n\t<array>\n\t\t<string>UIInterfaceOrientationPortrait</string>\n\t\t<string>UIInterfaceOrientationPortraitUpsideDown</string>\n\t\t<string>UIInterfaceOrientationLandscapeLeft</string>\n\t\t<string>UIInterfaceOrientationLandscapeRight</string>\n\t</array>\n</dict>\n</plist>\n"
  },
  {
    "path": "Sample Project/DragDrop/ViewController.swift",
    "content": "//\n//  ViewController.swift\n//  DragDrop\n//\n//  Created by Lior Neu-ner on 2014/12/30.\n//  Copyright (c) 2014 LiorN. All rights reserved.\n//\n\nimport UIKit\n\nclass ViewController: UIViewController, UICollectionViewDataSource, DrapDropCollectionViewDelegate {\n    func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell {\n        let cell = collectionView.dequeueReusableCell(withReuseIdentifier: \"collectionViewCell\", for: indexPath as IndexPath) as UICollectionViewCell\n        cell.backgroundColor = colors[indexPath.row]\n        return cell\n    }\n    \n    func dragDropCollectionViewDidMoveCellFromInitialIndexPath(_ initialIndexPath: IndexPath, toNewIndexPath newIndexPath: IndexPath) {\n        let colorToMove = colors[initialIndexPath.row]\n        colors.remove(at: initialIndexPath.row)\n        colors.insert(colorToMove, at: newIndexPath.row)\n    }\n    \n    @IBOutlet var dragDropCollectionView: DragDropCollectionView!\n    var colors: [UIColor] = {\n        var randomColors = [UIColor]()\n        for i in 1...500 {\n            let randomRed = CGFloat(arc4random() % 255) / 255.0\n            let randomGreen = CGFloat(arc4random() % 255) / 255.0\n            let randomBlue = CGFloat(arc4random() % 255) / 255.0\n            randomColors.append(UIColor(red: randomRed, green: randomGreen, blue: randomBlue, alpha: 1.0))\n        }\n        return randomColors\n        }()\n    \n    override func viewDidLoad() {\n        super.viewDidLoad()\n        dragDropCollectionView.draggingDelegate = self\n        dragDropCollectionView.enableDragging(true)\n    }\n    \n    func collectionView(_ collectionView: UICollectionView, numberOfItemsInSection section: Int) -> Int {\n        return colors.count\n    }\n    \n  \n    \n    @IBAction func toggleWiggle(sender: UISwitch) {\n        if sender.isOn {\n            \n            dragDropCollectionView.startWiggle()\n            \n        } else {\n            dragDropCollectionView.stopWiggle()\n        }\n    }\n}\n\n\n\n\n\n\n\n\n\n\n\n\n\n"
  },
  {
    "path": "Sample Project/DragDrop.xcodeproj/project.pbxproj",
    "content": "// !$*UTF8*$!\n{\n\tarchiveVersion = 1;\n\tclasses = {\n\t};\n\tobjectVersion = 46;\n\tobjects = {\n\n/* Begin PBXBuildFile section */\n\t\tBA18A7C21A649C8D0044B197 /* DragDropCollectionView.swift in Sources */ = {isa = PBXBuildFile; fileRef = BA18A7C11A649C8D0044B197 /* DragDropCollectionView.swift */; };\n\t\tBA6E6D401A529CAE0005985D /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = BA6E6D3F1A529CAE0005985D /* AppDelegate.swift */; };\n\t\tBA6E6D421A529CAF0005985D /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = BA6E6D411A529CAF0005985D /* ViewController.swift */; };\n\t\tBA6E6D451A529CAF0005985D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = BA6E6D431A529CAF0005985D /* Main.storyboard */; };\n\t\tBA6E6D471A529CB00005985D /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = BA6E6D461A529CB00005985D /* Images.xcassets */; };\n\t\tBA6E6D4A1A529CB00005985D /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = BA6E6D481A529CB00005985D /* LaunchScreen.xib */; };\n\t\tBA6E6D561A529CB20005985D /* DragDropTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = BA6E6D551A529CB20005985D /* DragDropTests.swift */; };\n/* End PBXBuildFile section */\n\n/* Begin PBXContainerItemProxy section */\n\t\tBA6E6D501A529CB10005985D /* PBXContainerItemProxy */ = {\n\t\t\tisa = PBXContainerItemProxy;\n\t\t\tcontainerPortal = BA6E6D321A529CAC0005985D /* Project object */;\n\t\t\tproxyType = 1;\n\t\t\tremoteGlobalIDString = BA6E6D391A529CAD0005985D;\n\t\t\tremoteInfo = DragDrop;\n\t\t};\n/* End PBXContainerItemProxy section */\n\n/* Begin PBXFileReference section */\n\t\tBA18A7C11A649C8D0044B197 /* DragDropCollectionView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = DragDropCollectionView.swift; path = ../../DragDropCollectionView.swift; sourceTree = \"<group>\"; };\n\t\tBA6E6D3A1A529CAD0005985D /* DragDrop.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = DragDrop.app; sourceTree = BUILT_PRODUCTS_DIR; };\n\t\tBA6E6D3E1A529CAD0005985D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = \"<group>\"; };\n\t\tBA6E6D3F1A529CAE0005985D /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = \"<group>\"; };\n\t\tBA6E6D411A529CAF0005985D /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = \"<group>\"; };\n\t\tBA6E6D441A529CAF0005985D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = \"<group>\"; };\n\t\tBA6E6D461A529CB00005985D /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = \"<group>\"; };\n\t\tBA6E6D491A529CB00005985D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = \"<group>\"; };\n\t\tBA6E6D4F1A529CB10005985D /* DragDropTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = DragDropTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };\n\t\tBA6E6D541A529CB10005985D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = \"<group>\"; };\n\t\tBA6E6D551A529CB20005985D /* DragDropTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DragDropTests.swift; sourceTree = \"<group>\"; };\n/* End PBXFileReference section */\n\n/* Begin PBXFrameworksBuildPhase section */\n\t\tBA6E6D371A529CAD0005985D /* Frameworks */ = {\n\t\t\tisa = PBXFrameworksBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n\t\tBA6E6D4C1A529CB10005985D /* Frameworks */ = {\n\t\t\tisa = PBXFrameworksBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXFrameworksBuildPhase section */\n\n/* Begin PBXGroup section */\n\t\tBA6E6D311A529CAC0005985D = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\tBA6E6D3C1A529CAD0005985D /* DragDrop */,\n\t\t\t\tBA6E6D521A529CB10005985D /* DragDropTests */,\n\t\t\t\tBA6E6D3B1A529CAD0005985D /* Products */,\n\t\t\t);\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\tBA6E6D3B1A529CAD0005985D /* Products */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\tBA6E6D3A1A529CAD0005985D /* DragDrop.app */,\n\t\t\t\tBA6E6D4F1A529CB10005985D /* DragDropTests.xctest */,\n\t\t\t);\n\t\t\tname = Products;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\tBA6E6D3C1A529CAD0005985D /* DragDrop */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\tBA6E6D3F1A529CAE0005985D /* AppDelegate.swift */,\n\t\t\t\tBA6E6D411A529CAF0005985D /* ViewController.swift */,\n\t\t\t\tBA18A7C11A649C8D0044B197 /* DragDropCollectionView.swift */,\n\t\t\t\tBA6E6D431A529CAF0005985D /* Main.storyboard */,\n\t\t\t\tBA6E6D461A529CB00005985D /* Images.xcassets */,\n\t\t\t\tBA6E6D481A529CB00005985D /* LaunchScreen.xib */,\n\t\t\t\tBA6E6D3D1A529CAD0005985D /* Supporting Files */,\n\t\t\t);\n\t\t\tpath = DragDrop;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\tBA6E6D3D1A529CAD0005985D /* Supporting Files */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\tBA6E6D3E1A529CAD0005985D /* Info.plist */,\n\t\t\t);\n\t\t\tname = \"Supporting Files\";\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\tBA6E6D521A529CB10005985D /* DragDropTests */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\tBA6E6D551A529CB20005985D /* DragDropTests.swift */,\n\t\t\t\tBA6E6D531A529CB10005985D /* Supporting Files */,\n\t\t\t);\n\t\t\tpath = DragDropTests;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\tBA6E6D531A529CB10005985D /* Supporting Files */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\tBA6E6D541A529CB10005985D /* Info.plist */,\n\t\t\t);\n\t\t\tname = \"Supporting Files\";\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n/* End PBXGroup section */\n\n/* Begin PBXNativeTarget section */\n\t\tBA6E6D391A529CAD0005985D /* DragDrop */ = {\n\t\t\tisa = PBXNativeTarget;\n\t\t\tbuildConfigurationList = BA6E6D591A529CB20005985D /* Build configuration list for PBXNativeTarget \"DragDrop\" */;\n\t\t\tbuildPhases = (\n\t\t\t\tBA6E6D361A529CAD0005985D /* Sources */,\n\t\t\t\tBA6E6D371A529CAD0005985D /* Frameworks */,\n\t\t\t\tBA6E6D381A529CAD0005985D /* Resources */,\n\t\t\t);\n\t\t\tbuildRules = (\n\t\t\t);\n\t\t\tdependencies = (\n\t\t\t);\n\t\t\tname = DragDrop;\n\t\t\tproductName = DragDrop;\n\t\t\tproductReference = BA6E6D3A1A529CAD0005985D /* DragDrop.app */;\n\t\t\tproductType = \"com.apple.product-type.application\";\n\t\t};\n\t\tBA6E6D4E1A529CB10005985D /* DragDropTests */ = {\n\t\t\tisa = PBXNativeTarget;\n\t\t\tbuildConfigurationList = BA6E6D5C1A529CB20005985D /* Build configuration list for PBXNativeTarget \"DragDropTests\" */;\n\t\t\tbuildPhases = (\n\t\t\t\tBA6E6D4B1A529CB10005985D /* Sources */,\n\t\t\t\tBA6E6D4C1A529CB10005985D /* Frameworks */,\n\t\t\t\tBA6E6D4D1A529CB10005985D /* Resources */,\n\t\t\t);\n\t\t\tbuildRules = (\n\t\t\t);\n\t\t\tdependencies = (\n\t\t\t\tBA6E6D511A529CB10005985D /* PBXTargetDependency */,\n\t\t\t);\n\t\t\tname = DragDropTests;\n\t\t\tproductName = DragDropTests;\n\t\t\tproductReference = BA6E6D4F1A529CB10005985D /* DragDropTests.xctest */;\n\t\t\tproductType = \"com.apple.product-type.bundle.unit-test\";\n\t\t};\n/* End PBXNativeTarget section */\n\n/* Begin PBXProject section */\n\t\tBA6E6D321A529CAC0005985D /* Project object */ = {\n\t\t\tisa = PBXProject;\n\t\t\tattributes = {\n\t\t\t\tLastUpgradeCheck = 1020;\n\t\t\t\tORGANIZATIONNAME = LiorN;\n\t\t\t\tTargetAttributes = {\n\t\t\t\t\tBA6E6D391A529CAD0005985D = {\n\t\t\t\t\t\tCreatedOnToolsVersion = 6.1.1;\n\t\t\t\t\t\tDevelopmentTeam = AS8F5Z84GP;\n\t\t\t\t\t};\n\t\t\t\t\tBA6E6D4E1A529CB10005985D = {\n\t\t\t\t\t\tCreatedOnToolsVersion = 6.1.1;\n\t\t\t\t\t\tTestTargetID = BA6E6D391A529CAD0005985D;\n\t\t\t\t\t};\n\t\t\t\t};\n\t\t\t};\n\t\t\tbuildConfigurationList = BA6E6D351A529CAC0005985D /* Build configuration list for PBXProject \"DragDrop\" */;\n\t\t\tcompatibilityVersion = \"Xcode 3.2\";\n\t\t\tdevelopmentRegion = English;\n\t\t\thasScannedForEncodings = 0;\n\t\t\tknownRegions = (\n\t\t\t\tEnglish,\n\t\t\t\ten,\n\t\t\t\tBase,\n\t\t\t);\n\t\t\tmainGroup = BA6E6D311A529CAC0005985D;\n\t\t\tproductRefGroup = BA6E6D3B1A529CAD0005985D /* Products */;\n\t\t\tprojectDirPath = \"\";\n\t\t\tprojectRoot = \"\";\n\t\t\ttargets = (\n\t\t\t\tBA6E6D391A529CAD0005985D /* DragDrop */,\n\t\t\t\tBA6E6D4E1A529CB10005985D /* DragDropTests */,\n\t\t\t);\n\t\t};\n/* End PBXProject section */\n\n/* Begin PBXResourcesBuildPhase section */\n\t\tBA6E6D381A529CAD0005985D /* Resources */ = {\n\t\t\tisa = PBXResourcesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\tBA6E6D451A529CAF0005985D /* Main.storyboard in Resources */,\n\t\t\t\tBA6E6D4A1A529CB00005985D /* LaunchScreen.xib in Resources */,\n\t\t\t\tBA6E6D471A529CB00005985D /* Images.xcassets in Resources */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n\t\tBA6E6D4D1A529CB10005985D /* Resources */ = {\n\t\t\tisa = PBXResourcesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXResourcesBuildPhase section */\n\n/* Begin PBXSourcesBuildPhase section */\n\t\tBA6E6D361A529CAD0005985D /* Sources */ = {\n\t\t\tisa = PBXSourcesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\tBA6E6D421A529CAF0005985D /* ViewController.swift in Sources */,\n\t\t\t\tBA18A7C21A649C8D0044B197 /* DragDropCollectionView.swift in Sources */,\n\t\t\t\tBA6E6D401A529CAE0005985D /* AppDelegate.swift in Sources */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n\t\tBA6E6D4B1A529CB10005985D /* Sources */ = {\n\t\t\tisa = PBXSourcesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\tBA6E6D561A529CB20005985D /* DragDropTests.swift in Sources */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXSourcesBuildPhase section */\n\n/* Begin PBXTargetDependency section */\n\t\tBA6E6D511A529CB10005985D /* PBXTargetDependency */ = {\n\t\t\tisa = PBXTargetDependency;\n\t\t\ttarget = BA6E6D391A529CAD0005985D /* DragDrop */;\n\t\t\ttargetProxy = BA6E6D501A529CB10005985D /* PBXContainerItemProxy */;\n\t\t};\n/* End PBXTargetDependency section */\n\n/* Begin PBXVariantGroup section */\n\t\tBA6E6D431A529CAF0005985D /* Main.storyboard */ = {\n\t\t\tisa = PBXVariantGroup;\n\t\t\tchildren = (\n\t\t\t\tBA6E6D441A529CAF0005985D /* Base */,\n\t\t\t);\n\t\t\tname = Main.storyboard;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\tBA6E6D481A529CB00005985D /* LaunchScreen.xib */ = {\n\t\t\tisa = PBXVariantGroup;\n\t\t\tchildren = (\n\t\t\t\tBA6E6D491A529CB00005985D /* Base */,\n\t\t\t);\n\t\t\tname = LaunchScreen.xib;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n/* End PBXVariantGroup section */\n\n/* Begin XCBuildConfiguration section */\n\t\tBA6E6D571A529CB20005985D /* Debug */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tALWAYS_SEARCH_USER_PATHS = NO;\n\t\t\t\tCLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;\n\t\t\t\tCLANG_CXX_LANGUAGE_STANDARD = \"gnu++0x\";\n\t\t\t\tCLANG_CXX_LIBRARY = \"libc++\";\n\t\t\t\tCLANG_ENABLE_MODULES = YES;\n\t\t\t\tCLANG_ENABLE_OBJC_ARC = YES;\n\t\t\t\tCLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;\n\t\t\t\tCLANG_WARN_BOOL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_COMMA = YES;\n\t\t\t\tCLANG_WARN_CONSTANT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;\n\t\t\t\tCLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;\n\t\t\t\tCLANG_WARN_EMPTY_BODY = YES;\n\t\t\t\tCLANG_WARN_ENUM_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_INFINITE_RECURSION = YES;\n\t\t\t\tCLANG_WARN_INT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;\n\t\t\t\tCLANG_WARN_OBJC_LITERAL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;\n\t\t\t\tCLANG_WARN_RANGE_LOOP_ANALYSIS = YES;\n\t\t\t\tCLANG_WARN_STRICT_PROTOTYPES = YES;\n\t\t\t\tCLANG_WARN_SUSPICIOUS_MOVE = YES;\n\t\t\t\tCLANG_WARN_UNREACHABLE_CODE = YES;\n\t\t\t\tCLANG_WARN__DUPLICATE_METHOD_MATCH = YES;\n\t\t\t\t\"CODE_SIGN_IDENTITY[sdk=iphoneos*]\" = \"iPhone Developer\";\n\t\t\t\tCOPY_PHASE_STRIP = NO;\n\t\t\t\tENABLE_STRICT_OBJC_MSGSEND = YES;\n\t\t\t\tENABLE_TESTABILITY = YES;\n\t\t\t\tGCC_C_LANGUAGE_STANDARD = gnu99;\n\t\t\t\tGCC_DYNAMIC_NO_PIC = NO;\n\t\t\t\tGCC_NO_COMMON_BLOCKS = YES;\n\t\t\t\tGCC_OPTIMIZATION_LEVEL = 0;\n\t\t\t\tGCC_PREPROCESSOR_DEFINITIONS = (\n\t\t\t\t\t\"DEBUG=1\",\n\t\t\t\t\t\"$(inherited)\",\n\t\t\t\t);\n\t\t\t\tGCC_SYMBOLS_PRIVATE_EXTERN = NO;\n\t\t\t\tGCC_WARN_64_TO_32_BIT_CONVERSION = YES;\n\t\t\t\tGCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;\n\t\t\t\tGCC_WARN_UNDECLARED_SELECTOR = YES;\n\t\t\t\tGCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;\n\t\t\t\tGCC_WARN_UNUSED_FUNCTION = YES;\n\t\t\t\tGCC_WARN_UNUSED_VARIABLE = YES;\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 8.1;\n\t\t\t\tMTL_ENABLE_DEBUG_INFO = YES;\n\t\t\t\tONLY_ACTIVE_ARCH = YES;\n\t\t\t\tSDKROOT = iphoneos;\n\t\t\t\tSWIFT_OPTIMIZATION_LEVEL = \"-Onone\";\n\t\t\t\tTARGETED_DEVICE_FAMILY = \"1,2\";\n\t\t\t};\n\t\t\tname = Debug;\n\t\t};\n\t\tBA6E6D581A529CB20005985D /* Release */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tALWAYS_SEARCH_USER_PATHS = NO;\n\t\t\t\tCLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;\n\t\t\t\tCLANG_CXX_LANGUAGE_STANDARD = \"gnu++0x\";\n\t\t\t\tCLANG_CXX_LIBRARY = \"libc++\";\n\t\t\t\tCLANG_ENABLE_MODULES = YES;\n\t\t\t\tCLANG_ENABLE_OBJC_ARC = YES;\n\t\t\t\tCLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;\n\t\t\t\tCLANG_WARN_BOOL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_COMMA = YES;\n\t\t\t\tCLANG_WARN_CONSTANT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;\n\t\t\t\tCLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;\n\t\t\t\tCLANG_WARN_EMPTY_BODY = YES;\n\t\t\t\tCLANG_WARN_ENUM_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_INFINITE_RECURSION = YES;\n\t\t\t\tCLANG_WARN_INT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;\n\t\t\t\tCLANG_WARN_OBJC_LITERAL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;\n\t\t\t\tCLANG_WARN_RANGE_LOOP_ANALYSIS = YES;\n\t\t\t\tCLANG_WARN_STRICT_PROTOTYPES = YES;\n\t\t\t\tCLANG_WARN_SUSPICIOUS_MOVE = YES;\n\t\t\t\tCLANG_WARN_UNREACHABLE_CODE = YES;\n\t\t\t\tCLANG_WARN__DUPLICATE_METHOD_MATCH = YES;\n\t\t\t\t\"CODE_SIGN_IDENTITY[sdk=iphoneos*]\" = \"iPhone Developer\";\n\t\t\t\tCOPY_PHASE_STRIP = YES;\n\t\t\t\tENABLE_NS_ASSERTIONS = NO;\n\t\t\t\tENABLE_STRICT_OBJC_MSGSEND = YES;\n\t\t\t\tGCC_C_LANGUAGE_STANDARD = gnu99;\n\t\t\t\tGCC_NO_COMMON_BLOCKS = YES;\n\t\t\t\tGCC_WARN_64_TO_32_BIT_CONVERSION = YES;\n\t\t\t\tGCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;\n\t\t\t\tGCC_WARN_UNDECLARED_SELECTOR = YES;\n\t\t\t\tGCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;\n\t\t\t\tGCC_WARN_UNUSED_FUNCTION = YES;\n\t\t\t\tGCC_WARN_UNUSED_VARIABLE = YES;\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 8.1;\n\t\t\t\tMTL_ENABLE_DEBUG_INFO = NO;\n\t\t\t\tSDKROOT = iphoneos;\n\t\t\t\tSWIFT_COMPILATION_MODE = wholemodule;\n\t\t\t\tTARGETED_DEVICE_FAMILY = \"1,2\";\n\t\t\t\tVALIDATE_PRODUCT = YES;\n\t\t\t};\n\t\t\tname = Release;\n\t\t};\n\t\tBA6E6D5A1A529CB20005985D /* Debug */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;\n\t\t\t\tCODE_SIGN_IDENTITY = \"iPhone Developer\";\n\t\t\t\t\"CODE_SIGN_IDENTITY[sdk=iphoneos*]\" = \"iPhone Developer\";\n\t\t\t\tINFOPLIST_FILE = DragDrop/Info.plist;\n\t\t\t\tLD_RUNPATH_SEARCH_PATHS = \"$(inherited) @executable_path/Frameworks\";\n\t\t\t\tPRODUCT_BUNDLE_IDENTIFIER = \"LiorN.$(PRODUCT_NAME:rfc1034identifier)\";\n\t\t\t\tPRODUCT_NAME = \"$(TARGET_NAME)\";\n\t\t\t\tPROVISIONING_PROFILE = \"\";\n\t\t\t\tSWIFT_VERSION = 5.0;\n\t\t\t};\n\t\t\tname = Debug;\n\t\t};\n\t\tBA6E6D5B1A529CB20005985D /* Release */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;\n\t\t\t\tCODE_SIGN_IDENTITY = \"iPhone Developer\";\n\t\t\t\t\"CODE_SIGN_IDENTITY[sdk=iphoneos*]\" = \"iPhone Developer\";\n\t\t\t\tINFOPLIST_FILE = DragDrop/Info.plist;\n\t\t\t\tLD_RUNPATH_SEARCH_PATHS = \"$(inherited) @executable_path/Frameworks\";\n\t\t\t\tPRODUCT_BUNDLE_IDENTIFIER = \"LiorN.$(PRODUCT_NAME:rfc1034identifier)\";\n\t\t\t\tPRODUCT_NAME = \"$(TARGET_NAME)\";\n\t\t\t\tPROVISIONING_PROFILE = \"\";\n\t\t\t\tSWIFT_VERSION = 5.0;\n\t\t\t};\n\t\t\tname = Release;\n\t\t};\n\t\tBA6E6D5D1A529CB20005985D /* Debug */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tBUNDLE_LOADER = \"$(TEST_HOST)\";\n\t\t\t\tFRAMEWORK_SEARCH_PATHS = (\n\t\t\t\t\t\"$(SDKROOT)/Developer/Library/Frameworks\",\n\t\t\t\t\t\"$(inherited)\",\n\t\t\t\t);\n\t\t\t\tGCC_PREPROCESSOR_DEFINITIONS = (\n\t\t\t\t\t\"DEBUG=1\",\n\t\t\t\t\t\"$(inherited)\",\n\t\t\t\t);\n\t\t\t\tINFOPLIST_FILE = DragDropTests/Info.plist;\n\t\t\t\tLD_RUNPATH_SEARCH_PATHS = \"$(inherited) @executable_path/Frameworks @loader_path/Frameworks\";\n\t\t\t\tPRODUCT_BUNDLE_IDENTIFIER = \"LiorN.$(PRODUCT_NAME:rfc1034identifier)\";\n\t\t\t\tPRODUCT_NAME = \"$(TARGET_NAME)\";\n\t\t\t\tTEST_HOST = \"$(BUILT_PRODUCTS_DIR)/DragDrop.app/DragDrop\";\n\t\t\t};\n\t\t\tname = Debug;\n\t\t};\n\t\tBA6E6D5E1A529CB20005985D /* Release */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tBUNDLE_LOADER = \"$(TEST_HOST)\";\n\t\t\t\tFRAMEWORK_SEARCH_PATHS = (\n\t\t\t\t\t\"$(SDKROOT)/Developer/Library/Frameworks\",\n\t\t\t\t\t\"$(inherited)\",\n\t\t\t\t);\n\t\t\t\tINFOPLIST_FILE = DragDropTests/Info.plist;\n\t\t\t\tLD_RUNPATH_SEARCH_PATHS = \"$(inherited) @executable_path/Frameworks @loader_path/Frameworks\";\n\t\t\t\tPRODUCT_BUNDLE_IDENTIFIER = \"LiorN.$(PRODUCT_NAME:rfc1034identifier)\";\n\t\t\t\tPRODUCT_NAME = \"$(TARGET_NAME)\";\n\t\t\t\tTEST_HOST = \"$(BUILT_PRODUCTS_DIR)/DragDrop.app/DragDrop\";\n\t\t\t};\n\t\t\tname = Release;\n\t\t};\n/* End XCBuildConfiguration section */\n\n/* Begin XCConfigurationList section */\n\t\tBA6E6D351A529CAC0005985D /* Build configuration list for PBXProject \"DragDrop\" */ = {\n\t\t\tisa = XCConfigurationList;\n\t\t\tbuildConfigurations = (\n\t\t\t\tBA6E6D571A529CB20005985D /* Debug */,\n\t\t\t\tBA6E6D581A529CB20005985D /* Release */,\n\t\t\t);\n\t\t\tdefaultConfigurationIsVisible = 0;\n\t\t\tdefaultConfigurationName = Release;\n\t\t};\n\t\tBA6E6D591A529CB20005985D /* Build configuration list for PBXNativeTarget \"DragDrop\" */ = {\n\t\t\tisa = XCConfigurationList;\n\t\t\tbuildConfigurations = (\n\t\t\t\tBA6E6D5A1A529CB20005985D /* Debug */,\n\t\t\t\tBA6E6D5B1A529CB20005985D /* Release */,\n\t\t\t);\n\t\t\tdefaultConfigurationIsVisible = 0;\n\t\t\tdefaultConfigurationName = Release;\n\t\t};\n\t\tBA6E6D5C1A529CB20005985D /* Build configuration list for PBXNativeTarget \"DragDropTests\" */ = {\n\t\t\tisa = XCConfigurationList;\n\t\t\tbuildConfigurations = (\n\t\t\t\tBA6E6D5D1A529CB20005985D /* Debug */,\n\t\t\t\tBA6E6D5E1A529CB20005985D /* Release */,\n\t\t\t);\n\t\t\tdefaultConfigurationIsVisible = 0;\n\t\t\tdefaultConfigurationName = Release;\n\t\t};\n/* End XCConfigurationList section */\n\t};\n\trootObject = BA6E6D321A529CAC0005985D /* Project object */;\n}\n"
  },
  {
    "path": "Sample Project/DragDrop.xcodeproj/project.xcworkspace/contents.xcworkspacedata",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Workspace\n   version = \"1.0\">\n   <FileRef\n      location = \"self:DragDrop.xcodeproj\">\n   </FileRef>\n</Workspace>\n"
  },
  {
    "path": "Sample Project/DragDrop.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>IDEDidComputeMac32BitWarning</key>\n\t<true/>\n</dict>\n</plist>\n"
  },
  {
    "path": "Sample Project/DragDrop.xcodeproj/xcuserdata/Lior.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Bucket\n   type = \"1\"\n   version = \"2.0\">\n</Bucket>\n"
  },
  {
    "path": "Sample Project/DragDrop.xcodeproj/xcuserdata/Lior.xcuserdatad/xcschemes/DragDrop.xcscheme",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Scheme\n   LastUpgradeVersion = \"0610\"\n   version = \"1.3\">\n   <BuildAction\n      parallelizeBuildables = \"YES\"\n      buildImplicitDependencies = \"YES\">\n      <BuildActionEntries>\n         <BuildActionEntry\n            buildForTesting = \"YES\"\n            buildForRunning = \"YES\"\n            buildForProfiling = \"YES\"\n            buildForArchiving = \"YES\"\n            buildForAnalyzing = \"YES\">\n            <BuildableReference\n               BuildableIdentifier = \"primary\"\n               BlueprintIdentifier = \"BA6E6D391A529CAD0005985D\"\n               BuildableName = \"DragDrop.app\"\n               BlueprintName = \"DragDrop\"\n               ReferencedContainer = \"container:DragDrop.xcodeproj\">\n            </BuildableReference>\n         </BuildActionEntry>\n         <BuildActionEntry\n            buildForTesting = \"YES\"\n            buildForRunning = \"YES\"\n            buildForProfiling = \"NO\"\n            buildForArchiving = \"NO\"\n            buildForAnalyzing = \"YES\">\n            <BuildableReference\n               BuildableIdentifier = \"primary\"\n               BlueprintIdentifier = \"BA6E6D4E1A529CB10005985D\"\n               BuildableName = \"DragDropTests.xctest\"\n               BlueprintName = \"DragDropTests\"\n               ReferencedContainer = \"container:DragDrop.xcodeproj\">\n            </BuildableReference>\n         </BuildActionEntry>\n      </BuildActionEntries>\n   </BuildAction>\n   <TestAction\n      selectedDebuggerIdentifier = \"Xcode.DebuggerFoundation.Debugger.LLDB\"\n      selectedLauncherIdentifier = \"Xcode.DebuggerFoundation.Launcher.LLDB\"\n      shouldUseLaunchSchemeArgsEnv = \"YES\"\n      buildConfiguration = \"Debug\">\n      <Testables>\n         <TestableReference\n            skipped = \"NO\">\n            <BuildableReference\n               BuildableIdentifier = \"primary\"\n               BlueprintIdentifier = \"BA6E6D4E1A529CB10005985D\"\n               BuildableName = \"DragDropTests.xctest\"\n               BlueprintName = \"DragDropTests\"\n               ReferencedContainer = \"container:DragDrop.xcodeproj\">\n            </BuildableReference>\n         </TestableReference>\n      </Testables>\n      <MacroExpansion>\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"BA6E6D391A529CAD0005985D\"\n            BuildableName = \"DragDrop.app\"\n            BlueprintName = \"DragDrop\"\n            ReferencedContainer = \"container:DragDrop.xcodeproj\">\n         </BuildableReference>\n      </MacroExpansion>\n   </TestAction>\n   <LaunchAction\n      selectedDebuggerIdentifier = \"Xcode.DebuggerFoundation.Debugger.LLDB\"\n      selectedLauncherIdentifier = \"Xcode.DebuggerFoundation.Launcher.LLDB\"\n      launchStyle = \"0\"\n      useCustomWorkingDirectory = \"NO\"\n      buildConfiguration = \"Debug\"\n      ignoresPersistentStateOnLaunch = \"NO\"\n      debugDocumentVersioning = \"YES\"\n      allowLocationSimulation = \"YES\">\n      <BuildableProductRunnable>\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"BA6E6D391A529CAD0005985D\"\n            BuildableName = \"DragDrop.app\"\n            BlueprintName = \"DragDrop\"\n            ReferencedContainer = \"container:DragDrop.xcodeproj\">\n         </BuildableReference>\n      </BuildableProductRunnable>\n      <AdditionalOptions>\n      </AdditionalOptions>\n   </LaunchAction>\n   <ProfileAction\n      shouldUseLaunchSchemeArgsEnv = \"YES\"\n      savedToolIdentifier = \"\"\n      useCustomWorkingDirectory = \"NO\"\n      buildConfiguration = \"Release\"\n      debugDocumentVersioning = \"YES\">\n      <BuildableProductRunnable>\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"BA6E6D391A529CAD0005985D\"\n            BuildableName = \"DragDrop.app\"\n            BlueprintName = \"DragDrop\"\n            ReferencedContainer = \"container:DragDrop.xcodeproj\">\n         </BuildableReference>\n      </BuildableProductRunnable>\n   </ProfileAction>\n   <AnalyzeAction\n      buildConfiguration = \"Debug\">\n   </AnalyzeAction>\n   <ArchiveAction\n      buildConfiguration = \"Release\"\n      revealArchiveInOrganizer = \"YES\">\n   </ArchiveAction>\n</Scheme>\n"
  },
  {
    "path": "Sample Project/DragDrop.xcodeproj/xcuserdata/Lior.xcuserdatad/xcschemes/xcschememanagement.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>SchemeUserState</key>\n\t<dict>\n\t\t<key>DragDrop.xcscheme</key>\n\t\t<dict>\n\t\t\t<key>orderHint</key>\n\t\t\t<integer>0</integer>\n\t\t</dict>\n\t</dict>\n\t<key>SuppressBuildableAutocreation</key>\n\t<dict>\n\t\t<key>BA6E6D391A529CAD0005985D</key>\n\t\t<dict>\n\t\t\t<key>primary</key>\n\t\t\t<true/>\n\t\t</dict>\n\t\t<key>BA6E6D4E1A529CB10005985D</key>\n\t\t<dict>\n\t\t\t<key>primary</key>\n\t\t\t<true/>\n\t\t</dict>\n\t</dict>\n</dict>\n</plist>\n"
  },
  {
    "path": "Sample Project/DragDrop.xcodeproj/xcuserdata/prog.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Bucket\n   type = \"1\"\n   version = \"2.0\">\n   <Breakpoints>\n      <BreakpointProxy\n         BreakpointExtensionID = \"Xcode.Breakpoint.FileBreakpoint\">\n         <BreakpointContent\n            shouldBeEnabled = \"Yes\"\n            ignoreCount = \"0\"\n            continueAfterRunningActions = \"No\"\n            filePath = \"DragDrop/ViewController.swift\"\n            timestampString = \"583341563.2481591\"\n            startingColumnNumber = \"9223372036854775807\"\n            endingColumnNumber = \"9223372036854775807\"\n            startingLineNumber = \"50\"\n            endingLineNumber = \"50\"\n            landmarkName = \"toggleWiggle(sender:)\"\n            landmarkType = \"7\">\n         </BreakpointContent>\n      </BreakpointProxy>\n      <BreakpointProxy\n         BreakpointExtensionID = \"Xcode.Breakpoint.FileBreakpoint\">\n         <BreakpointContent\n            shouldBeEnabled = \"No\"\n            ignoreCount = \"0\"\n            continueAfterRunningActions = \"No\"\n            filePath = \"../DragDropCollectionView.swift\"\n            timestampString = \"583341563.24827\"\n            startingColumnNumber = \"9223372036854775807\"\n            endingColumnNumber = \"9223372036854775807\"\n            startingLineNumber = \"261\"\n            endingLineNumber = \"261\"\n            landmarkName = \"startWiggle()\"\n            landmarkType = \"7\">\n         </BreakpointContent>\n      </BreakpointProxy>\n      <BreakpointProxy\n         BreakpointExtensionID = \"Xcode.Breakpoint.FileBreakpoint\">\n         <BreakpointContent\n            shouldBeEnabled = \"Yes\"\n            ignoreCount = \"0\"\n            continueAfterRunningActions = \"No\"\n            filePath = \"../DragDropCollectionView.swift\"\n            timestampString = \"583341563.248636\"\n            startingColumnNumber = \"9223372036854775807\"\n            endingColumnNumber = \"9223372036854775807\"\n            startingLineNumber = \"260\"\n            endingLineNumber = \"260\"\n            landmarkName = \"startWiggle()\"\n            landmarkType = \"7\">\n         </BreakpointContent>\n      </BreakpointProxy>\n      <BreakpointProxy\n         BreakpointExtensionID = \"Xcode.Breakpoint.FileBreakpoint\">\n         <BreakpointContent\n            shouldBeEnabled = \"Yes\"\n            ignoreCount = \"0\"\n            continueAfterRunningActions = \"No\"\n            filePath = \"../DragDropCollectionView.swift\"\n            timestampString = \"583341601.101064\"\n            startingColumnNumber = \"9223372036854775807\"\n            endingColumnNumber = \"9223372036854775807\"\n            startingLineNumber = \"288\"\n            endingLineNumber = \"288\"\n            landmarkName = \"addWiggleAnimationTo(_:)\"\n            landmarkType = \"7\">\n         </BreakpointContent>\n      </BreakpointProxy>\n      <BreakpointProxy\n         BreakpointExtensionID = \"Xcode.Breakpoint.FileBreakpoint\">\n         <BreakpointContent\n            shouldBeEnabled = \"Yes\"\n            ignoreCount = \"0\"\n            continueAfterRunningActions = \"No\"\n            filePath = \"../DragDropCollectionView.swift\"\n            timestampString = \"583341604.534974\"\n            startingColumnNumber = \"9223372036854775807\"\n            endingColumnNumber = \"9223372036854775807\"\n            startingLineNumber = \"294\"\n            endingLineNumber = \"294\"\n            landmarkName = \"DragDropCollectionView\"\n            landmarkType = \"21\">\n         </BreakpointContent>\n      </BreakpointProxy>\n      <BreakpointProxy\n         BreakpointExtensionID = \"Xcode.Breakpoint.FileBreakpoint\">\n         <BreakpointContent\n            shouldBeEnabled = \"Yes\"\n            ignoreCount = \"0\"\n            continueAfterRunningActions = \"No\"\n            filePath = \"../DragDropCollectionView.swift\"\n            timestampString = \"583341618.892578\"\n            startingColumnNumber = \"9223372036854775807\"\n            endingColumnNumber = \"9223372036854775807\"\n            startingLineNumber = \"304\"\n            endingLineNumber = \"304\"\n            landmarkName = \"rotationAnimation()\"\n            landmarkType = \"7\">\n         </BreakpointContent>\n      </BreakpointProxy>\n      <BreakpointProxy\n         BreakpointExtensionID = \"Xcode.Breakpoint.FileBreakpoint\">\n         <BreakpointContent\n            shouldBeEnabled = \"Yes\"\n            ignoreCount = \"0\"\n            continueAfterRunningActions = \"No\"\n            filePath = \"../DragDropCollectionView.swift\"\n            timestampString = \"583341632.940244\"\n            startingColumnNumber = \"9223372036854775807\"\n            endingColumnNumber = \"9223372036854775807\"\n            startingLineNumber = \"320\"\n            endingLineNumber = \"320\"\n            landmarkName = \"bounceAnimation()\"\n            landmarkType = \"7\">\n         </BreakpointContent>\n      </BreakpointProxy>\n      <BreakpointProxy\n         BreakpointExtensionID = \"Xcode.Breakpoint.FileBreakpoint\">\n         <BreakpointContent\n            shouldBeEnabled = \"Yes\"\n            ignoreCount = \"0\"\n            continueAfterRunningActions = \"No\"\n            filePath = \"../DragDropCollectionView.swift\"\n            timestampString = \"583341654.933239\"\n            startingColumnNumber = \"9223372036854775807\"\n            endingColumnNumber = \"9223372036854775807\"\n            startingLineNumber = \"317\"\n            endingLineNumber = \"317\"\n            landmarkName = \"bounceAnimation()\"\n            landmarkType = \"7\">\n         </BreakpointContent>\n      </BreakpointProxy>\n      <BreakpointProxy\n         BreakpointExtensionID = \"Xcode.Breakpoint.FileBreakpoint\">\n         <BreakpointContent\n            shouldBeEnabled = \"Yes\"\n            ignoreCount = \"0\"\n            continueAfterRunningActions = \"No\"\n            filePath = \"../DragDropCollectionView.swift\"\n            timestampString = \"583341669.8322231\"\n            startingColumnNumber = \"9223372036854775807\"\n            endingColumnNumber = \"9223372036854775807\"\n            startingLineNumber = \"290\"\n            endingLineNumber = \"290\"\n            landmarkName = \"addWiggleAnimationTo(_:)\"\n            landmarkType = \"7\">\n         </BreakpointContent>\n      </BreakpointProxy>\n      <BreakpointProxy\n         BreakpointExtensionID = \"Xcode.Breakpoint.FileBreakpoint\">\n         <BreakpointContent\n            shouldBeEnabled = \"Yes\"\n            ignoreCount = \"0\"\n            continueAfterRunningActions = \"No\"\n            filePath = \"../DragDropCollectionView.swift\"\n            timestampString = \"583341678.388865\"\n            startingColumnNumber = \"9223372036854775807\"\n            endingColumnNumber = \"9223372036854775807\"\n            startingLineNumber = \"293\"\n            endingLineNumber = \"293\"\n            landmarkName = \"addWiggleAnimationTo(_:)\"\n            landmarkType = \"7\">\n         </BreakpointContent>\n      </BreakpointProxy>\n      <BreakpointProxy\n         BreakpointExtensionID = \"Xcode.Breakpoint.FileBreakpoint\">\n         <BreakpointContent\n            shouldBeEnabled = \"Yes\"\n            ignoreCount = \"0\"\n            continueAfterRunningActions = \"No\"\n            filePath = \"../DragDropCollectionView.swift\"\n            timestampString = \"583341679.209855\"\n            startingColumnNumber = \"9223372036854775807\"\n            endingColumnNumber = \"9223372036854775807\"\n            startingLineNumber = \"292\"\n            endingLineNumber = \"292\"\n            landmarkName = \"addWiggleAnimationTo(_:)\"\n            landmarkType = \"7\">\n         </BreakpointContent>\n      </BreakpointProxy>\n      <BreakpointProxy\n         BreakpointExtensionID = \"Xcode.Breakpoint.FileBreakpoint\">\n         <BreakpointContent\n            shouldBeEnabled = \"Yes\"\n            ignoreCount = \"0\"\n            continueAfterRunningActions = \"No\"\n            filePath = \"DragDrop/ViewController.swift\"\n            timestampString = \"583341689.155044\"\n            startingColumnNumber = \"9223372036854775807\"\n            endingColumnNumber = \"9223372036854775807\"\n            startingLineNumber = \"52\"\n            endingLineNumber = \"52\"\n            landmarkName = \"toggleWiggle(sender:)\"\n            landmarkType = \"7\">\n         </BreakpointContent>\n      </BreakpointProxy>\n   </Breakpoints>\n</Bucket>\n"
  },
  {
    "path": "Sample Project/DragDrop.xcodeproj/xcuserdata/prog.xcuserdatad/xcschemes/xcschememanagement.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>SchemeUserState</key>\n\t<dict>\n\t\t<key>DragDrop.xcscheme_^#shared#^_</key>\n\t\t<dict>\n\t\t\t<key>orderHint</key>\n\t\t\t<integer>0</integer>\n\t\t</dict>\n\t</dict>\n</dict>\n</plist>\n"
  },
  {
    "path": "Sample Project/DragDropTests/DragDropTests.swift",
    "content": "//\n//  DragDropTests.swift\n//  DragDropTests\n//\n//  Created by Lior Neu-ner on 2014/12/30.\n//  Copyright (c) 2014 LiorN. All rights reserved.\n//\n\nimport UIKit\nimport XCTest\n\nclass DragDropTests: XCTestCase {\n    \n    override func setUp() {\n        super.setUp()\n        // Put setup code here. This method is called before the invocation of each test method in the class.\n    }\n    \n    override func tearDown() {\n        // Put teardown code here. This method is called after the invocation of each test method in the class.\n        super.tearDown()\n    }\n    \n    func testExample() {\n        // This is an example of a functional test case.\n        XCTAssert(true, \"Pass\")\n    }\n    \n    func testPerformanceExample() {\n        // This is an example of a performance test case.\n        self.measureBlock() {\n            // Put the code you want to measure the time of here.\n        }\n    }\n    \n}\n"
  },
  {
    "path": "Sample Project/DragDropTests/Info.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>CFBundleDevelopmentRegion</key>\n\t<string>en</string>\n\t<key>CFBundleExecutable</key>\n\t<string>$(EXECUTABLE_NAME)</string>\n\t<key>CFBundleIdentifier</key>\n\t<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>\n\t<key>CFBundleInfoDictionaryVersion</key>\n\t<string>6.0</string>\n\t<key>CFBundleName</key>\n\t<string>$(PRODUCT_NAME)</string>\n\t<key>CFBundlePackageType</key>\n\t<string>BNDL</string>\n\t<key>CFBundleShortVersionString</key>\n\t<string>1.0</string>\n\t<key>CFBundleSignature</key>\n\t<string>????</string>\n\t<key>CFBundleVersion</key>\n\t<string>1</string>\n</dict>\n</plist>\n"
  }
]