         window.delegate = self
         NSNotificationCenter.defaultCenter().addObserver(self, selector: "scrollViewDidScroll:", name: NSViewBoundsDidChangeNotification, object: scrollView.contentView)
         setupCopiedView()
+        setupTableText()
         getPalettes(endpoint: TopPalettesEndpoint, params: nil)
     }
     

    let CopiedViewText = "Copied!"
    let CopiedViewTextSize = 12
    let CopiedViewTextColor = "#ECF0F1"
    let PaletteCellIdentifier = "PaletteCell"
    let PalettesEndpoint = "http://www.colourlovers.com/api/palettes"
    let TopPalettesEndpoint = "http://www.colourlovers.com/api/palettes/top"

    var copiedView = NSView()
    var copiedViewAnimation = POPSpringAnimation()
    var copiedViewReverseAnimation = POPSpringAnimation()
    var tableText = NSTextField()
    @IBOutlet weak var tableView: MainTableView!
    @IBOutlet weak var scrollView: NSScrollView!
    
