diff --git a/demo/KSYHTTPCacheDemo.xcodeproj/project.pbxproj b/demo/KSYHTTPCacheDemo.xcodeproj/project.pbxproj new file mode 100644 index 0000000..6fc89c3 --- /dev/null +++ b/demo/KSYHTTPCacheDemo.xcodeproj/project.pbxproj @@ -0,0 +1,379 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 46; + objects = { + +/* Begin PBXBuildFile section */ + 587669191F8E367F001B9E05 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 587669011F8E367F001B9E05 /* AppDelegate.m */; }; + 5876691A1F8E367F001B9E05 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 587669021F8E367F001B9E05 /* Assets.xcassets */; }; + 5876691B1F8E367F001B9E05 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 587669031F8E367F001B9E05 /* LaunchScreen.storyboard */; }; + 5876691C1F8E367F001B9E05 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 587669051F8E367F001B9E05 /* Main.storyboard */; }; + 5876691D1F8E367F001B9E05 /* CachedFileListViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 587669081F8E367F001B9E05 /* CachedFileListViewController.m */; }; + 5876691E1F8E367F001B9E05 /* CacheSettingsViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 5876690A1F8E367F001B9E05 /* CacheSettingsViewController.m */; }; + 5876691F1F8E367F001B9E05 /* CachingFileListViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 5876690C1F8E367F001B9E05 /* CachingFileListViewController.m */; }; + 587669201F8E367F001B9E05 /* Info.plist in Resources */ = {isa = PBXBuildFile; fileRef = 5876690D1F8E367F001B9E05 /* Info.plist */; }; + 587669211F8E367F001B9E05 /* KSYPlayerVC.m in Sources */ = {isa = PBXBuildFile; fileRef = 5876690F1F8E367F001B9E05 /* KSYPlayerVC.m */; }; + 587669221F8E367F001B9E05 /* KSYProgressView.m in Sources */ = {isa = PBXBuildFile; fileRef = 587669111F8E367F001B9E05 /* KSYProgressView.m */; }; + 587669231F8E367F001B9E05 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 587669121F8E367F001B9E05 /* main.m */; }; + 587669241F8E367F001B9E05 /* SamplesViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 587669141F8E367F001B9E05 /* SamplesViewController.m */; }; + 587669251F8E367F001B9E05 /* ShowFileDownloader.m in Sources */ = {isa = PBXBuildFile; fileRef = 587669161F8E367F001B9E05 /* ShowFileDownloader.m */; }; + 587669261F8E367F001B9E05 /* ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 587669181F8E367F001B9E05 /* ViewController.m */; }; + B0E45AA51DD59C8200D48A5E /* libstdc++.6.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = B0E45AA41DD59C8200D48A5E /* libstdc++.6.tbd */; }; +/* End PBXBuildFile section */ + +/* Begin PBXFileReference section */ + 587669001F8E367F001B9E05 /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = ""; }; + 587669011F8E367F001B9E05 /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = ""; }; + 587669021F8E367F001B9E05 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; + 587669041F8E367F001B9E05 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; + 587669061F8E367F001B9E05 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; + 587669071F8E367F001B9E05 /* CachedFileListViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CachedFileListViewController.h; sourceTree = ""; }; + 587669081F8E367F001B9E05 /* CachedFileListViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CachedFileListViewController.m; sourceTree = ""; }; + 587669091F8E367F001B9E05 /* CacheSettingsViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CacheSettingsViewController.h; sourceTree = ""; }; + 5876690A1F8E367F001B9E05 /* CacheSettingsViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CacheSettingsViewController.m; sourceTree = ""; }; + 5876690B1F8E367F001B9E05 /* CachingFileListViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CachingFileListViewController.h; sourceTree = ""; }; + 5876690C1F8E367F001B9E05 /* CachingFileListViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CachingFileListViewController.m; sourceTree = ""; }; + 5876690D1F8E367F001B9E05 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + 5876690E1F8E367F001B9E05 /* KSYPlayerVC.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = KSYPlayerVC.h; sourceTree = ""; }; + 5876690F1F8E367F001B9E05 /* KSYPlayerVC.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = KSYPlayerVC.m; sourceTree = ""; }; + 587669101F8E367F001B9E05 /* KSYProgressView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = KSYProgressView.h; sourceTree = ""; }; + 587669111F8E367F001B9E05 /* KSYProgressView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = KSYProgressView.m; sourceTree = ""; }; + 587669121F8E367F001B9E05 /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; + 587669131F8E367F001B9E05 /* SamplesViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SamplesViewController.h; sourceTree = ""; }; + 587669141F8E367F001B9E05 /* SamplesViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SamplesViewController.m; sourceTree = ""; }; + 587669151F8E367F001B9E05 /* ShowFileDownloader.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ShowFileDownloader.h; sourceTree = ""; }; + 587669161F8E367F001B9E05 /* ShowFileDownloader.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ShowFileDownloader.m; sourceTree = ""; }; + 587669171F8E367F001B9E05 /* ViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ViewController.h; sourceTree = ""; }; + 587669181F8E367F001B9E05 /* ViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ViewController.m; sourceTree = ""; }; + 587669291F8E386B001B9E05 /* KSYHTTPCacheDemo.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = KSYHTTPCacheDemo.app; sourceTree = BUILT_PRODUCTS_DIR; }; + B0E45AA41DD59C8200D48A5E /* libstdc++.6.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = "libstdc++.6.tbd"; path = "usr/lib/libstdc++.6.tbd"; sourceTree = SDKROOT; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + B0E45A611DD59AC600D48A5E /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + B0E45AA51DD59C8200D48A5E /* libstdc++.6.tbd in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 587668FF1F8E367F001B9E05 /* KSYHTTPCacheDemo */ = { + isa = PBXGroup; + children = ( + 587669001F8E367F001B9E05 /* AppDelegate.h */, + 587669011F8E367F001B9E05 /* AppDelegate.m */, + 587669021F8E367F001B9E05 /* Assets.xcassets */, + 587669031F8E367F001B9E05 /* LaunchScreen.storyboard */, + 587669051F8E367F001B9E05 /* Main.storyboard */, + 587669071F8E367F001B9E05 /* CachedFileListViewController.h */, + 587669081F8E367F001B9E05 /* CachedFileListViewController.m */, + 587669091F8E367F001B9E05 /* CacheSettingsViewController.h */, + 5876690A1F8E367F001B9E05 /* CacheSettingsViewController.m */, + 5876690B1F8E367F001B9E05 /* CachingFileListViewController.h */, + 5876690C1F8E367F001B9E05 /* CachingFileListViewController.m */, + 5876690D1F8E367F001B9E05 /* Info.plist */, + 5876690E1F8E367F001B9E05 /* KSYPlayerVC.h */, + 5876690F1F8E367F001B9E05 /* KSYPlayerVC.m */, + 587669101F8E367F001B9E05 /* KSYProgressView.h */, + 587669111F8E367F001B9E05 /* KSYProgressView.m */, + 587669121F8E367F001B9E05 /* main.m */, + 587669131F8E367F001B9E05 /* SamplesViewController.h */, + 587669141F8E367F001B9E05 /* SamplesViewController.m */, + 587669151F8E367F001B9E05 /* ShowFileDownloader.h */, + 587669161F8E367F001B9E05 /* ShowFileDownloader.m */, + 587669171F8E367F001B9E05 /* ViewController.h */, + 587669181F8E367F001B9E05 /* ViewController.m */, + ); + path = KSYHTTPCacheDemo; + sourceTree = ""; + }; + B0E45A5B1DD59AC600D48A5E = { + isa = PBXGroup; + children = ( + 587668FF1F8E367F001B9E05 /* KSYHTTPCacheDemo */, + B0E45A9D1DD59C2600D48A5E /* Frameworks */, + 587669291F8E386B001B9E05 /* KSYHTTPCacheDemo.app */, + ); + sourceTree = ""; + }; + B0E45A9D1DD59C2600D48A5E /* Frameworks */ = { + isa = PBXGroup; + children = ( + B0E45AA41DD59C8200D48A5E /* libstdc++.6.tbd */, + ); + name = Frameworks; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + B0E45A631DD59AC600D48A5E /* KSYHTTPCacheDemo */ = { + isa = PBXNativeTarget; + buildConfigurationList = B0E45A7B1DD59AC700D48A5E /* Build configuration list for PBXNativeTarget "KSYHTTPCacheDemo" */; + buildPhases = ( + B0E45A601DD59AC600D48A5E /* Sources */, + B0E45A611DD59AC600D48A5E /* Frameworks */, + B0E45A621DD59AC600D48A5E /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = KSYHTTPCacheDemo; + productName = demo; + productReference = 587669291F8E386B001B9E05 /* KSYHTTPCacheDemo.app */; + productType = "com.apple.product-type.application"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + B0E45A5C1DD59AC600D48A5E /* Project object */ = { + isa = PBXProject; + attributes = { + LastUpgradeCheck = 0810; + ORGANIZATIONNAME = kingsoft; + TargetAttributes = { + B0E45A631DD59AC600D48A5E = { + CreatedOnToolsVersion = 8.1; + DevelopmentTeam = ZGJ54Q7R45; + ProvisioningStyle = Automatic; + SystemCapabilities = { + com.apple.BackgroundModes = { + enabled = 1; + }; + }; + }; + }; + }; + buildConfigurationList = B0E45A5F1DD59AC600D48A5E /* Build configuration list for PBXProject "KSYHTTPCacheDemo" */; + compatibilityVersion = "Xcode 3.2"; + developmentRegion = English; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = B0E45A5B1DD59AC600D48A5E; + productRefGroup = B0E45A5B1DD59AC600D48A5E; + projectDirPath = ""; + projectRoot = ""; + targets = ( + B0E45A631DD59AC600D48A5E /* KSYHTTPCacheDemo */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + B0E45A621DD59AC600D48A5E /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 587669201F8E367F001B9E05 /* Info.plist in Resources */, + 5876691C1F8E367F001B9E05 /* Main.storyboard in Resources */, + 5876691A1F8E367F001B9E05 /* Assets.xcassets in Resources */, + 5876691B1F8E367F001B9E05 /* LaunchScreen.storyboard in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + B0E45A601DD59AC600D48A5E /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 587669251F8E367F001B9E05 /* ShowFileDownloader.m in Sources */, + 5876691E1F8E367F001B9E05 /* CacheSettingsViewController.m in Sources */, + 5876691D1F8E367F001B9E05 /* CachedFileListViewController.m in Sources */, + 5876691F1F8E367F001B9E05 /* CachingFileListViewController.m in Sources */, + 587669261F8E367F001B9E05 /* ViewController.m in Sources */, + 587669221F8E367F001B9E05 /* KSYProgressView.m in Sources */, + 587669191F8E367F001B9E05 /* AppDelegate.m in Sources */, + 587669231F8E367F001B9E05 /* main.m in Sources */, + 587669241F8E367F001B9E05 /* SamplesViewController.m in Sources */, + 587669211F8E367F001B9E05 /* KSYPlayerVC.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXVariantGroup section */ + 587669031F8E367F001B9E05 /* LaunchScreen.storyboard */ = { + isa = PBXVariantGroup; + children = ( + 587669041F8E367F001B9E05 /* Base */, + ); + name = LaunchScreen.storyboard; + sourceTree = ""; + }; + 587669051F8E367F001B9E05 /* Main.storyboard */ = { + isa = PBXVariantGroup; + children = ( + 587669061F8E367F001B9E05 /* Base */, + ); + name = Main.storyboard; + sourceTree = ""; + }; +/* End PBXVariantGroup section */ + +/* Begin XCBuildConfiguration section */ + B0E45A791DD59AC700D48A5E /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_NONNULL = YES; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_SUSPICIOUS_MOVES = YES; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = dwarf; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_TESTABILITY = YES; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_DYNAMIC_NO_PIC = NO; + GCC_NO_COMMON_BLOCKS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 7.0; + MTL_ENABLE_DEBUG_INFO = YES; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = iphoneos; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Debug; + }; + B0E45A7A1DD59AC700D48A5E /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_NONNULL = YES; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_SUSPICIOUS_MOVES = YES; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + ENABLE_NS_ASSERTIONS = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_NO_COMMON_BLOCKS = YES; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 7.0; + MTL_ENABLE_DEBUG_INFO = NO; + SDKROOT = iphoneos; + TARGETED_DEVICE_FAMILY = "1,2"; + VALIDATE_PRODUCT = YES; + }; + name = Release; + }; + B0E45A7C1DD59AC700D48A5E /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + DEVELOPMENT_TEAM = ZGJ54Q7R45; + ENABLE_BITCODE = YES; + FRAMEWORK_SEARCH_PATHS = ( + "$(inherited)", + "$(PROJECT_DIR)", + ); + INFOPLIST_FILE = "$(SRCROOT)/KSYHTTPCacheDemo/Info.plist"; + IPHONEOS_DEPLOYMENT_TARGET = 7.0; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = com.ksyun.ios.KSYHTTPCacheDemo; + PRODUCT_NAME = "$(TARGET_NAME)"; + PROVISIONING_PROFILE = ""; + }; + name = Debug; + }; + B0E45A7D1DD59AC700D48A5E /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + DEVELOPMENT_TEAM = ZGJ54Q7R45; + ENABLE_BITCODE = YES; + FRAMEWORK_SEARCH_PATHS = ( + "$(inherited)", + "$(PROJECT_DIR)", + ); + INFOPLIST_FILE = "$(SRCROOT)/KSYHTTPCacheDemo/Info.plist"; + IPHONEOS_DEPLOYMENT_TARGET = 7.0; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = com.ksyun.ios.KSYHTTPCacheDemo; + PRODUCT_NAME = "$(TARGET_NAME)"; + PROVISIONING_PROFILE = ""; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + B0E45A5F1DD59AC600D48A5E /* Build configuration list for PBXProject "KSYHTTPCacheDemo" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + B0E45A791DD59AC700D48A5E /* Debug */, + B0E45A7A1DD59AC700D48A5E /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + B0E45A7B1DD59AC700D48A5E /* Build configuration list for PBXNativeTarget "KSYHTTPCacheDemo" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + B0E45A7C1DD59AC700D48A5E /* Debug */, + B0E45A7D1DD59AC700D48A5E /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = B0E45A5C1DD59AC600D48A5E /* Project object */; +} diff --git a/demo/KSYHTTPCacheDemo.xcodeproj/xcshareddata/xcschemes/KSYHTTPCacheDemo.xcscheme b/demo/KSYHTTPCacheDemo.xcodeproj/xcshareddata/xcschemes/KSYHTTPCacheDemo.xcscheme new file mode 100644 index 0000000..8a8a8ff --- /dev/null +++ b/demo/KSYHTTPCacheDemo.xcodeproj/xcshareddata/xcschemes/KSYHTTPCacheDemo.xcscheme @@ -0,0 +1,93 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/demo/demo/AppDelegate.h b/demo/KSYHTTPCacheDemo/AppDelegate.h similarity index 100% rename from demo/demo/AppDelegate.h rename to demo/KSYHTTPCacheDemo/AppDelegate.h diff --git a/demo/demo/AppDelegate.m b/demo/KSYHTTPCacheDemo/AppDelegate.m similarity index 91% rename from demo/demo/AppDelegate.m rename to demo/KSYHTTPCacheDemo/AppDelegate.m index 13aed15..44400fb 100644 --- a/demo/demo/AppDelegate.m +++ b/demo/KSYHTTPCacheDemo/AppDelegate.m @@ -8,6 +8,7 @@ #import "AppDelegate.h" #import +#import @interface AppDelegate () @property (nonatomic, strong) NSTimer *timer; @@ -16,8 +17,14 @@ @interface AppDelegate () @implementation AppDelegate - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { + + BuglyConfig * cfg = [[BuglyConfig alloc] init]; + cfg.channel = @"public"; + [Bugly startWithAppId:@"2735967241" config:cfg]; + // Override point for customization after application launch. [[KSYHTTPProxyService sharedInstance] setCacheRoot:[NSTemporaryDirectory() stringByAppendingPathComponent:@"cachetest"]]; +// [KSYHTTPProxyService sharedInstance].ignoreURLParamter = YES; //不设置时为NO,如果要忽略http url参数,将此属性设置为YES [[KSYHTTPProxyService sharedInstance] startServer]; // //设置请求头 diff --git a/demo/demo/Assets.xcassets/AppIcon.appiconset/Contents.json b/demo/KSYHTTPCacheDemo/Assets.xcassets/AppIcon.appiconset/Contents.json similarity index 100% rename from demo/demo/Assets.xcassets/AppIcon.appiconset/Contents.json rename to demo/KSYHTTPCacheDemo/Assets.xcassets/AppIcon.appiconset/Contents.json diff --git a/demo/demo/Base.lproj/LaunchScreen.storyboard b/demo/KSYHTTPCacheDemo/Base.lproj/LaunchScreen.storyboard similarity index 100% rename from demo/demo/Base.lproj/LaunchScreen.storyboard rename to demo/KSYHTTPCacheDemo/Base.lproj/LaunchScreen.storyboard diff --git a/demo/demo/Base.lproj/Main.storyboard b/demo/KSYHTTPCacheDemo/Base.lproj/Main.storyboard similarity index 100% rename from demo/demo/Base.lproj/Main.storyboard rename to demo/KSYHTTPCacheDemo/Base.lproj/Main.storyboard diff --git a/demo/demo/CacheSettingsViewController.h b/demo/KSYHTTPCacheDemo/CacheSettingsViewController.h similarity index 100% rename from demo/demo/CacheSettingsViewController.h rename to demo/KSYHTTPCacheDemo/CacheSettingsViewController.h diff --git a/demo/demo/CacheSettingsViewController.m b/demo/KSYHTTPCacheDemo/CacheSettingsViewController.m similarity index 100% rename from demo/demo/CacheSettingsViewController.m rename to demo/KSYHTTPCacheDemo/CacheSettingsViewController.m diff --git a/demo/demo/CachedFileListViewController.h b/demo/KSYHTTPCacheDemo/CachedFileListViewController.h similarity index 100% rename from demo/demo/CachedFileListViewController.h rename to demo/KSYHTTPCacheDemo/CachedFileListViewController.h diff --git a/demo/demo/CachedFileListViewController.m b/demo/KSYHTTPCacheDemo/CachedFileListViewController.m similarity index 100% rename from demo/demo/CachedFileListViewController.m rename to demo/KSYHTTPCacheDemo/CachedFileListViewController.m diff --git a/demo/demo/CachingFileListViewController.h b/demo/KSYHTTPCacheDemo/CachingFileListViewController.h similarity index 100% rename from demo/demo/CachingFileListViewController.h rename to demo/KSYHTTPCacheDemo/CachingFileListViewController.h diff --git a/demo/demo/CachingFileListViewController.m b/demo/KSYHTTPCacheDemo/CachingFileListViewController.m similarity index 100% rename from demo/demo/CachingFileListViewController.m rename to demo/KSYHTTPCacheDemo/CachingFileListViewController.m diff --git a/demo/demo/Info.plist b/demo/KSYHTTPCacheDemo/Info.plist similarity index 97% rename from demo/demo/Info.plist rename to demo/KSYHTTPCacheDemo/Info.plist index 5d18ca1..66d11b8 100644 --- a/demo/demo/Info.plist +++ b/demo/KSYHTTPCacheDemo/Info.plist @@ -17,9 +17,9 @@ CFBundlePackageType APPL CFBundleShortVersionString - 1.0 + 1.2.2 CFBundleVersion - 1 + 1.2.2.1 LSRequiresIPhoneOS NSAppTransportSecurity diff --git a/demo/demo/KSYPlayerVC.h b/demo/KSYHTTPCacheDemo/KSYPlayerVC.h similarity index 100% rename from demo/demo/KSYPlayerVC.h rename to demo/KSYHTTPCacheDemo/KSYPlayerVC.h diff --git a/demo/demo/KSYPlayerVC.m b/demo/KSYHTTPCacheDemo/KSYPlayerVC.m similarity index 100% rename from demo/demo/KSYPlayerVC.m rename to demo/KSYHTTPCacheDemo/KSYPlayerVC.m diff --git a/demo/demo/KSYProgressView.h b/demo/KSYHTTPCacheDemo/KSYProgressView.h similarity index 100% rename from demo/demo/KSYProgressView.h rename to demo/KSYHTTPCacheDemo/KSYProgressView.h diff --git a/demo/demo/KSYProgressView.m b/demo/KSYHTTPCacheDemo/KSYProgressView.m similarity index 100% rename from demo/demo/KSYProgressView.m rename to demo/KSYHTTPCacheDemo/KSYProgressView.m diff --git a/demo/demo/SamplesViewController.h b/demo/KSYHTTPCacheDemo/SamplesViewController.h similarity index 100% rename from demo/demo/SamplesViewController.h rename to demo/KSYHTTPCacheDemo/SamplesViewController.h diff --git a/demo/demo/SamplesViewController.m b/demo/KSYHTTPCacheDemo/SamplesViewController.m similarity index 98% rename from demo/demo/SamplesViewController.m rename to demo/KSYHTTPCacheDemo/SamplesViewController.m index 41e3789..bf553ef 100644 --- a/demo/demo/SamplesViewController.m +++ b/demo/KSYHTTPCacheDemo/SamplesViewController.m @@ -40,8 +40,7 @@ - (void)viewDidLoad { -(NSMutableArray*)getNameAndProxyUrl:(NSString*)url { NSMutableArray* array = [[NSMutableArray alloc] init]; [array addObject:[url lastPathComponent]]; - //[array addObject: [[KSYHTTPProxyService sharedInstance] getProxyUrl:url]]; - [array addObject: [[KSYHTTPProxyService sharedInstance] getProxyUrl:url newCache:YES]]; + [array addObject: [[KSYHTTPProxyService sharedInstance] getProxyUrl:url]]; return array; } diff --git a/demo/demo/ShowFileDownloader.h b/demo/KSYHTTPCacheDemo/ShowFileDownloader.h similarity index 100% rename from demo/demo/ShowFileDownloader.h rename to demo/KSYHTTPCacheDemo/ShowFileDownloader.h diff --git a/demo/demo/ShowFileDownloader.m b/demo/KSYHTTPCacheDemo/ShowFileDownloader.m similarity index 99% rename from demo/demo/ShowFileDownloader.m rename to demo/KSYHTTPCacheDemo/ShowFileDownloader.m index 3250bfd..c79c627 100644 --- a/demo/demo/ShowFileDownloader.m +++ b/demo/KSYHTTPCacheDemo/ShowFileDownloader.m @@ -7,7 +7,7 @@ // #import "ShowFileDownloader.h" -#import +#import #import @interface ShowFileDownloader () diff --git a/demo/demo/ViewController.h b/demo/KSYHTTPCacheDemo/ViewController.h similarity index 100% rename from demo/demo/ViewController.h rename to demo/KSYHTTPCacheDemo/ViewController.h diff --git a/demo/demo/ViewController.m b/demo/KSYHTTPCacheDemo/ViewController.m similarity index 100% rename from demo/demo/ViewController.m rename to demo/KSYHTTPCacheDemo/ViewController.m diff --git a/demo/demo/main.m b/demo/KSYHTTPCacheDemo/main.m similarity index 100% rename from demo/demo/main.m rename to demo/KSYHTTPCacheDemo/main.m diff --git a/demo/Podfile b/demo/Podfile index 76d928f..257dd97 100644 --- a/demo/Podfile +++ b/demo/Podfile @@ -1,8 +1,9 @@ -# Uncomment this line to define a global platform for your project -platform :ios, '8.0' +platform :ios, '7.0' +inhibit_all_warnings! -target 'demo' do +target 'KSYHTTPCacheDemo' do + pod 'Bugly' + + pod 'ksyhttpcache', :path => '../' pod 'KSYMediaPlayer_iOS' - pod 'ksyhttpcache' end - diff --git a/demo/Podfile.lock b/demo/Podfile.lock deleted file mode 100644 index 3e9ecb9..0000000 --- a/demo/Podfile.lock +++ /dev/null @@ -1,28 +0,0 @@ -PODS: - - CocoaAsyncSocket (7.6.1) - - CocoaLumberjack (3.2.0): - - CocoaLumberjack/Default (= 3.2.0) - - CocoaLumberjack/Extensions (= 3.2.0) - - CocoaLumberjack/Default (3.2.0) - - CocoaLumberjack/Extensions (3.2.0): - - CocoaLumberjack/Default - - ksyhttpcache (1.2.1): - - CocoaAsyncSocket - - CocoaLumberjack - - KSYMediaPlayer_iOS (2.3.0) - -DEPENDENCIES: - - CocoaAsyncSocket - - CocoaLumberjack - - ksyhttpcache - - KSYMediaPlayer_iOS - -SPEC CHECKSUMS: - CocoaAsyncSocket: 7eadd3f59e1a6c84e2aefc93e9ff7b55156fe174 - CocoaLumberjack: 9b4aed7073d242f29cc2f62068d995faf67f703a - ksyhttpcache: 739214c5f388fd912ef0985510f7499d3322de1a - KSYMediaPlayer_iOS: abc0b3c779bf4ae5449d58f1e97fc8a0de216d2c - -PODFILE CHECKSUM: b00a55b09692075253f47f3b2009b93ae9d64f32 - -COCOAPODS: 1.2.1 diff --git a/demo/demo.xcodeproj/project.pbxproj b/demo/demo.xcodeproj/project.pbxproj deleted file mode 100644 index 8afd8f8..0000000 --- a/demo/demo.xcodeproj/project.pbxproj +++ /dev/null @@ -1,484 +0,0 @@ -// !$*UTF8*$! -{ - archiveVersion = 1; - classes = { - }; - objectVersion = 46; - objects = { - -/* Begin PBXBuildFile section */ - B055613B1DD9618800130251 /* libstdc++.6.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = B0E45AA41DD59C8200D48A5E /* libstdc++.6.tbd */; }; - B0E45A691DD59AC600D48A5E /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = B0E45A681DD59AC600D48A5E /* main.m */; }; - B0E45A721DD59AC600D48A5E /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = B0E45A701DD59AC600D48A5E /* Main.storyboard */; }; - B0E45A741DD59AC600D48A5E /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = B0E45A731DD59AC600D48A5E /* Assets.xcassets */; }; - B0E45A771DD59AC600D48A5E /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = B0E45A751DD59AC600D48A5E /* LaunchScreen.storyboard */; }; - B0E45A9F1DD59C2600D48A5E /* VideoToolbox.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = B0E45A9E1DD59C2600D48A5E /* VideoToolbox.framework */; }; - B0E45AA11DD59C5500D48A5E /* libz.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = B0E45AA01DD59C5500D48A5E /* libz.tbd */; }; - B0E45AA31DD59C6E00D48A5E /* libbz2.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = B0E45AA21DD59C6E00D48A5E /* libbz2.tbd */; }; - B0E45AB01DD81EF500D48A5E /* CacheSettingsViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = B0E45AAE1DD81EF500D48A5E /* CacheSettingsViewController.m */; }; - BA37E84ADE949AB7B78DFE51 /* libPods-demo.a in Frameworks */ = {isa = PBXBuildFile; fileRef = BDD25BFF990FD53F68662F7A /* libPods-demo.a */; }; - F0EA9F871F440969001BE20A /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = F0EA9F781F440969001BE20A /* AppDelegate.m */; }; - F0EA9F881F440969001BE20A /* CachedFileListViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = F0EA9F7A1F440969001BE20A /* CachedFileListViewController.m */; }; - F0EA9F891F440969001BE20A /* CachingFileListViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = F0EA9F7C1F440969001BE20A /* CachingFileListViewController.m */; }; - F0EA9F8A1F440969001BE20A /* KSYPlayerVC.m in Sources */ = {isa = PBXBuildFile; fileRef = F0EA9F7E1F440969001BE20A /* KSYPlayerVC.m */; }; - F0EA9F8B1F440969001BE20A /* KSYProgressView.m in Sources */ = {isa = PBXBuildFile; fileRef = F0EA9F801F440969001BE20A /* KSYProgressView.m */; }; - F0EA9F8C1F440969001BE20A /* SamplesViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = F0EA9F821F440969001BE20A /* SamplesViewController.m */; }; - F0EA9F8D1F440969001BE20A /* ShowFileDownloader.m in Sources */ = {isa = PBXBuildFile; fileRef = F0EA9F841F440969001BE20A /* ShowFileDownloader.m */; }; - F0EA9F8E1F440969001BE20A /* ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = F0EA9F861F440969001BE20A /* ViewController.m */; }; -/* End PBXBuildFile section */ - -/* Begin PBXCopyFilesBuildPhase section */ - B05561311DD95F6700130251 /* Embed Frameworks */ = { - isa = PBXCopyFilesBuildPhase; - buildActionMask = 2147483647; - dstPath = ""; - dstSubfolderSpec = 10; - files = ( - ); - name = "Embed Frameworks"; - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXCopyFilesBuildPhase section */ - -/* Begin PBXFileReference section */ - 598BF960746929913E260A37 /* Pods-demo.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-demo.release.xcconfig"; path = "Pods/Target Support Files/Pods-demo/Pods-demo.release.xcconfig"; sourceTree = ""; }; - 6676BC4134554BD0DEA09751 /* Pods-demo.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-demo.debug.xcconfig"; path = "Pods/Target Support Files/Pods-demo/Pods-demo.debug.xcconfig"; sourceTree = ""; }; - B0E45A641DD59AC600D48A5E /* demo.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = demo.app; sourceTree = BUILT_PRODUCTS_DIR; }; - B0E45A681DD59AC600D48A5E /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; - B0E45A711DD59AC600D48A5E /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; - B0E45A731DD59AC600D48A5E /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; - B0E45A761DD59AC600D48A5E /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; - B0E45A781DD59AC700D48A5E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - B0E45A9E1DD59C2600D48A5E /* VideoToolbox.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = VideoToolbox.framework; path = System/Library/Frameworks/VideoToolbox.framework; sourceTree = SDKROOT; }; - B0E45AA01DD59C5500D48A5E /* libz.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = libz.tbd; path = usr/lib/libz.tbd; sourceTree = SDKROOT; }; - B0E45AA21DD59C6E00D48A5E /* libbz2.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = libbz2.tbd; path = usr/lib/libbz2.tbd; sourceTree = SDKROOT; }; - B0E45AA41DD59C8200D48A5E /* libstdc++.6.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = "libstdc++.6.tbd"; path = "usr/lib/libstdc++.6.tbd"; sourceTree = SDKROOT; }; - B0E45AAD1DD81EF500D48A5E /* CacheSettingsViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CacheSettingsViewController.h; sourceTree = ""; }; - B0E45AAE1DD81EF500D48A5E /* CacheSettingsViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CacheSettingsViewController.m; sourceTree = ""; }; - BDD25BFF990FD53F68662F7A /* libPods-demo.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-demo.a"; sourceTree = BUILT_PRODUCTS_DIR; }; - F0EA9F771F440969001BE20A /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = ""; }; - F0EA9F781F440969001BE20A /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = ""; }; - F0EA9F791F440969001BE20A /* CachedFileListViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CachedFileListViewController.h; sourceTree = ""; }; - F0EA9F7A1F440969001BE20A /* CachedFileListViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CachedFileListViewController.m; sourceTree = ""; }; - F0EA9F7B1F440969001BE20A /* CachingFileListViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CachingFileListViewController.h; sourceTree = ""; }; - F0EA9F7C1F440969001BE20A /* CachingFileListViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CachingFileListViewController.m; sourceTree = ""; }; - F0EA9F7D1F440969001BE20A /* KSYPlayerVC.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = KSYPlayerVC.h; sourceTree = ""; }; - F0EA9F7E1F440969001BE20A /* KSYPlayerVC.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = KSYPlayerVC.m; sourceTree = ""; }; - F0EA9F7F1F440969001BE20A /* KSYProgressView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = KSYProgressView.h; sourceTree = ""; }; - F0EA9F801F440969001BE20A /* KSYProgressView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = KSYProgressView.m; sourceTree = ""; }; - F0EA9F811F440969001BE20A /* SamplesViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SamplesViewController.h; sourceTree = ""; }; - F0EA9F821F440969001BE20A /* SamplesViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SamplesViewController.m; sourceTree = ""; }; - F0EA9F831F440969001BE20A /* ShowFileDownloader.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ShowFileDownloader.h; sourceTree = ""; }; - F0EA9F841F440969001BE20A /* ShowFileDownloader.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ShowFileDownloader.m; sourceTree = ""; }; - F0EA9F851F440969001BE20A /* ViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ViewController.h; sourceTree = ""; }; - F0EA9F861F440969001BE20A /* ViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ViewController.m; sourceTree = ""; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - B0E45A611DD59AC600D48A5E /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - B055613B1DD9618800130251 /* libstdc++.6.tbd in Frameworks */, - B0E45AA31DD59C6E00D48A5E /* libbz2.tbd in Frameworks */, - B0E45AA11DD59C5500D48A5E /* libz.tbd in Frameworks */, - B0E45A9F1DD59C2600D48A5E /* VideoToolbox.framework in Frameworks */, - BA37E84ADE949AB7B78DFE51 /* libPods-demo.a in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - 86FBDCABB12EBFC5D100B627 /* Pods */ = { - isa = PBXGroup; - children = ( - 6676BC4134554BD0DEA09751 /* Pods-demo.debug.xcconfig */, - 598BF960746929913E260A37 /* Pods-demo.release.xcconfig */, - ); - name = Pods; - sourceTree = ""; - }; - B0E45A5B1DD59AC600D48A5E = { - isa = PBXGroup; - children = ( - B0E45A661DD59AC600D48A5E /* demo */, - B0E45A651DD59AC600D48A5E /* Products */, - B0E45A9D1DD59C2600D48A5E /* Frameworks */, - 86FBDCABB12EBFC5D100B627 /* Pods */, - ); - sourceTree = ""; - }; - B0E45A651DD59AC600D48A5E /* Products */ = { - isa = PBXGroup; - children = ( - B0E45A641DD59AC600D48A5E /* demo.app */, - ); - name = Products; - sourceTree = ""; - }; - B0E45A661DD59AC600D48A5E /* demo */ = { - isa = PBXGroup; - children = ( - F0EA9F771F440969001BE20A /* AppDelegate.h */, - F0EA9F781F440969001BE20A /* AppDelegate.m */, - F0EA9F791F440969001BE20A /* CachedFileListViewController.h */, - F0EA9F7A1F440969001BE20A /* CachedFileListViewController.m */, - F0EA9F7B1F440969001BE20A /* CachingFileListViewController.h */, - F0EA9F7C1F440969001BE20A /* CachingFileListViewController.m */, - F0EA9F7D1F440969001BE20A /* KSYPlayerVC.h */, - F0EA9F7E1F440969001BE20A /* KSYPlayerVC.m */, - F0EA9F7F1F440969001BE20A /* KSYProgressView.h */, - F0EA9F801F440969001BE20A /* KSYProgressView.m */, - F0EA9F811F440969001BE20A /* SamplesViewController.h */, - F0EA9F821F440969001BE20A /* SamplesViewController.m */, - F0EA9F831F440969001BE20A /* ShowFileDownloader.h */, - F0EA9F841F440969001BE20A /* ShowFileDownloader.m */, - F0EA9F851F440969001BE20A /* ViewController.h */, - F0EA9F861F440969001BE20A /* ViewController.m */, - B0E45A701DD59AC600D48A5E /* Main.storyboard */, - B0E45A731DD59AC600D48A5E /* Assets.xcassets */, - B0E45A751DD59AC600D48A5E /* LaunchScreen.storyboard */, - B0E45A781DD59AC700D48A5E /* Info.plist */, - B0E45A671DD59AC600D48A5E /* Supporting Files */, - B0E45AAD1DD81EF500D48A5E /* CacheSettingsViewController.h */, - B0E45AAE1DD81EF500D48A5E /* CacheSettingsViewController.m */, - ); - path = demo; - sourceTree = ""; - }; - B0E45A671DD59AC600D48A5E /* Supporting Files */ = { - isa = PBXGroup; - children = ( - B0E45A681DD59AC600D48A5E /* main.m */, - ); - name = "Supporting Files"; - sourceTree = ""; - }; - B0E45A9D1DD59C2600D48A5E /* Frameworks */ = { - isa = PBXGroup; - children = ( - B0E45AA41DD59C8200D48A5E /* libstdc++.6.tbd */, - B0E45AA21DD59C6E00D48A5E /* libbz2.tbd */, - B0E45AA01DD59C5500D48A5E /* libz.tbd */, - B0E45A9E1DD59C2600D48A5E /* VideoToolbox.framework */, - BDD25BFF990FD53F68662F7A /* libPods-demo.a */, - ); - name = Frameworks; - sourceTree = ""; - }; -/* End PBXGroup section */ - -/* Begin PBXNativeTarget section */ - B0E45A631DD59AC600D48A5E /* demo */ = { - isa = PBXNativeTarget; - buildConfigurationList = B0E45A7B1DD59AC700D48A5E /* Build configuration list for PBXNativeTarget "demo" */; - buildPhases = ( - 0BD6B96E05D7405A35DAF1C0 /* [CP] Check Pods Manifest.lock */, - B0E45A601DD59AC600D48A5E /* Sources */, - B0E45A611DD59AC600D48A5E /* Frameworks */, - B0E45A621DD59AC600D48A5E /* Resources */, - B05561311DD95F6700130251 /* Embed Frameworks */, - B9D01CCD81F2693BCC803332 /* [CP] Embed Pods Frameworks */, - 0118F21B121C35B5B75A3C26 /* [CP] Copy Pods Resources */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = demo; - productName = demo; - productReference = B0E45A641DD59AC600D48A5E /* demo.app */; - productType = "com.apple.product-type.application"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - B0E45A5C1DD59AC600D48A5E /* Project object */ = { - isa = PBXProject; - attributes = { - LastUpgradeCheck = 0810; - ORGANIZATIONNAME = kingsoft; - TargetAttributes = { - B0E45A631DD59AC600D48A5E = { - CreatedOnToolsVersion = 8.1; - DevelopmentTeam = ZGJ54Q7R45; - ProvisioningStyle = Automatic; - SystemCapabilities = { - com.apple.BackgroundModes = { - enabled = 1; - }; - }; - }; - }; - }; - buildConfigurationList = B0E45A5F1DD59AC600D48A5E /* Build configuration list for PBXProject "demo" */; - compatibilityVersion = "Xcode 3.2"; - developmentRegion = English; - hasScannedForEncodings = 0; - knownRegions = ( - en, - Base, - ); - mainGroup = B0E45A5B1DD59AC600D48A5E; - productRefGroup = B0E45A651DD59AC600D48A5E /* Products */; - projectDirPath = ""; - projectRoot = ""; - targets = ( - B0E45A631DD59AC600D48A5E /* demo */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXResourcesBuildPhase section */ - B0E45A621DD59AC600D48A5E /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - B0E45A771DD59AC600D48A5E /* LaunchScreen.storyboard in Resources */, - B0E45A741DD59AC600D48A5E /* Assets.xcassets in Resources */, - B0E45A721DD59AC600D48A5E /* Main.storyboard in Resources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXResourcesBuildPhase section */ - -/* Begin PBXShellScriptBuildPhase section */ - 0118F21B121C35B5B75A3C26 /* [CP] Copy Pods Resources */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - ); - name = "[CP] Copy Pods Resources"; - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-demo/Pods-demo-resources.sh\"\n"; - showEnvVarsInLog = 0; - }; - 0BD6B96E05D7405A35DAF1C0 /* [CP] Check Pods Manifest.lock */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - ); - name = "[CP] Check Pods Manifest.lock"; - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n"; - showEnvVarsInLog = 0; - }; - B9D01CCD81F2693BCC803332 /* [CP] Embed Pods Frameworks */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - ); - name = "[CP] Embed Pods Frameworks"; - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-demo/Pods-demo-frameworks.sh\"\n"; - showEnvVarsInLog = 0; - }; -/* End PBXShellScriptBuildPhase section */ - -/* Begin PBXSourcesBuildPhase section */ - B0E45A601DD59AC600D48A5E /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - F0EA9F8D1F440969001BE20A /* ShowFileDownloader.m in Sources */, - F0EA9F881F440969001BE20A /* CachedFileListViewController.m in Sources */, - F0EA9F8A1F440969001BE20A /* KSYPlayerVC.m in Sources */, - F0EA9F891F440969001BE20A /* CachingFileListViewController.m in Sources */, - F0EA9F8E1F440969001BE20A /* ViewController.m in Sources */, - B0E45AB01DD81EF500D48A5E /* CacheSettingsViewController.m in Sources */, - B0E45A691DD59AC600D48A5E /* main.m in Sources */, - F0EA9F8B1F440969001BE20A /* KSYProgressView.m in Sources */, - F0EA9F8C1F440969001BE20A /* SamplesViewController.m in Sources */, - F0EA9F871F440969001BE20A /* AppDelegate.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin PBXVariantGroup section */ - B0E45A701DD59AC600D48A5E /* Main.storyboard */ = { - isa = PBXVariantGroup; - children = ( - B0E45A711DD59AC600D48A5E /* Base */, - ); - name = Main.storyboard; - sourceTree = ""; - }; - B0E45A751DD59AC600D48A5E /* LaunchScreen.storyboard */ = { - isa = PBXVariantGroup; - children = ( - B0E45A761DD59AC600D48A5E /* Base */, - ); - name = LaunchScreen.storyboard; - sourceTree = ""; - }; -/* End PBXVariantGroup section */ - -/* Begin XCBuildConfiguration section */ - B0E45A791DD59AC700D48A5E /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_NONNULL = YES; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_DOCUMENTATION_COMMENTS = YES; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_SUSPICIOUS_MOVES = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = dwarf; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_TESTABILITY = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_DYNAMIC_NO_PIC = NO; - GCC_NO_COMMON_BLOCKS = YES; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 8.0; - MTL_ENABLE_DEBUG_INFO = YES; - ONLY_ACTIVE_ARCH = YES; - SDKROOT = iphoneos; - TARGETED_DEVICE_FAMILY = "1,2"; - }; - name = Debug; - }; - B0E45A7A1DD59AC700D48A5E /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_NONNULL = YES; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_DOCUMENTATION_COMMENTS = YES; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_SUSPICIOUS_MOVES = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_NO_COMMON_BLOCKS = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 8.0; - MTL_ENABLE_DEBUG_INFO = NO; - SDKROOT = iphoneos; - TARGETED_DEVICE_FAMILY = "1,2"; - VALIDATE_PRODUCT = YES; - }; - name = Release; - }; - B0E45A7C1DD59AC700D48A5E /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 6676BC4134554BD0DEA09751 /* Pods-demo.debug.xcconfig */; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - DEVELOPMENT_TEAM = ZGJ54Q7R45; - FRAMEWORK_SEARCH_PATHS = ( - "$(inherited)", - "$(PROJECT_DIR)", - ); - INFOPLIST_FILE = demo/Info.plist; - IPHONEOS_DEPLOYMENT_TARGET = 8.0; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = com.kingsoft.media.ios.httpcache.demo; - PRODUCT_NAME = "$(TARGET_NAME)"; - }; - name = Debug; - }; - B0E45A7D1DD59AC700D48A5E /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 598BF960746929913E260A37 /* Pods-demo.release.xcconfig */; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - DEVELOPMENT_TEAM = ZGJ54Q7R45; - FRAMEWORK_SEARCH_PATHS = ( - "$(inherited)", - "$(PROJECT_DIR)", - ); - INFOPLIST_FILE = demo/Info.plist; - IPHONEOS_DEPLOYMENT_TARGET = 8.0; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = com.kingsoft.media.ios.httpcache.demo; - PRODUCT_NAME = "$(TARGET_NAME)"; - }; - name = Release; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - B0E45A5F1DD59AC600D48A5E /* Build configuration list for PBXProject "demo" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - B0E45A791DD59AC700D48A5E /* Debug */, - B0E45A7A1DD59AC700D48A5E /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - B0E45A7B1DD59AC700D48A5E /* Build configuration list for PBXNativeTarget "demo" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - B0E45A7C1DD59AC700D48A5E /* Debug */, - B0E45A7D1DD59AC700D48A5E /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; -/* End XCConfigurationList section */ - }; - rootObject = B0E45A5C1DD59AC600D48A5E /* Project object */; -} diff --git a/demo/demo.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/demo/demo.xcodeproj/project.xcworkspace/contents.xcworkspacedata deleted file mode 100644 index e5aca88..0000000 --- a/demo/demo.xcodeproj/project.xcworkspace/contents.xcworkspacedata +++ /dev/null @@ -1,7 +0,0 @@ - - - - - diff --git a/demo/demo.xcworkspace/contents.xcworkspacedata b/demo/demo.xcworkspace/contents.xcworkspacedata deleted file mode 100644 index b72a852..0000000 --- a/demo/demo.xcworkspace/contents.xcworkspacedata +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - diff --git a/demo/export.plist b/demo/export.plist new file mode 100644 index 0000000..f850ae1 --- /dev/null +++ b/demo/export.plist @@ -0,0 +1,15 @@ + + + + + provisioningProfiles + + com.ksyun.ios.KSYHTTPCacheDemo + KSYLiveDemoEnterprise_Dis_2017.9.26 + + teamID + 36PUU93BJ2 + method + enterprise + + diff --git a/doc/docset-installed.txt b/doc/docset-installed.txt index e842455..16b3cec 100644 --- a/doc/docset-installed.txt +++ b/doc/docset-installed.txt @@ -1,4 +1,4 @@ Documentation set was installed to Xcode! -Path: /Users/shixuemei1/Library/Developer/Shared/Documentation/DocSets/com.ksyun.KSYHTTPCacheDemo_iOS.docset -Time: 2017-10-12 11:39:03 +0000 \ No newline at end of file +Path: /Users/ksyci/Library/Developer/Shared/Documentation/DocSets/com.ksyun.KSYHTTPCacheDemo_iOS.docset +Time: 2017-11-01 07:25:27 +0000 \ No newline at end of file diff --git a/doc/docset/Contents/Resources/Documents/Classes/KSYHTTPProxyService.html b/doc/docset/Contents/Resources/Documents/Classes/KSYHTTPProxyService.html index 9da9e08..d11d8a8 100644 --- a/doc/docset/Contents/Resources/Documents/Classes/KSYHTTPProxyService.html +++ b/doc/docset/Contents/Resources/Documents/Classes/KSYHTTPProxyService.html @@ -52,10 +52,18 @@

+ + + + + + + + @@ -152,6 +160,93 @@

KSYHTTPProxyService Class Reference

+ +

  ignoreURLParamter +

+ +
+
+ +
+ + +
+

设置是否忽略http url参数,YES时对于参数不用的URL作为同一个文件处理,为NO时当做不同文件处理

+
+ + + +
@property (nonatomic, assign) BOOL ignoreURLParamter
+ + + + + + + +
+

Availability

+

Available in KSYHTTPCache 1.2.2 and later.

+
+ + + + + + + + + +
+

Declared In

+

KSYHTTPProxyService.h

+
+ + +
+
+
+ +

+ getVersion +

+ +
+
+ +
+ + +
+

获取版本号

+
+ + + +
+ (NSString *)getVersion
+ + + + + + + + + + + + + + + +
+

Declared In

+

KSYHTTPProxyService.h

+
+ + +
+
+
diff --git a/doc/docset/Contents/Resources/Nodes.xml b/doc/docset/Contents/Resources/Nodes.xml index 01c55f0..2bf0fd0 100644 --- a/doc/docset/Contents/Resources/Nodes.xml +++ b/doc/docset/Contents/Resources/Nodes.xml @@ -87,6 +87,12 @@ tasks + + Classes/KSYHTTPProxyService.html + Properties + properties + + Classes/KSYHTTPProxyService.html diff --git a/doc/docset/Contents/Resources/Tokens2.xml b/doc/docset/Contents/Resources/Tokens2.xml index ad0fe8a..75a7a89 100644 --- a/doc/docset/Contents/Resources/Tokens2.xml +++ b/doc/docset/Contents/Resources/Tokens2.xml @@ -12,9 +12,57 @@ + + //apple_ref/occ/instm/KSYHTTPProxyService/setIgnoreURLParamter: + 设置是否忽略http url参数,YES时对于参数不用的URL作为同一个文件处理,为NO时当做不同文件处理 + KSYHTTPProxyService.h + + @property (nonatomic, assign) BOOL ignoreURLParamter + + + //api/name/ignoreURLParamter + + + + + //apple_ref/occ/instm/KSYHTTPProxyService/ignoreURLParamter + 设置是否忽略http url参数,YES时对于参数不用的URL作为同一个文件处理,为NO时当做不同文件处理 + KSYHTTPProxyService.h + + @property (nonatomic, assign) BOOL ignoreURLParamter + + + //api/name/ignoreURLParamter + + + + + //apple_ref/occ/instp/KSYHTTPProxyService/ignoreURLParamter + 设置是否忽略http url参数,YES时对于参数不用的URL作为同一个文件处理,为NO时当做不同文件处理 + KSYHTTPProxyService.h + + @property (nonatomic, assign) BOOL ignoreURLParamter + + + //api/name/ignoreURLParamter + + + + + //apple_ref/occ/clm/KSYHTTPProxyService/getVersion + 获取版本号 + KSYHTTPProxyService.h + + + (NSString *)getVersion + + + //api/name/getVersion + + + //apple_ref/occ/clm/KSYHTTPProxyService/sharedInstance - + 获取唯一示例 KSYHTTPProxyService.h + (KSYHTTPProxyService *)sharedInstance diff --git a/doc/docset/Contents/Resources/docSet.dsidx b/doc/docset/Contents/Resources/docSet.dsidx index 79cd3c6..68b5109 100644 Binary files a/doc/docset/Contents/Resources/docSet.dsidx and b/doc/docset/Contents/Resources/docSet.dsidx differ diff --git a/doc/docset/Contents/Resources/docSet.dsidx-shm b/doc/docset/Contents/Resources/docSet.dsidx-shm index a951a7d..cb9d3be 100644 Binary files a/doc/docset/Contents/Resources/docSet.dsidx-shm and b/doc/docset/Contents/Resources/docSet.dsidx-shm differ diff --git a/doc/docset/Contents/Resources/docSet.dsidx-wal b/doc/docset/Contents/Resources/docSet.dsidx-wal index 8e985f5..3aba400 100644 Binary files a/doc/docset/Contents/Resources/docSet.dsidx-wal and b/doc/docset/Contents/Resources/docSet.dsidx-wal differ diff --git a/doc/docset/Contents/Resources/docSet.skidx b/doc/docset/Contents/Resources/docSet.skidx index bbcd2a4..3a33fe8 100644 Binary files a/doc/docset/Contents/Resources/docSet.skidx and b/doc/docset/Contents/Resources/docSet.skidx differ diff --git a/doc/docset/Contents/Resources/docSet.toc b/doc/docset/Contents/Resources/docSet.toc index f784ddf..2cdd9d6 100644 Binary files a/doc/docset/Contents/Resources/docSet.toc and b/doc/docset/Contents/Resources/docSet.toc differ diff --git a/doc/docset/Contents/Resources/docSet.tokencache b/doc/docset/Contents/Resources/docSet.tokencache index 24cd27c..892eb6e 100644 Binary files a/doc/docset/Contents/Resources/docSet.tokencache and b/doc/docset/Contents/Resources/docSet.tokencache differ diff --git a/doc/html/Classes/KSYHTTPProxyService.html b/doc/html/Classes/KSYHTTPProxyService.html index 9da9e08..d11d8a8 100644 --- a/doc/html/Classes/KSYHTTPProxyService.html +++ b/doc/html/Classes/KSYHTTPProxyService.html @@ -52,10 +52,18 @@

+ + + + + + + + @@ -152,6 +160,93 @@

KSYHTTPProxyService Class Reference

+ +

  ignoreURLParamter +

+ +
+
+ +
+ + +
+

设置是否忽略http url参数,YES时对于参数不用的URL作为同一个文件处理,为NO时当做不同文件处理

+
+ + + +
@property (nonatomic, assign) BOOL ignoreURLParamter
+ + + + + + + +
+

Availability

+

Available in KSYHTTPCache 1.2.2 and later.

+
+ + + + + + + + + +
+

Declared In

+

KSYHTTPProxyService.h

+
+ + +
+
+
+ +

+ getVersion +

+ +
+
+ +
+ + +
+

获取版本号

+
+ + + +
+ (NSString *)getVersion
+ + + + + + + + + + + + + + + +
+

Declared In

+

KSYHTTPProxyService.h

+
+ + +
+
+
diff --git a/framework/.DS_Store b/framework/.DS_Store deleted file mode 100644 index 6feb396..0000000 Binary files a/framework/.DS_Store and /dev/null differ diff --git a/framework/KSYHTTPCache.framework/Headers/KSYHTTPProxyService.h b/framework/KSYHTTPCache.framework/Headers/KSYHTTPProxyService.h index e821f3d..dffebd6 100644 --- a/framework/KSYHTTPCache.framework/Headers/KSYHTTPProxyService.h +++ b/framework/KSYHTTPCache.framework/Headers/KSYHTTPProxyService.h @@ -11,6 +11,20 @@ @interface KSYHTTPProxyService : NSObject +/** + * 设置是否忽略http url参数,YES时对于参数不用的URL作为同一个文件处理,为NO时当做不同文件处理 + * @since Available in KSYHTTPCache 1.2.2 and later. + */ +@property(nonatomic, assign)BOOL ignoreURLParamter; + +/** + * 获取版本号 + */ ++(NSString*)getVersion; + +/** + * 获取唯一示例 + */ + (KSYHTTPProxyService*)sharedInstance; /** @@ -139,3 +153,6 @@ @end + +#define KSYHTTPCACHE_VER 1.2.2 +#define KSYHTTPCACHE_ID 39840a2b3d9af193aa4f6c591f4896f5362aa15b diff --git a/framework/KSYHTTPCache.framework/Info.plist b/framework/KSYHTTPCache.framework/Info.plist index 2f227dd..e9352b9 100644 Binary files a/framework/KSYHTTPCache.framework/Info.plist and b/framework/KSYHTTPCache.framework/Info.plist differ diff --git a/framework/KSYHTTPCache.framework/KSYHTTPCache b/framework/KSYHTTPCache.framework/KSYHTTPCache index 02d4b67..9a5aa27 100644 Binary files a/framework/KSYHTTPCache.framework/KSYHTTPCache and b/framework/KSYHTTPCache.framework/KSYHTTPCache differ diff --git a/framework/KSYHTTPCache.framework/Modules/module.modulemap b/framework/KSYHTTPCache.framework/Modules/module.modulemap deleted file mode 100644 index d2c1bc0..0000000 --- a/framework/KSYHTTPCache.framework/Modules/module.modulemap +++ /dev/null @@ -1,6 +0,0 @@ -framework module KSYHTTPCache { - umbrella header "KSYHTTPCache.h" - - export * - module * { export * } -} diff --git a/ksyhttpcache.podspec b/ksyhttpcache.podspec index 9c11403..ed01ecd 100644 --- a/ksyhttpcache.podspec +++ b/ksyhttpcache.podspec @@ -1,7 +1,6 @@ - Pod::Spec.new do |s| s.name = 'ksyhttpcache' - s.version = '1.2.1' + s.version = '1.2.2' s.license = { :type => 'Proprietary', :text => <<-LICENSE @@ -17,7 +16,6 @@ Pod::Spec.new do |s| DESC s.platform = :ios, '7.0' s.ios.deployment_target = '7.0' - s.requires_arc = true s.source = { @@ -27,6 +25,4 @@ Pod::Spec.new do |s| s.dependency 'CocoaAsyncSocket' s.dependency 'CocoaLumberjack' s.vendored_frameworks = 'framework/KSYHTTPCache.framework' - - end