// // DepotModel.swift // DocHub // // Created by Tristan Juricek on 6/11/14. // Copyright (c) 2014 Perforce. All rights reserved. // import Foundation // Used to represent Perforce depots in a "library" that represents a Perforce // connection. class P4Depot : NSObject, HasDepotPath { var time: Int var type: String var desc: String var name: String var depotPath: String { return "//\(name)" } init(time tm:Int, type ty:String, desc de:String, name na:String) { time = tm type = ty desc = de name = na } }
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#5 | 9560 | tjuricek |
Setup parent reference to Library protocol, and handle using a separate model class. Adds a "library" ID to the title bar, which may make sense. |
||
#4 | 9546 | tjuricek | Apply correct header styling for the source list, and cache the areas with each library call. | ||
#3 | 9545 | tjuricek |
Use the left column to navigate p4 servers as "libraries" with their depots as "areas". I've had to stop using the output of login -p at the moment, since it doesn't quite work with the Objective-C API in lieu of a password. |
||
#2 | 9420 | tjuricek |
Minimal UI framework. Lesson learned: if you're not using nibs, thou shalt access thy application as NSApplication.sharedApplication, or thy will encounter strange resizing exceptions. |
||
#1 | 9397 | tjuricek | Basic p4d interaction with p4 using Swift |