Selaa lähdekoodia

UIDevice: Cosmetics

Felix Paul Kühne 10 vuotta sitten
vanhempi
commit
fe2988f7d0

+ 2 - 2
Sources/UIDevice+SpeedCategory.h

@@ -1,5 +1,5 @@
 /*****************************************************************************
- * UIDevice+SpeedCategory.h
+ * UIDevice+VLC.h
  * VLC for iOS
  *****************************************************************************
  * Copyright (c) 2013-2015 VideoLAN. All rights reserved.
@@ -12,7 +12,7 @@
 
 #import <UIKit/UIKit.h>
 
-@interface UIDevice (SpeedCategory)
+@interface UIDevice (VLC)
 
 - (int)speedCategory;
 - (NSNumber *)freeDiskspace;

+ 3 - 3
Sources/UIDevice+SpeedCategory.m

@@ -1,5 +1,5 @@
 /*****************************************************************************
- * UIDevice+SpeedCategory.m
+ * UIDevice+VLC
  * VLC for iOS
  *****************************************************************************
  * Copyright (c) 2013-2015 VideoLAN. All rights reserved.
@@ -10,10 +10,10 @@
  * Refer to the COPYING file of the official project for license.
  *****************************************************************************/
 
-#import "UIDevice+SpeedCategory.h"
+#import "UIDevice+VLC.h"
 #import <sys/sysctl.h> // for sysctlbyname
 
-@implementation UIDevice (SpeedCategory)
+@implementation UIDevice (VLC)
 
 - (int)speedCategory
 {

+ 2 - 2
Sources/VLCAppDelegate.m

@@ -2,7 +2,7 @@
  * VLCAppDelegate.m
  * VLC for iOS
  *****************************************************************************
- * Copyright (c) 2013-2014 VideoLAN. All rights reserved.
+ * Copyright (c) 2013-2015 VideoLAN. All rights reserved.
  * $Id$
  *
  * Authors: Felix Paul Kühne <fkuehne # videolan.org>
@@ -18,7 +18,7 @@
 #import "VLCAppDelegate.h"
 #import "VLCMediaFileDiscoverer.h"
 #import "NSString+SupportedMedia.h"
-#import "UIDevice+SpeedCategory.h"
+#import "UIDevice+VLC.h"
 
 #import "VLCPlaylistViewController.h"
 #import "VLCMovieViewController.h"

+ 1 - 1
Sources/VLCBoxTableViewController.m

@@ -14,7 +14,7 @@
 #import "VLCBoxController.h"
 #import "VLCAppDelegate.h"
 #import <SSKeychain/SSKeychain.h>
-#import "UIDevice+SpeedCategory.h"
+#import "UIDevice+VLC.h"
 
 @interface VLCBoxTableViewController () <VLCCloudStorageTableViewCell, BoxAuthorizationViewControllerDelegate>
 {

+ 1 - 1
Sources/VLCDropboxTableViewController.m

@@ -18,7 +18,7 @@
 #import "VLCDropboxController.h"
 #import "VLCAppDelegate.h"
 #import "VLCDropboxConstants.h"
-#import "UIDevice+SpeedCategory.h"
+#import "UIDevice+VLC.h"
 
 @interface VLCDropboxTableViewController () <VLCCloudStorageTableViewCell>
 {

+ 1 - 1
Sources/VLCGoogleDriveTableViewController.m

@@ -15,7 +15,7 @@
 #import "VLCAppDelegate.h"
 #import "GTMOAuth2ViewControllerTouch.h"
 #import "VLCGoogleDriveController.h"
-#import "UIDevice+SpeedCategory.h"
+#import "UIDevice+VLC.h"
 
 @interface VLCGoogleDriveTableViewController () <VLCCloudStorageTableViewCell>
 {

+ 1 - 1
Sources/VLCMovieViewController.m

@@ -19,7 +19,7 @@
 #import "VLCExternalDisplayController.h"
 #import <AVFoundation/AVFoundation.h>
 #import <CommonCrypto/CommonDigest.h>
-#import "UIDevice+SpeedCategory.h"
+#import "UIDevice+VLC.h"
 #import "VLCBugreporter.h"
 #import "VLCThumbnailsCache.h"
 #import "VLCTrackSelectorTableViewCell.h"

+ 1 - 1
Sources/VLCOneDriveTableViewController.m

@@ -17,7 +17,7 @@
 #import "VLCAppDelegate.h"
 #import "VLCOneDriveController.h"
 #import "VLCProgressView.h"
-#import "UIDevice+SpeedCategory.h"
+#import "UIDevice+VLC.h"
 
 @interface VLCOneDriveTableViewController ()
 {

+ 2 - 2
Sources/VLCTrackSelectorHeaderView.m

@@ -2,7 +2,7 @@
  * VLCTrackSelectorHeaderView.m
  * VLC for iOS
  *****************************************************************************
- * Copyright (c) 2014 VideoLAN. All rights reserved.
+ * Copyright (c) 2014-2015 VideoLAN. All rights reserved.
  * $Id$
  *
  * Authors: Felix Paul Kühne <fkuehne # videolan.org>
@@ -11,7 +11,7 @@
  *****************************************************************************/
 
 #import "VLCTrackSelectorHeaderView.h"
-#import "UIDevice+SpeedCategory.h"
+#import "UIDevice+VLC.h"
 
 @implementation VLCTrackSelectorHeaderView
 

+ 7 - 7
VLC for iOS.xcodeproj/project.pbxproj

@@ -207,7 +207,7 @@
 		7D3784C2183A9938009EE944 /* VLCSlider.m in Sources */ = {isa = PBXBuildFile; fileRef = 7D3784BB183A9938009EE944 /* VLCSlider.m */; };
 		7D3784C3183A9938009EE944 /* VLCStatusLabel.m in Sources */ = {isa = PBXBuildFile; fileRef = 7D3784BD183A9938009EE944 /* VLCStatusLabel.m */; };
 		7D3784C8183A9972009EE944 /* NSString+SupportedMedia.m in Sources */ = {isa = PBXBuildFile; fileRef = 7D3784C5183A9972009EE944 /* NSString+SupportedMedia.m */; };
-		7D3784C9183A9972009EE944 /* UIDevice+SpeedCategory.m in Sources */ = {isa = PBXBuildFile; fileRef = 7D3784C7183A9972009EE944 /* UIDevice+SpeedCategory.m */; };
+		7D3784C9183A9972009EE944 /* UIDevice+VLC.m in Sources */ = {isa = PBXBuildFile; fileRef = 7D3784C7183A9972009EE944 /* UIDevice+VLC.m */; };
 		7D3784CC183A99BA009EE944 /* PAPasscodeViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 7D3784CB183A99BA009EE944 /* PAPasscodeViewController.m */; };
 		7D3784E9183A9A15009EE944 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 7D3784E8183A9A15009EE944 /* main.m */; };
 		7D3E6CE518589EE000D584E7 /* AppIcon512x512.png in Resources */ = {isa = PBXBuildFile; fileRef = 7D3E6CE418589EE000D584E7 /* AppIcon512x512.png */; };
@@ -841,8 +841,8 @@
 		7D3784BD183A9938009EE944 /* VLCStatusLabel.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = VLCStatusLabel.m; path = Sources/VLCStatusLabel.m; sourceTree = SOURCE_ROOT; };
 		7D3784C4183A9972009EE944 /* NSString+SupportedMedia.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = "NSString+SupportedMedia.h"; path = "Sources/NSString+SupportedMedia.h"; sourceTree = SOURCE_ROOT; };
 		7D3784C5183A9972009EE944 /* NSString+SupportedMedia.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = "NSString+SupportedMedia.m"; path = "Sources/NSString+SupportedMedia.m"; sourceTree = SOURCE_ROOT; };
-		7D3784C6183A9972009EE944 /* UIDevice+SpeedCategory.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = "UIDevice+SpeedCategory.h"; path = "Sources/UIDevice+SpeedCategory.h"; sourceTree = SOURCE_ROOT; };
-		7D3784C7183A9972009EE944 /* UIDevice+SpeedCategory.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = "UIDevice+SpeedCategory.m"; path = "Sources/UIDevice+SpeedCategory.m"; sourceTree = SOURCE_ROOT; };
+		7D3784C6183A9972009EE944 /* UIDevice+VLC.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = "UIDevice+VLC.h"; path = "Sources/UIDevice+VLC.h"; sourceTree = SOURCE_ROOT; };
+		7D3784C7183A9972009EE944 /* UIDevice+VLC.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = "UIDevice+VLC.m"; path = "Sources/UIDevice+VLC.m"; sourceTree = SOURCE_ROOT; };
 		7D3784CA183A99BA009EE944 /* PAPasscodeViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = PAPasscodeViewController.h; path = PAPasscode/PAPasscodeViewController.h; sourceTree = SOURCE_ROOT; };
 		7D3784CB183A99BA009EE944 /* PAPasscodeViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = PAPasscodeViewController.m; path = PAPasscode/PAPasscodeViewController.m; sourceTree = SOURCE_ROOT; };
 		7D3784D9183A99D2009EE944 /* papasscode_background.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = papasscode_background.png; sourceTree = "<group>"; };
@@ -2124,7 +2124,7 @@
 				7D93F0401A618A2C007FDC35 /* VersionInfo.plist */,
 			);
 			name = MediaLibrary.momd;
-			path = "External/MediaLibraryKit/MediaLibrary.momd";
+			path = External/MediaLibraryKit/MediaLibrary.momd;
 			sourceTree = "<group>";
 		};
 		7D94FCD216DE7D1000F2623B = {
@@ -2621,8 +2621,8 @@
 				493B1A1C195D06B1000A491A /* BasicUPnPDevice+VLC.m */,
 				7D3784C4183A9972009EE944 /* NSString+SupportedMedia.h */,
 				7D3784C5183A9972009EE944 /* NSString+SupportedMedia.m */,
-				7D3784C6183A9972009EE944 /* UIDevice+SpeedCategory.h */,
-				7D3784C7183A9972009EE944 /* UIDevice+SpeedCategory.m */,
+				7D3784C6183A9972009EE944 /* UIDevice+VLC.h */,
+				7D3784C7183A9972009EE944 /* UIDevice+VLC.m */,
 				7D168F7218D4A317003FAF59 /* UIImage+Blur.h */,
 				7D168F7318D4A33F003FAF59 /* UIImage+Blur.m */,
 				7DF9352D1958AB0600E60FD4 /* UIColor+Presets.h */,
@@ -3230,7 +3230,7 @@
 				7D3784C2183A9938009EE944 /* VLCSlider.m in Sources */,
 				7D3784C3183A9938009EE944 /* VLCStatusLabel.m in Sources */,
 				7D3784C8183A9972009EE944 /* NSString+SupportedMedia.m in Sources */,
-				7D3784C9183A9972009EE944 /* UIDevice+SpeedCategory.m in Sources */,
+				7D3784C9183A9972009EE944 /* UIDevice+VLC.m in Sources */,
 				7D3784CC183A99BA009EE944 /* PAPasscodeViewController.m in Sources */,
 				7D3784E9183A9A15009EE944 /* main.m in Sources */,
 				7D30F3C2183AB24C00FFC021 /* VLCHTTPConnection.m in Sources */,