From 4b3d1b2b162ef4cbea7b5566d116aac262d2d798 Mon Sep 17 00:00:00 2001 From: Rob Warner Date: Wed, 9 Oct 2019 10:24:19 -0400 Subject: [PATCH] Close #55. Use arrows to select column(s) --- Table Tool.xcodeproj/project.pbxproj | 7 +++ Table Tool/Base.lproj/Document.xib | 14 +++--- Table Tool/Document.m | 7 +++ Table Tool/TTTableView.h | 19 ++++++++ Table Tool/TTTableView.m | 67 ++++++++++++++++++++++++++++ 5 files changed, 107 insertions(+), 7 deletions(-) create mode 100644 Table Tool/TTTableView.h create mode 100644 Table Tool/TTTableView.m diff --git a/Table Tool.xcodeproj/project.pbxproj b/Table Tool.xcodeproj/project.pbxproj index e35ccfb..7700c64 100644 --- a/Table Tool.xcodeproj/project.pbxproj +++ b/Table Tool.xcodeproj/project.pbxproj @@ -10,6 +10,7 @@ 5B338F741EF03D8000D40406 /* Constants.m in Sources */ = {isa = PBXBuildFile; fileRef = 5B338F731EF03D8000D40406 /* Constants.m */; }; AA58C3F91CFC4DC600106C66 /* TTFormatViewControllerAccessory.xib in Resources */ = {isa = PBXBuildFile; fileRef = AA58C3F81CFC4DC600106C66 /* TTFormatViewControllerAccessory.xib */; }; AAB016721D057426005E3F7A /* Credits.rtf in Resources */ = {isa = PBXBuildFile; fileRef = AAB016711D057426005E3F7A /* Credits.rtf */; }; + C7F5DC0A234BD37900892C4E /* TTTableView.m in Sources */ = {isa = PBXBuildFile; fileRef = C7F5DC09234BD37900892C4E /* TTTableView.m */; }; E109B48B1B5E4598005B4959 /* CSVConfiguration.m in Sources */ = {isa = PBXBuildFile; fileRef = E109B48A1B5E4598005B4959 /* CSVConfiguration.m */; }; E109B4921B623924005B4959 /* TTFormatViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = E109B4901B623924005B4959 /* TTFormatViewController.m */; }; E109B4931B623924005B4959 /* TTFormatViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = E109B4911B623924005B4959 /* TTFormatViewController.xib */; }; @@ -49,6 +50,8 @@ AA41D3431CF2E7CE00CB3E7D /* Table Tool-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Table Tool-Bridging-Header.h"; sourceTree = ""; }; AA58C3F81CFC4DC600106C66 /* TTFormatViewControllerAccessory.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = TTFormatViewControllerAccessory.xib; sourceTree = ""; }; AAB016711D057426005E3F7A /* Credits.rtf */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.rtf; path = Credits.rtf; sourceTree = ""; }; + C7F5DC08234BD37900892C4E /* TTTableView.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TTTableView.h; sourceTree = ""; }; + C7F5DC09234BD37900892C4E /* TTTableView.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = TTTableView.m; sourceTree = ""; }; E109B4891B5E4598005B4959 /* CSVConfiguration.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CSVConfiguration.h; sourceTree = ""; }; E109B48A1B5E4598005B4959 /* CSVConfiguration.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CSVConfiguration.m; sourceTree = ""; }; E109B48F1B623924005B4959 /* TTFormatViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = TTFormatViewController.h; sourceTree = ""; }; @@ -152,6 +155,8 @@ E1CEF8841B7097280083B957 /* CSVHeuristic.h */, E1CEF8851B7097280083B957 /* CSVHeuristic.m */, AA41D3431CF2E7CE00CB3E7D /* Table Tool-Bridging-Header.h */, + C7F5DC08234BD37900892C4E /* TTTableView.h */, + C7F5DC09234BD37900892C4E /* TTTableView.m */, ); path = "Table Tool"; sourceTree = ""; @@ -254,6 +259,7 @@ developmentRegion = English; hasScannedForEncodings = 0; knownRegions = ( + English, en, Base, ); @@ -308,6 +314,7 @@ E1CEF8861B7097280083B957 /* CSVHeuristic.m in Sources */, E1CC84E41B4A5F2A00ED8314 /* main.m in Sources */, E1CEF87F1B6A23860083B957 /* TTErrorViewController.m in Sources */, + C7F5DC0A234BD37900892C4E /* TTTableView.m in Sources */, E109B48B1B5E4598005B4959 /* CSVConfiguration.m in Sources */, E1CC84E21B4A5F2A00ED8314 /* AppDelegate.m in Sources */, E109B4921B623924005B4959 /* TTFormatViewController.m in Sources */, diff --git a/Table Tool/Base.lproj/Document.xib b/Table Tool/Base.lproj/Document.xib index 3aa9636..ec54dd6 100644 --- a/Table Tool/Base.lproj/Document.xib +++ b/Table Tool/Base.lproj/Document.xib @@ -1,8 +1,8 @@ - + - + @@ -27,11 +27,11 @@ - + - + @@ -46,7 +46,7 @@ - + @@ -75,11 +75,11 @@ -