This repository has been archived by the owner on Aug 6, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
implemented some things for the popover drop list; see #28
- Loading branch information
Christian Schulze
committed
May 31, 2015
1 parent
1723284
commit 6ad9168
Showing
8 changed files
with
263 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,6 +22,9 @@ | |
650D6C151AE981AE00F5EF87 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 650D6C141AE981AE00F5EF87 /* Images.xcassets */; }; | ||
6513E43E1AF76635001B8A82 /* Notification.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6513E43D1AF76635001B8A82 /* Notification.swift */; }; | ||
652BE27A1B1AF96700128B8B /* PopoverTableView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 652BE2791B1AF96700128B8B /* PopoverTableView.swift */; }; | ||
652BE27C1B1B092400128B8B /* PopoverTableCellView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 652BE27B1B1B092400128B8B /* PopoverTableCellView.swift */; }; | ||
652BE27E1B1B130C00128B8B /* PopoverTableViewDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 652BE27D1B1B130C00128B8B /* PopoverTableViewDelegate.swift */; }; | ||
652BE2801B1B19E600128B8B /* Drop.swift in Sources */ = {isa = PBXBuildFile; fileRef = 652BE27F1B1B19E600128B8B /* Drop.swift */; }; | ||
6536B5401B00D1E100751C4D /* [email protected] in Resources */ = {isa = PBXBuildFile; fileRef = 6536B53F1B00D1E100751C4D /* [email protected] */; }; | ||
6536B5491B01057500751C4D /* [email protected] in Resources */ = {isa = PBXBuildFile; fileRef = 6536B5451B01057500751C4D /* [email protected] */; }; | ||
6536B54A1B01057500751C4D /* [email protected] in Resources */ = {isa = PBXBuildFile; fileRef = 6536B5461B01057500751C4D /* [email protected] */; }; | ||
|
@@ -73,6 +76,9 @@ | |
650D6C141AE981AE00F5EF87 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = "<group>"; }; | ||
6513E43D1AF76635001B8A82 /* Notification.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Notification.swift; sourceTree = "<group>"; }; | ||
652BE2791B1AF96700128B8B /* PopoverTableView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PopoverTableView.swift; sourceTree = "<group>"; }; | ||
652BE27B1B1B092400128B8B /* PopoverTableCellView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PopoverTableCellView.swift; sourceTree = "<group>"; }; | ||
652BE27D1B1B130C00128B8B /* PopoverTableViewDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PopoverTableViewDelegate.swift; sourceTree = "<group>"; }; | ||
652BE27F1B1B19E600128B8B /* Drop.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Drop.swift; sourceTree = "<group>"; }; | ||
6536B53F1B00D1E100751C4D /* [email protected] */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "[email protected]"; sourceTree = "<group>"; }; | ||
6536B5451B01057500751C4D /* [email protected] */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "[email protected]"; sourceTree = "<group>"; }; | ||
6536B5461B01057500751C4D /* [email protected] */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "[email protected]"; sourceTree = "<group>"; }; | ||
|
@@ -157,6 +163,7 @@ | |
650D6BF91AE9818100F5EF87 /* Base.lproj */, | ||
650D6BDE1AE9813900F5EF87 /* AppDelegate.swift */, | ||
650D6BFC1AE9818100F5EF87 /* Config.swift */, | ||
652BE27D1B1B130C00128B8B /* PopoverTableViewDelegate.swift */, | ||
650D6BE21AE9813900F5EF87 /* MainMenu.xib */, | ||
6569DDFC1AEF9FFA0085C52F /* Custom Views */, | ||
6569DDFB1AEF9FEC0085C52F /* Library */, | ||
|
@@ -249,9 +256,10 @@ | |
6569DDFB1AEF9FEC0085C52F /* Library */ = { | ||
isa = PBXGroup; | ||
children = ( | ||
652BE27F1B1B19E600128B8B /* Drop.swift */, | ||
650D6C011AE9818100F5EF87 /* Networking.swift */, | ||
650D6C071AE9818100F5EF87 /* User.swift */, | ||
6513E43D1AF76635001B8A82 /* Notification.swift */, | ||
650D6C071AE9818100F5EF87 /* User.swift */, | ||
); | ||
name = Library; | ||
sourceTree = "<group>"; | ||
|
@@ -261,6 +269,7 @@ | |
children = ( | ||
650D6BFD1AE9818100F5EF87 /* IconView.swift */, | ||
652BE2791B1AF96700128B8B /* PopoverTableView.swift */, | ||
652BE27B1B1B092400128B8B /* PopoverTableCellView.swift */, | ||
); | ||
name = "Custom Views"; | ||
sourceTree = "<group>"; | ||
|
@@ -479,12 +488,15 @@ | |
files = ( | ||
650D6C101AE9818100F5EF87 /* PreferencesWindowController.swift in Sources */, | ||
652BE27A1B1AF96700128B8B /* PopoverTableView.swift in Sources */, | ||
652BE2801B1B19E600128B8B /* Drop.swift in Sources */, | ||
650D6BDF1AE9813900F5EF87 /* AppDelegate.swift in Sources */, | ||
652BE27C1B1B092400128B8B /* PopoverTableCellView.swift in Sources */, | ||
650D6C0E1AE9818100F5EF87 /* Networking.swift in Sources */, | ||
650D6C0A1AE9818100F5EF87 /* IconView.swift in Sources */, | ||
6513E43E1AF76635001B8A82 /* Notification.swift in Sources */, | ||
650D6C091AE9818100F5EF87 /* Config.swift in Sources */, | ||
650D6C131AE9818100F5EF87 /* User.swift in Sources */, | ||
652BE27E1B1B130C00128B8B /* PopoverTableViewDelegate.swift in Sources */, | ||
6569DDF61AEF6DCB0085C52F /* LoginWindowController.swift in Sources */, | ||
); | ||
runOnlyForDeploymentPostprocessing = 0; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
// | ||
// Drop.swift | ||
// idrop.link | ||
// | ||
// Created by Christian Schulze on 31/05/15. | ||
// Copyright (c) 2015 andinfinity. All rights reserved. | ||
// | ||
|
||
import Cocoa | ||
|
||
class Drop: NSObject { | ||
var dropDate: String? | ||
var name: String? | ||
var _id: String? | ||
var url: String? | ||
var shortId: String? | ||
var type: String? | ||
var path: String? | ||
|
||
override init() { | ||
self.dropDate = nil | ||
self.name = nil | ||
self._id = nil | ||
self.url = nil | ||
self.shortId = nil | ||
self.type = nil | ||
self.path = nil | ||
} | ||
|
||
init(dropDate: String?, name: String?, _id: String?, url: String?, | ||
shortId: String?, type: String?, path: String?) { | ||
self.dropDate = dropDate | ||
self.name = name | ||
self._id = _id | ||
self.url = url | ||
self.shortId = shortId | ||
self.type = type | ||
self.path = path | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
// | ||
// PopoverTableCellView.swift | ||
// idrop.link | ||
// | ||
// Created by Christian Schulze on 31/05/15. | ||
// Copyright (c) 2015 andinfinity. All rights reserved. | ||
// | ||
|
||
import Cocoa | ||
|
||
class PopoverTableCellView: NSTableCellView { | ||
@IBOutlet var imgView:NSImageView? | ||
@IBOutlet var titleTextField:NSTextField? | ||
@IBOutlet var dateTextField:NSTextField? | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.