Commit 50085162 authored by Alf Watt's avatar Alf Watt

Remove these, they're dangerous.

parent 77bf5ca2
Pipeline #3052561 pending
......@@ -7,8 +7,6 @@ extern NSString* const ILLiveBundleURLKey;
/*! @const notification sent when a given plugin resource has been updated */
extern NSString* const ILLiveBundleResourceUpdateNote;
extern NSString* const NSBundlePlistType;
@interface NSBundle (LiveBundle) <NSURLDownloadDelegate>
/*! @returns the NSBundle in the current application with the named resource of the type provided */
......@@ -26,9 +24,6 @@ extern NSString* const NSBundlePlistType;
/*! @returns the temp path for downloading a particular URL */
- (NSString*) tempPathForResourceURL:(NSURL*) download;
/*! @returns the live file: URL for the resource specified */
- (NSURL*) liveURLForResource:(NSString*) resource withExtension:(NSString*) type;
/*! @returns the live path for the remote URL specified */
- (NSString*) livePathForResourceURL:(NSURL*) download;
......
......@@ -5,8 +5,6 @@ NSString* const ILLiveBundles = @"LiveBundles";
NSString* const ILLiveBundleURLKey = @"ILLiveBundleURLKey";
NSString* const ILLiveBundleResourceUpdateNote = @"PluginLiveBundleResourceUpdateNote";
NSString* const NSBundlePlistType = @"plist";
#pragma mark -
@implementation NSBundle (LiveBundle)
......@@ -180,11 +178,6 @@ exit:
return liveResourcePath;
}
- (NSURL*) liveURLForResource:(NSString*) resource withExtension:(NSString*) type
{
return [NSURL fileURLWithPath:[self livePathForResource:resource ofType:type]];
}
#pragma mark -
- (void)downloadDidBegin:(NSURLDownload*) download
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment