Commit 6940fd9636e4a365535ef8968881a0f8bf864091
1 parent
9597faa1
提交0.1.11
Showing
4 changed files
with
11 additions
and
37 deletions
.gitignore
| 1 | -# OS X | 1 | +*~ |
| 2 | .DS_Store | 2 | .DS_Store |
| 3 | +*.xcuserstate | ||
| 4 | +*.xcworkspace | ||
| 5 | +xcuserdata | ||
| 6 | +Products/ | ||
| 7 | +*.lock | ||
| 8 | +Pods | ||
| 3 | 9 | ||
| 4 | -# Xcode | ||
| 5 | -build/ | ||
| 6 | -Products/ | ||
| 7 | -*.pbxuser | ||
| 8 | -!default.pbxuser | ||
| 9 | -*.mode1v3 | ||
| 10 | -!default.mode1v3 | ||
| 11 | -*.mode2v3 | ||
| 12 | -!default.mode2v3 | ||
| 13 | -*.perspectivev3 | ||
| 14 | -!default.perspectivev3 | ||
| 15 | -xcuserdata/ | ||
| 16 | -*.xccheckout | ||
| 17 | -profile | ||
| 18 | -*.moved-aside | ||
| 19 | -DerivedData | ||
| 20 | -*.hmap | ||
| 21 | -*.ipa | ||
| 22 | - | ||
| 23 | -# Bundler | ||
| 24 | -.bundle | ||
| 25 | - | ||
| 26 | -# Add this line if you want to avoid checking in source code from Carthage dependencies. | ||
| 27 | -# Carthage/Checkouts | ||
| 28 | - | ||
| 29 | -Carthage/Build | ||
| 30 | - | ||
| 31 | -# We recommend against adding the Pods directory to your .gitignore. However | ||
| 32 | -# you should judge for yourself, the pros and cons are mentioned at: | ||
| 33 | -# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-ignore-the-pods-directory-in-source-control | ||
| 34 | -# | ||
| 35 | -# Note: if you ignore the Pods directory, make sure to uncomment | ||
| 36 | -# `pod install` in .travis.yml | ||
| 37 | -# | ||
| 38 | -# Pods/ |
CNLiveBusinessTools.podspec
| @@ -8,7 +8,7 @@ | @@ -8,7 +8,7 @@ | ||
| 8 | 8 | ||
| 9 | Pod::Spec.new do |s| | 9 | Pod::Spec.new do |s| |
| 10 | s.name = 'CNLiveBusinessTools' | 10 | s.name = 'CNLiveBusinessTools' |
| 11 | - s.version = '0.1.10' | 11 | + s.version = '0.1.11' |
| 12 | s.summary = '业务工具集合组件.' | 12 | s.summary = '业务工具集合组件.' |
| 13 | 13 | ||
| 14 | # This description is used to generate tags and improve search results. | 14 | # This description is used to generate tags and improve search results. |
CNLiveBusinessTools/Classes/CNLiveBusinessTools.m
| @@ -271,6 +271,7 @@ | @@ -271,6 +271,7 @@ | ||
| 271 | } | 271 | } |
| 272 | + (CNFileType)isReadedFileByType:(NSString *)suffixType | 272 | + (CNFileType)isReadedFileByType:(NSString *)suffixType |
| 273 | { | 273 | { |
| 274 | + suffixType = [NSString stringWithFormat:@"%@",[suffixType lowercaseString]]; | ||
| 274 | if ([[CNLiveBusinessTools fileTypeDic] objectForKey:[NSString stringWithFormat:@".%@",suffixType]]) { | 275 | if ([[CNLiveBusinessTools fileTypeDic] objectForKey:[NSString stringWithFormat:@".%@",suffixType]]) { |
| 275 | return CNFileTypeReadAndLook; | 276 | return CNFileTypeReadAndLook; |
| 276 | } | 277 | } |
Example/CNLiveBusinessTools.xcodeproj/project.pbxproj
| @@ -353,6 +353,7 @@ | @@ -353,6 +353,7 @@ | ||
| 353 | "${BUILT_PRODUCTS_DIR}/CNLiveBusinessTools/CNLiveBusinessTools.framework", | 353 | "${BUILT_PRODUCTS_DIR}/CNLiveBusinessTools/CNLiveBusinessTools.framework", |
| 354 | "${BUILT_PRODUCTS_DIR}/CNLiveEnvironment/CNLiveEnvironment.framework", | 354 | "${BUILT_PRODUCTS_DIR}/CNLiveEnvironment/CNLiveEnvironment.framework", |
| 355 | "${BUILT_PRODUCTS_DIR}/CNLiveRequestBastKit/CNLiveRequestBastKit.framework", | 355 | "${BUILT_PRODUCTS_DIR}/CNLiveRequestBastKit/CNLiveRequestBastKit.framework", |
| 356 | + "${BUILT_PRODUCTS_DIR}/CNLiveTripartiteManagement/CNLiveTripartiteManagement.framework", | ||
| 356 | "${BUILT_PRODUCTS_DIR}/CNLiveUserManagement/CNLiveUserManagement.framework", | 357 | "${BUILT_PRODUCTS_DIR}/CNLiveUserManagement/CNLiveUserManagement.framework", |
| 357 | "${BUILT_PRODUCTS_DIR}/MJExtension/MJExtension.framework", | 358 | "${BUILT_PRODUCTS_DIR}/MJExtension/MJExtension.framework", |
| 358 | ); | 359 | ); |
| @@ -363,6 +364,7 @@ | @@ -363,6 +364,7 @@ | ||
| 363 | "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveBusinessTools.framework", | 364 | "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveBusinessTools.framework", |
| 364 | "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveEnvironment.framework", | 365 | "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveEnvironment.framework", |
| 365 | "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveRequestBastKit.framework", | 366 | "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveRequestBastKit.framework", |
| 367 | + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveTripartiteManagement.framework", | ||
| 366 | "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveUserManagement.framework", | 368 | "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveUserManagement.framework", |
| 367 | "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/MJExtension.framework", | 369 | "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/MJExtension.framework", |
| 368 | ); | 370 | ); |