Skip to content

Commit

Permalink
refactor: 结构调整 & 删除无用代码
Browse files Browse the repository at this point in the history
  • Loading branch information
XVXVXXX committed Jul 18, 2017
1 parent dc37206 commit 4bccbcf
Show file tree
Hide file tree
Showing 6 changed files with 141 additions and 301 deletions.
387 changes: 141 additions & 246 deletions .idea/workspace.xml

Large diffs are not rendered by default.

6 changes: 0 additions & 6 deletions DoubanFM.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
F9DC54A31BB2A416000400E1 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = F9DC54A21BB2A416000400E1 /* Main.storyboard */; };
F9F85B511BB2A08F00D0C0DE /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = F9F85B501BB2A08F00D0C0DE /* main.m */; };
F9F85B541BB2A08F00D0C0DE /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = F9F85B531BB2A08F00D0C0DE /* AppDelegate.m */; };
F9F85B571BB2A08F00D0C0DE /* ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = F9F85B561BB2A08F00D0C0DE /* ViewController.m */; };
F9F85B5C1BB2A08F00D0C0DE /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = F9F85B5B1BB2A08F00D0C0DE /* Assets.xcassets */; };
F9F85B5F1BB2A08F00D0C0DE /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = F9F85B5D1BB2A08F00D0C0DE /* LaunchScreen.storyboard */; };
F9F85B6A1BB2A08F00D0C0DE /* DoubanFMTests.m in Sources */ = {isa = PBXBuildFile; fileRef = F9F85B691BB2A08F00D0C0DE /* DoubanFMTests.m */; };
Expand Down Expand Up @@ -98,8 +97,6 @@
F9F85B501BB2A08F00D0C0DE /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
F9F85B521BB2A08F00D0C0DE /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = "<group>"; };
F9F85B531BB2A08F00D0C0DE /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = "<group>"; };
F9F85B551BB2A08F00D0C0DE /* ViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ViewController.h; sourceTree = "<group>"; };
F9F85B561BB2A08F00D0C0DE /* ViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ViewController.m; sourceTree = "<group>"; };
F9F85B5B1BB2A08F00D0C0DE /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
F9F85B5E1BB2A08F00D0C0DE /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
F9F85B601BB2A08F00D0C0DE /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
Expand Down Expand Up @@ -270,8 +267,6 @@
F9DC54911BB2A3CF000400E1 /* View */,
F9F85B521BB2A08F00D0C0DE /* AppDelegate.h */,
F9F85B531BB2A08F00D0C0DE /* AppDelegate.m */,
F9F85B551BB2A08F00D0C0DE /* ViewController.h */,
F9F85B561BB2A08F00D0C0DE /* ViewController.m */,
F9F85B5B1BB2A08F00D0C0DE /* Assets.xcassets */,
F9F85B5D1BB2A08F00D0C0DE /* LaunchScreen.storyboard */,
F9F85B601BB2A08F00D0C0DE /* Info.plist */,
Expand Down Expand Up @@ -494,7 +489,6 @@
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
F9F85B571BB2A08F00D0C0DE /* ViewController.m in Sources */,
F9DC54761BB2A3A9000400E1 /* CDSideBarController.m in Sources */,
F9DC549B1BB2A3D0000400E1 /* DFMNetworkManager.m in Sources */,
F9DC549D1BB2A3D0000400E1 /* DFMProtocolClass.m in Sources */,
Expand Down
1 change: 0 additions & 1 deletion DoubanFM/Player/DFMPlayerController.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
@interface DFMPlayerController : MPMoviePlayerController
@property id<DoubanDelegate> songInfoDelegate;

@property (nonatomic, strong, readonly) NSArray<DFMSongInfo *> *songList;
@property (nonatomic, strong, readonly) DFMSongInfo *currentSong;

+ (instancetype)sharedController;
Expand Down
6 changes: 0 additions & 6 deletions DoubanFM/Player/DFMPlayerDataService.m
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,6 @@
#import "DFMChannelDataCenter.h"
#import "NSObject+YYModel.h"
#import "AFHTTPRequestOperationManager.h"
#import "BlocksKit+UIKit.h"
#import "DFMUser.h"

@interface DFMPlayerDataService ()
@property (nonatomic, strong) NSArray<DFMSongInfo *> *songList;
@end

@implementation DFMPlayerDataService

Expand Down
15 changes: 0 additions & 15 deletions DoubanFM/ViewController.h

This file was deleted.

27 changes: 0 additions & 27 deletions DoubanFM/ViewController.m

This file was deleted.

0 comments on commit 4bccbcf

Please sign in to comment.