From 7d8f78babee7b0d406a7c7e0c93c35a0036e82e9 Mon Sep 17 00:00:00 2001 From: yaqinking Date: Sat, 19 Mar 2016 23:37:52 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=AD=A3=E5=BA=A6=E5=85=B3?= =?UTF-8?q?=E9=94=AE=E5=AD=97=E5=8A=9F=E8=83=BD=EF=BC=88=E6=90=9C=E7=B4=A2?= =?UTF-8?q?=E6=A0=87=E9=A2=98=EF=BC=8B=E5=AD=97=E5=B9=95=E7=BB=84=EF=BC=89?= =?UTF-8?q?=EF=BC=8C=E6=89=8B=E5=8A=A8=E6=A3=80=E6=9F=A5=E6=96=B0=E6=95=B0?= =?UTF-8?q?=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- DMHY.xcodeproj/project.pbxproj | 12 ++ DMHY/Base.lproj/Main.storyboard | 329 +++++++++++++++++++++++++++++- DMHY/DMHYAPI.h | 42 +++- DMHY/DMHYCoreDataStackManager.m | 4 +- DMHY/DMHYTool.h | 12 +- DMHY/DMHYTool.m | 32 ++- DMHY/Info.plist | 4 +- DMHY/KeywordViewController.h | 13 ++ DMHY/KeywordViewController.m | 351 ++++++++++++++++++++++++++++++++ DMHY/Model/Bangumi.h | 27 +++ DMHY/Model/Bangumi.m | 17 ++ DMHY/PreferenceController.m | 1 + DMHY/SideViewController.m | 10 + DMHY/ViewController.m | 72 ++++--- 14 files changed, 881 insertions(+), 45 deletions(-) create mode 100644 DMHY/KeywordViewController.h create mode 100644 DMHY/KeywordViewController.m create mode 100644 DMHY/Model/Bangumi.h create mode 100644 DMHY/Model/Bangumi.m diff --git a/DMHY.xcodeproj/project.pbxproj b/DMHY.xcodeproj/project.pbxproj index 5a63067..050434a 100644 --- a/DMHY.xcodeproj/project.pbxproj +++ b/DMHY.xcodeproj/project.pbxproj @@ -14,6 +14,8 @@ F42DCC451BB26DD9004EC373 /* DMHYTorrent.m in Sources */ = {isa = PBXBuildFile; fileRef = F42DCC3F1BB26DD9004EC373 /* DMHYTorrent.m */; }; F42DCC461BB26DD9004EC373 /* DMHYKeyword+CoreDataProperties.m in Sources */ = {isa = PBXBuildFile; fileRef = F42DCC411BB26DD9004EC373 /* DMHYKeyword+CoreDataProperties.m */; }; F42DCC471BB26DD9004EC373 /* DMHYKeyword.m in Sources */ = {isa = PBXBuildFile; fileRef = F42DCC431BB26DD9004EC373 /* DMHYKeyword.m */; }; + F44C9F241C9E3EFD007E1CAA /* KeywordViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = F44C9F231C9E3EFD007E1CAA /* KeywordViewController.m */; }; + F44C9F271C9E7624007E1CAA /* Bangumi.m in Sources */ = {isa = PBXBuildFile; fileRef = F44C9F261C9E7624007E1CAA /* Bangumi.m */; }; F483EA1A1BAD92C100D02E60 /* SideViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = F483EA191BAD92C100D02E60 /* SideViewController.m */; }; F483EA1D1BAD9DB200D02E60 /* MainSplitViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = F483EA1C1BAD9DB200D02E60 /* MainSplitViewController.m */; }; F48F8C2B1BA03643002C96C3 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = F48F8C2A1BA03643002C96C3 /* AppDelegate.m */; }; @@ -47,6 +49,10 @@ F42DCC411BB26DD9004EC373 /* DMHYKeyword+CoreDataProperties.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = "DMHYKeyword+CoreDataProperties.m"; path = "Model/DMHYKeyword+CoreDataProperties.m"; sourceTree = ""; }; F42DCC421BB26DD9004EC373 /* DMHYKeyword.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = DMHYKeyword.h; path = Model/DMHYKeyword.h; sourceTree = ""; }; F42DCC431BB26DD9004EC373 /* DMHYKeyword.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = DMHYKeyword.m; path = Model/DMHYKeyword.m; sourceTree = ""; }; + F44C9F221C9E3EFD007E1CAA /* KeywordViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = KeywordViewController.h; sourceTree = ""; }; + F44C9F231C9E3EFD007E1CAA /* KeywordViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = KeywordViewController.m; sourceTree = ""; }; + F44C9F251C9E7624007E1CAA /* Bangumi.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = Bangumi.h; path = Model/Bangumi.h; sourceTree = ""; }; + F44C9F261C9E7624007E1CAA /* Bangumi.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = Bangumi.m; path = Model/Bangumi.m; sourceTree = ""; }; F483EA181BAD92C100D02E60 /* SideViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SideViewController.h; sourceTree = ""; }; F483EA191BAD92C100D02E60 /* SideViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SideViewController.m; sourceTree = ""; }; F483EA1B1BAD9DB200D02E60 /* MainSplitViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MainSplitViewController.h; sourceTree = ""; }; @@ -121,6 +127,8 @@ F42DCC431BB26DD9004EC373 /* DMHYKeyword.m */, F48F8C431BA03705002C96C3 /* TorrentItem.h */, F48F8C441BA03705002C96C3 /* TorrentItem.m */, + F44C9F251C9E7624007E1CAA /* Bangumi.h */, + F44C9F261C9E7624007E1CAA /* Bangumi.m */, ); name = Model; sourceTree = ""; @@ -152,6 +160,8 @@ F48F8C2A1BA03643002C96C3 /* AppDelegate.m */, F48F8C2F1BA03643002C96C3 /* ViewController.h */, F48F8C301BA03643002C96C3 /* ViewController.m */, + F44C9F221C9E3EFD007E1CAA /* KeywordViewController.h */, + F44C9F231C9E3EFD007E1CAA /* KeywordViewController.m */, F4DEA05A1BA99890008E89B8 /* PreferenceController.h */, F4DEA05B1BA99890008E89B8 /* PreferenceController.m */, F48F8C351BA03643002C96C3 /* Assets.xcassets */, @@ -324,6 +334,7 @@ isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( + F44C9F271C9E7624007E1CAA /* Bangumi.m in Sources */, F48F8C311BA03643002C96C3 /* ViewController.m in Sources */, F48F8C4C1BA05FB9002C96C3 /* NavigationView.m in Sources */, F48F8C471BA03705002C96C3 /* TorrentItem.m in Sources */, @@ -340,6 +351,7 @@ F42DCC441BB26DD9004EC373 /* DMHYTorrent+CoreDataProperties.m in Sources */, F483EA1D1BAD9DB200D02E60 /* MainSplitViewController.m in Sources */, F42DCC111BB180A4004EC373 /* DMHYCoreDataStackManager.m in Sources */, + F44C9F241C9E3EFD007E1CAA /* KeywordViewController.m in Sources */, F48F8C341BA03643002C96C3 /* DMHY.xcdatamodeld in Sources */, ); runOnlyForDeploymentPostprocessing = 0; diff --git a/DMHY/Base.lproj/Main.storyboard b/DMHY/Base.lproj/Main.storyboard index 84d1650..83e5e3e 100644 --- a/DMHY/Base.lproj/Main.storyboard +++ b/DMHY/Base.lproj/Main.storyboard @@ -87,6 +87,13 @@ + + + + + + + @@ -433,6 +440,312 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -537,7 +850,7 @@