apple 5 年 前
コミット
32e39af4a0
80 ファイル変更3658 行追加4363 行削除
  1. 24 176
      ios/JianYuIOS/JianYuIOS.xcodeproj/project.pbxproj
  2. BIN
      ios/JianYuIOS/JianYuIOS.xcworkspace/xcuserdata/apple.xcuserdatad/UserInterfaceState.xcuserstate
  3. 16 0
      ios/JianYuIOS/JianYuIOS.xcworkspace/xcuserdata/apple.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist
  4. 1 1
      ios/JianYuIOS/JianYuIOS/AppDelegate.m
  5. 8 2
      ios/JianYuIOS/JianYuIOS/BaseClass1/PrefixHeader.pch
  6. 39 20
      ios/JianYuIOS/JianYuIOS/Classes(模块)/JYNewSearchViewController.m
  7. 0 36
      ios/JianYuIOS/JianYuIOS/CustomView/NJKWebViewProgress.h
  8. 0 204
      ios/JianYuIOS/JianYuIOS/CustomView/NJKWebViewProgress.m
  9. 0 21
      ios/JianYuIOS/JianYuIOS/CustomView/NJKWebViewProgressView.h
  10. 0 75
      ios/JianYuIOS/JianYuIOS/CustomView/NJKWebViewProgressView.m
  11. 75 24
      ios/JianYuIOS/JianYuIOS/guide/ZKPrivacyView.m
  12. 19 0
      ios/JianYuIOS/JianYuIOS/icloud/ZKDocument.h
  13. 18 0
      ios/JianYuIOS/JianYuIOS/icloud/ZKDocument.m
  14. 24 0
      ios/JianYuIOS/JianYuIOS/icloud/iCloudManager.h
  15. 49 0
      ios/JianYuIOS/JianYuIOS/icloud/iCloudManager.m
  16. BIN
      ios/JianYuIOS/JianYuIOS/local/202005221737000055s33y3F2.png
  17. BIN
      ios/JianYuIOS/JianYuIOS/local/20200522173921005m1D95f05.jpg
  18. BIN
      ios/JianYuIOS/JianYuIOS/local/20200522173921005m1D95f05.png
  19. BIN
      ios/JianYuIOS/JianYuIOS/local/20200522173929005YiCl1Dwd.png
  20. BIN
      ios/JianYuIOS/JianYuIOS/local/20200604160552006e71984U5.png
  21. 0 1
      ios/JianYuIOS/JianYuIOS/local/axios.min.js
  22. BIN
      ios/JianYuIOS/JianYuIOS/local/bg_1.jpg
  23. BIN
      ios/JianYuIOS/JianYuIOS/local/bg_2.jpg
  24. BIN
      ios/JianYuIOS/JianYuIOS/local/bg_3.jpg
  25. BIN
      ios/JianYuIOS/JianYuIOS/local/bg_4.jpg
  26. 0 5
      ios/JianYuIOS/JianYuIOS/local/bootstrap.min.js
  27. 0 6
      ios/JianYuIOS/JianYuIOS/local/clipboard.min.js
  28. BIN
      ios/JianYuIOS/JianYuIOS/local/course-index.jpg
  29. 0 338
      ios/JianYuIOS/JianYuIOS/local/dropload.js
  30. 0 24
      ios/JianYuIOS/JianYuIOS/local/echarts.min.js
  31. 0 0
      ios/JianYuIOS/JianYuIOS/local/fastclick.min.js
  32. 0 4
      ios/JianYuIOS/JianYuIOS/local/imageViewer.min.js
  33. 0 117
      ios/JianYuIOS/JianYuIOS/local/jquery.cookie.js
  34. 0 1
      ios/JianYuIOS/JianYuIOS/local/jquery.min.js
  35. 0 2
      ios/JianYuIOS/JianYuIOS/local/js.cookie.min.js
  36. 0 348
      ios/JianYuIOS/JianYuIOS/local/layout.css
  37. BIN
      ios/JianYuIOS/JianYuIOS/local/mainSearch.png
  38. 0 2429
      ios/JianYuIOS/JianYuIOS/local/mapJSON.js
  39. 0 1
      ios/JianYuIOS/JianYuIOS/local/mobiscroll.min.css
  40. 0 0
      ios/JianYuIOS/JianYuIOS/local/mobiscroll.min.js
  41. 0 1
      ios/JianYuIOS/JianYuIOS/local/moment.min.js
  42. 0 19
      ios/JianYuIOS/JianYuIOS/local/rem.js
  43. BIN
      ios/JianYuIOS/JianYuIOS/local/sprite-about.png
  44. BIN
      ios/JianYuIOS/JianYuIOS/local/sprite.png
  45. 0 12
      ios/JianYuIOS/JianYuIOS/local/swiper.min.css
  46. 0 12
      ios/JianYuIOS/JianYuIOS/local/swiper.min.js
  47. 0 1
      ios/JianYuIOS/JianYuIOS/local/template-web.js
  48. BIN
      ios/JianYuIOS/JianYuIOS/local/treasure_box_bg.jpg
  49. 0 1
      ios/JianYuIOS/JianYuIOS/local/vant.min.js
  50. 0 5
      ios/JianYuIOS/JianYuIOS/local/vue-router.min.js
  51. 0 5
      ios/JianYuIOS/JianYuIOS/local/vue.min.js
  52. 0 5
      ios/JianYuIOS/JianYuIOS/local/vuex.min.js
  53. 0 4
      ios/JianYuIOS/JianYuIOS/local/weui.min.css
  54. 0 5
      ios/JianYuIOS/JianYuIOS/local/weui.min.js
  55. 12 0
      ios/JianYuIOS/JianYuIOS/剑鱼标讯Debug.entitlements
  56. 1 1
      ios/JianYuIOS/Podfile
  57. 5 1
      ios/JianYuIOS/Podfile.lock
  58. 1 0
      ios/JianYuIOS/Pods/Headers/Private/iCloudDocumentSync/iCloud.h
  59. 1 0
      ios/JianYuIOS/Pods/Headers/Private/iCloudDocumentSync/iCloudDocument.h
  60. 1 0
      ios/JianYuIOS/Pods/Headers/Public/iCloudDocumentSync/iCloud.h
  61. 1 0
      ios/JianYuIOS/Pods/Headers/Public/iCloudDocumentSync/iCloudDocument.h
  62. 5 1
      ios/JianYuIOS/Pods/Manifest.lock
  63. 472 449
      ios/JianYuIOS/Pods/Pods.xcodeproj/project.pbxproj
  64. 60 0
      ios/JianYuIOS/Pods/Pods.xcodeproj/xcuserdata/apple.xcuserdatad/xcschemes/iCloudDocumentSync.xcscheme
  65. 5 0
      ios/JianYuIOS/Pods/Pods.xcodeproj/xcuserdata/apple.xcuserdatad/xcschemes/xcschememanagement.plist
  66. 21 0
      ios/JianYuIOS/Pods/Target Support Files/Pods-JianYuIOS/Pods-JianYuIOS-acknowledgements.markdown
  67. 27 0
      ios/JianYuIOS/Pods/Target Support Files/Pods-JianYuIOS/Pods-JianYuIOS-acknowledgements.plist
  68. 3 3
      ios/JianYuIOS/Pods/Target Support Files/Pods-JianYuIOS/Pods-JianYuIOS.debug.xcconfig
  69. 3 3
      ios/JianYuIOS/Pods/Target Support Files/Pods-JianYuIOS/Pods-JianYuIOS.release.xcconfig
  70. 5 0
      ios/JianYuIOS/Pods/Target Support Files/iCloudDocumentSync/iCloudDocumentSync-dummy.m
  71. 12 0
      ios/JianYuIOS/Pods/Target Support Files/iCloudDocumentSync/iCloudDocumentSync-prefix.pch
  72. 10 0
      ios/JianYuIOS/Pods/Target Support Files/iCloudDocumentSync/iCloudDocumentSync.debug.xcconfig
  73. 10 0
      ios/JianYuIOS/Pods/Target Support Files/iCloudDocumentSync/iCloudDocumentSync.release.xcconfig
  74. 18 0
      ios/JianYuIOS/Pods/iCloudDocumentSync/LICENSE.md
  75. 259 0
      ios/JianYuIOS/Pods/iCloudDocumentSync/README.md
  76. 7 0
      ios/JianYuIOS/Pods/iCloudDocumentSync/iCloud/iCloud-Prefix.pch
  77. 498 0
      ios/JianYuIOS/Pods/iCloudDocumentSync/iCloud/iCloud.h
  78. 1764 0
      ios/JianYuIOS/Pods/iCloudDocumentSync/iCloud/iCloud.m
  79. 90 0
      ios/JianYuIOS/Pods/iCloudDocumentSync/iCloud/iCloudDocument.h
  80. 94 0
      ios/JianYuIOS/Pods/iCloudDocumentSync/iCloud/iCloudDocument.m

+ 24 - 176
ios/JianYuIOS/JianYuIOS.xcodeproj/project.pbxproj

@@ -10,45 +10,6 @@
 		1810C2B024E4E1D8006B8232 /* ZKFaceVerifyMsgView.m in Sources */ = {isa = PBXBuildFile; fileRef = 1810C2AF24E4E1D8006B8232 /* ZKFaceVerifyMsgView.m */; };
 		182ECCFB22FD221100FFC79E /* qidongye@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = 182ECCFA22FD221000FFC79E /* qidongye@2x.png */; };
 		182ECCFD22FD223A00FFC79E /* logo.png in Resources */ = {isa = PBXBuildFile; fileRef = 182ECCFC22FD223A00FFC79E /* logo.png */; };
-		183DDB9224961EA400F58FB5 /* dropload.js in Resources */ = {isa = PBXBuildFile; fileRef = 183DDB6B24961EA400F58FB5 /* dropload.js */; };
-		183DDB9324961EA400F58FB5 /* template-web.js in Resources */ = {isa = PBXBuildFile; fileRef = 183DDB6C24961EA400F58FB5 /* template-web.js */; };
-		183DDB9424961EA400F58FB5 /* weui.min.css in Resources */ = {isa = PBXBuildFile; fileRef = 183DDB6D24961EA400F58FB5 /* weui.min.css */; };
-		183DDB9524961EA400F58FB5 /* imageViewer.min.js in Resources */ = {isa = PBXBuildFile; fileRef = 183DDB6E24961EA400F58FB5 /* imageViewer.min.js */; };
-		183DDB9624961EA400F58FB5 /* vant.min.js in Resources */ = {isa = PBXBuildFile; fileRef = 183DDB6F24961EA400F58FB5 /* vant.min.js */; };
-		183DDB9724961EA400F58FB5 /* mobiscroll.min.js in Resources */ = {isa = PBXBuildFile; fileRef = 183DDB7024961EA400F58FB5 /* mobiscroll.min.js */; };
-		183DDB9824961EA400F58FB5 /* mobiscroll.min.css in Resources */ = {isa = PBXBuildFile; fileRef = 183DDB7124961EA400F58FB5 /* mobiscroll.min.css */; };
-		183DDB9924961EA400F58FB5 /* swiper.min.js in Resources */ = {isa = PBXBuildFile; fileRef = 183DDB7224961EA400F58FB5 /* swiper.min.js */; };
-		183DDB9A24961EA400F58FB5 /* 20200522173929005YiCl1Dwd.png in Resources */ = {isa = PBXBuildFile; fileRef = 183DDB7324961EA400F58FB5 /* 20200522173929005YiCl1Dwd.png */; };
-		183DDB9B24961EA400F58FB5 /* vuex.min.js in Resources */ = {isa = PBXBuildFile; fileRef = 183DDB7424961EA400F58FB5 /* vuex.min.js */; };
-		183DDB9C24961EA400F58FB5 /* clipboard.min.js in Resources */ = {isa = PBXBuildFile; fileRef = 183DDB7524961EA400F58FB5 /* clipboard.min.js */; };
-		183DDB9D24961EA400F58FB5 /* vue-router.min.js in Resources */ = {isa = PBXBuildFile; fileRef = 183DDB7624961EA400F58FB5 /* vue-router.min.js */; };
-		183DDB9E24961EA400F58FB5 /* 20200604160552006e71984U5.png in Resources */ = {isa = PBXBuildFile; fileRef = 183DDB7724961EA400F58FB5 /* 20200604160552006e71984U5.png */; };
-		183DDB9F24961EA400F58FB5 /* bg_4.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 183DDB7824961EA400F58FB5 /* bg_4.jpg */; };
-		183DDBA024961EA400F58FB5 /* sprite-about.png in Resources */ = {isa = PBXBuildFile; fileRef = 183DDB7924961EA400F58FB5 /* sprite-about.png */; };
-		183DDBA124961EA400F58FB5 /* bg_1.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 183DDB7A24961EA400F58FB5 /* bg_1.jpg */; };
-		183DDBA224961EA400F58FB5 /* bg_3.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 183DDB7B24961EA400F58FB5 /* bg_3.jpg */; };
-		183DDBA324961EA400F58FB5 /* bg_2.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 183DDB7C24961EA400F58FB5 /* bg_2.jpg */; };
-		183DDBA424961EA400F58FB5 /* 20200522173921005m1D95f05.png in Resources */ = {isa = PBXBuildFile; fileRef = 183DDB7D24961EA400F58FB5 /* 20200522173921005m1D95f05.png */; };
-		183DDBA524961EA400F58FB5 /* rem.js in Resources */ = {isa = PBXBuildFile; fileRef = 183DDB7E24961EA400F58FB5 /* rem.js */; };
-		183DDBA624961EA400F58FB5 /* 20200522173921005m1D95f05.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 183DDB7F24961EA400F58FB5 /* 20200522173921005m1D95f05.jpg */; };
-		183DDBA724961EA400F58FB5 /* jquery.min.js in Resources */ = {isa = PBXBuildFile; fileRef = 183DDB8024961EA400F58FB5 /* jquery.min.js */; };
-		183DDBA824961EA400F58FB5 /* vue.min.js in Resources */ = {isa = PBXBuildFile; fileRef = 183DDB8124961EA400F58FB5 /* vue.min.js */; };
-		183DDBA924961EA400F58FB5 /* sprite.png in Resources */ = {isa = PBXBuildFile; fileRef = 183DDB8224961EA400F58FB5 /* sprite.png */; };
-		183DDBAA24961EA400F58FB5 /* bootstrap.min.js in Resources */ = {isa = PBXBuildFile; fileRef = 183DDB8324961EA400F58FB5 /* bootstrap.min.js */; };
-		183DDBAB24961EA400F58FB5 /* mapJSON.js in Resources */ = {isa = PBXBuildFile; fileRef = 183DDB8424961EA400F58FB5 /* mapJSON.js */; };
-		183DDBAC24961EA400F58FB5 /* 202005221737000055s33y3F2.png in Resources */ = {isa = PBXBuildFile; fileRef = 183DDB8524961EA400F58FB5 /* 202005221737000055s33y3F2.png */; };
-		183DDBAD24961EA400F58FB5 /* swiper.min.css in Resources */ = {isa = PBXBuildFile; fileRef = 183DDB8624961EA400F58FB5 /* swiper.min.css */; };
-		183DDBAE24961EA400F58FB5 /* treasure_box_bg.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 183DDB8724961EA400F58FB5 /* treasure_box_bg.jpg */; };
-		183DDBAF24961EA400F58FB5 /* course-index.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 183DDB8824961EA400F58FB5 /* course-index.jpg */; };
-		183DDBB024961EA400F58FB5 /* fastclick.min.js in Resources */ = {isa = PBXBuildFile; fileRef = 183DDB8924961EA400F58FB5 /* fastclick.min.js */; };
-		183DDBB124961EA400F58FB5 /* mainSearch.png in Resources */ = {isa = PBXBuildFile; fileRef = 183DDB8A24961EA400F58FB5 /* mainSearch.png */; };
-		183DDBB224961EA400F58FB5 /* layout.css in Resources */ = {isa = PBXBuildFile; fileRef = 183DDB8B24961EA400F58FB5 /* layout.css */; };
-		183DDBB324961EA400F58FB5 /* js.cookie.min.js in Resources */ = {isa = PBXBuildFile; fileRef = 183DDB8C24961EA400F58FB5 /* js.cookie.min.js */; };
-		183DDBB424961EA400F58FB5 /* jquery.cookie.js in Resources */ = {isa = PBXBuildFile; fileRef = 183DDB8D24961EA400F58FB5 /* jquery.cookie.js */; };
-		183DDBB524961EA400F58FB5 /* moment.min.js in Resources */ = {isa = PBXBuildFile; fileRef = 183DDB8E24961EA400F58FB5 /* moment.min.js */; };
-		183DDBB624961EA400F58FB5 /* echarts.min.js in Resources */ = {isa = PBXBuildFile; fileRef = 183DDB8F24961EA400F58FB5 /* echarts.min.js */; };
-		183DDBB724961EA400F58FB5 /* weui.min.js in Resources */ = {isa = PBXBuildFile; fileRef = 183DDB9024961EA400F58FB5 /* weui.min.js */; };
-		183DDBB824961EA400F58FB5 /* axios.min.js in Resources */ = {isa = PBXBuildFile; fileRef = 183DDB9124961EA400F58FB5 /* axios.min.js */; };
 		1849F8FA248B6E94008F9023 /* JavaScriptCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1849F8F9248B6E94008F9023 /* JavaScriptCore.framework */; };
 		185F510A23A76765009F9022 /* CoreLocation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 185F510923A76765009F9022 /* CoreLocation.framework */; };
 		187B4EE321EC356100A9368D /* UIView+Extension.m in Sources */ = {isa = PBXBuildFile; fileRef = 187B4EE221EC356100A9368D /* UIView+Extension.m */; };
@@ -61,15 +22,16 @@
 		188BB1172489D12000494F58 /* JYNewSubViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 188BB1162489D12000494F58 /* JYNewSubViewController.m */; };
 		188BB11A2489D12F00494F58 /* JYNewExpViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 188BB1192489D12F00494F58 /* JYNewExpViewController.m */; };
 		188BB11D2489D14800494F58 /* JYNewMineViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 188BB11C2489D14800494F58 /* JYNewMineViewController.m */; };
+		189917392500889E003990B7 /* CloudKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 189917382500889E003990B7 /* CloudKit.framework */; };
+		1899173E25009A16003990B7 /* iCloudManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 1899173D25009A15003990B7 /* iCloudManager.m */; };
+		1899174125009A62003990B7 /* ZKDocument.m in Sources */ = {isa = PBXBuildFile; fileRef = 1899174025009A62003990B7 /* ZKDocument.m */; };
 		18AEC20B249332C500391584 /* JYKeyCustom.m in Sources */ = {isa = PBXBuildFile; fileRef = 18AEC20A249332C500391584 /* JYKeyCustom.m */; };
 		18BCAEB124F3C2980027921D /* JYWKNewWebController.m in Sources */ = {isa = PBXBuildFile; fileRef = 18BCAEB024F3C2980027921D /* JYWKNewWebController.m */; };
 		18C78C1A24E240CE001208F2 /* ZKClipboardView.m in Sources */ = {isa = PBXBuildFile; fileRef = 18C78C0C24E240CE001208F2 /* ZKClipboardView.m */; };
 		18C78C1B24E240CE001208F2 /* ZKModal.m in Sources */ = {isa = PBXBuildFile; fileRef = 18C78C0F24E240CE001208F2 /* ZKModal.m */; };
-		18C78C4324E24407001208F2 /* NJKWebViewProgress.m in Sources */ = {isa = PBXBuildFile; fileRef = 18C78C3B24E24407001208F2 /* NJKWebViewProgress.m */; };
 		18C78C4424E24407001208F2 /* LXProgressView.m in Sources */ = {isa = PBXBuildFile; fileRef = 18C78C3C24E24407001208F2 /* LXProgressView.m */; };
 		18C78C4524E24407001208F2 /* NoNetView.m in Sources */ = {isa = PBXBuildFile; fileRef = 18C78C3D24E24407001208F2 /* NoNetView.m */; };
 		18C78C4624E24407001208F2 /* NoNetView.xib in Resources */ = {isa = PBXBuildFile; fileRef = 18C78C3F24E24407001208F2 /* NoNetView.xib */; };
-		18C78C4724E24407001208F2 /* NJKWebViewProgressView.m in Sources */ = {isa = PBXBuildFile; fileRef = 18C78C4124E24407001208F2 /* NJKWebViewProgressView.m */; };
 		18C78C5324E24421001208F2 /* Reachability.m in Sources */ = {isa = PBXBuildFile; fileRef = 18C78C4924E24421001208F2 /* Reachability.m */; };
 		18C78C5424E24421001208F2 /* ZKMethod.m in Sources */ = {isa = PBXBuildFile; fileRef = 18C78C4A24E24421001208F2 /* ZKMethod.m */; };
 		18C78C5524E24421001208F2 /* ZKGuideView.m in Sources */ = {isa = PBXBuildFile; fileRef = 18C78C4B24E24421001208F2 /* ZKGuideView.m */; };
@@ -137,45 +99,6 @@
 		1810C2AF24E4E1D8006B8232 /* ZKFaceVerifyMsgView.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ZKFaceVerifyMsgView.m; sourceTree = "<group>"; };
 		182ECCFA22FD221000FFC79E /* qidongye@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "qidongye@2x.png"; sourceTree = "<group>"; };
 		182ECCFC22FD223A00FFC79E /* logo.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = logo.png; sourceTree = "<group>"; };
-		183DDB6B24961EA400F58FB5 /* dropload.js */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.javascript; path = dropload.js; sourceTree = "<group>"; };
-		183DDB6C24961EA400F58FB5 /* template-web.js */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.javascript; path = "template-web.js"; sourceTree = "<group>"; };
-		183DDB6D24961EA400F58FB5 /* weui.min.css */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.css; path = weui.min.css; sourceTree = "<group>"; };
-		183DDB6E24961EA400F58FB5 /* imageViewer.min.js */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.javascript; path = imageViewer.min.js; sourceTree = "<group>"; };
-		183DDB6F24961EA400F58FB5 /* vant.min.js */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.javascript; path = vant.min.js; sourceTree = "<group>"; };
-		183DDB7024961EA400F58FB5 /* mobiscroll.min.js */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.javascript; path = mobiscroll.min.js; sourceTree = "<group>"; };
-		183DDB7124961EA400F58FB5 /* mobiscroll.min.css */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.css; path = mobiscroll.min.css; sourceTree = "<group>"; };
-		183DDB7224961EA400F58FB5 /* swiper.min.js */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.javascript; path = swiper.min.js; sourceTree = "<group>"; };
-		183DDB7324961EA400F58FB5 /* 20200522173929005YiCl1Dwd.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = 20200522173929005YiCl1Dwd.png; sourceTree = "<group>"; };
-		183DDB7424961EA400F58FB5 /* vuex.min.js */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.javascript; path = vuex.min.js; sourceTree = "<group>"; };
-		183DDB7524961EA400F58FB5 /* clipboard.min.js */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.javascript; path = clipboard.min.js; sourceTree = "<group>"; };
-		183DDB7624961EA400F58FB5 /* vue-router.min.js */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.javascript; path = "vue-router.min.js"; sourceTree = "<group>"; };
-		183DDB7724961EA400F58FB5 /* 20200604160552006e71984U5.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = 20200604160552006e71984U5.png; sourceTree = "<group>"; };
-		183DDB7824961EA400F58FB5 /* bg_4.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = bg_4.jpg; sourceTree = "<group>"; };
-		183DDB7924961EA400F58FB5 /* sprite-about.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "sprite-about.png"; sourceTree = "<group>"; };
-		183DDB7A24961EA400F58FB5 /* bg_1.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = bg_1.jpg; sourceTree = "<group>"; };
-		183DDB7B24961EA400F58FB5 /* bg_3.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = bg_3.jpg; sourceTree = "<group>"; };
-		183DDB7C24961EA400F58FB5 /* bg_2.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = bg_2.jpg; sourceTree = "<group>"; };
-		183DDB7D24961EA400F58FB5 /* 20200522173921005m1D95f05.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = 20200522173921005m1D95f05.png; sourceTree = "<group>"; };
-		183DDB7E24961EA400F58FB5 /* rem.js */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.javascript; path = rem.js; sourceTree = "<group>"; };
-		183DDB7F24961EA400F58FB5 /* 20200522173921005m1D95f05.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = 20200522173921005m1D95f05.jpg; sourceTree = "<group>"; };
-		183DDB8024961EA400F58FB5 /* jquery.min.js */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.javascript; path = jquery.min.js; sourceTree = "<group>"; };
-		183DDB8124961EA400F58FB5 /* vue.min.js */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.javascript; path = vue.min.js; sourceTree = "<group>"; };
-		183DDB8224961EA400F58FB5 /* sprite.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = sprite.png; sourceTree = "<group>"; };
-		183DDB8324961EA400F58FB5 /* bootstrap.min.js */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.javascript; path = bootstrap.min.js; sourceTree = "<group>"; };
-		183DDB8424961EA400F58FB5 /* mapJSON.js */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.javascript; path = mapJSON.js; sourceTree = "<group>"; };
-		183DDB8524961EA400F58FB5 /* 202005221737000055s33y3F2.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = 202005221737000055s33y3F2.png; sourceTree = "<group>"; };
-		183DDB8624961EA400F58FB5 /* swiper.min.css */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.css; path = swiper.min.css; sourceTree = "<group>"; };
-		183DDB8724961EA400F58FB5 /* treasure_box_bg.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = treasure_box_bg.jpg; sourceTree = "<group>"; };
-		183DDB8824961EA400F58FB5 /* course-index.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = "course-index.jpg"; sourceTree = "<group>"; };
-		183DDB8924961EA400F58FB5 /* fastclick.min.js */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.javascript; path = fastclick.min.js; sourceTree = "<group>"; };
-		183DDB8A24961EA400F58FB5 /* mainSearch.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = mainSearch.png; sourceTree = "<group>"; };
-		183DDB8B24961EA400F58FB5 /* layout.css */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.css; path = layout.css; sourceTree = "<group>"; };
-		183DDB8C24961EA400F58FB5 /* js.cookie.min.js */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.javascript; path = js.cookie.min.js; sourceTree = "<group>"; };
-		183DDB8D24961EA400F58FB5 /* jquery.cookie.js */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.javascript; path = jquery.cookie.js; sourceTree = "<group>"; };
-		183DDB8E24961EA400F58FB5 /* moment.min.js */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.javascript; path = moment.min.js; sourceTree = "<group>"; };
-		183DDB8F24961EA400F58FB5 /* echarts.min.js */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.javascript; path = echarts.min.js; sourceTree = "<group>"; };
-		183DDB9024961EA400F58FB5 /* weui.min.js */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.javascript; path = weui.min.js; sourceTree = "<group>"; };
-		183DDB9124961EA400F58FB5 /* axios.min.js */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.javascript; path = axios.min.js; sourceTree = "<group>"; };
 		1849F8F9248B6E94008F9023 /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = System/Library/Frameworks/JavaScriptCore.framework; sourceTree = SDKROOT; };
 		185F510923A76765009F9022 /* CoreLocation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreLocation.framework; path = System/Library/Frameworks/CoreLocation.framework; sourceTree = SDKROOT; };
 		187B4EE121EC356100A9368D /* UIView+Extension.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "UIView+Extension.h"; sourceTree = "<group>"; };
@@ -196,6 +119,11 @@
 		188BB1192489D12F00494F58 /* JYNewExpViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = JYNewExpViewController.m; sourceTree = "<group>"; };
 		188BB11B2489D14800494F58 /* JYNewMineViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = JYNewMineViewController.h; sourceTree = "<group>"; };
 		188BB11C2489D14800494F58 /* JYNewMineViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = JYNewMineViewController.m; sourceTree = "<group>"; };
+		189917382500889E003990B7 /* CloudKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CloudKit.framework; path = System/Library/Frameworks/CloudKit.framework; sourceTree = SDKROOT; };
+		1899173C25009A15003990B7 /* iCloudManager.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = iCloudManager.h; sourceTree = "<group>"; };
+		1899173D25009A15003990B7 /* iCloudManager.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = iCloudManager.m; sourceTree = "<group>"; };
+		1899173F25009A62003990B7 /* ZKDocument.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ZKDocument.h; sourceTree = "<group>"; };
+		1899174025009A62003990B7 /* ZKDocument.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ZKDocument.m; sourceTree = "<group>"; };
 		18AEC209249332C500391584 /* JYKeyCustom.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = JYKeyCustom.h; sourceTree = "<group>"; };
 		18AEC20A249332C500391584 /* JYKeyCustom.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = JYKeyCustom.m; sourceTree = "<group>"; };
 		18B2DF4021ACDA5D00B5C93F /* WebKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = WebKit.framework; path = System/Library/Frameworks/WebKit.framework; sourceTree = SDKROOT; };
@@ -205,14 +133,10 @@
 		18C78C0D24E240CE001208F2 /* ZKModal.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ZKModal.h; sourceTree = "<group>"; };
 		18C78C0E24E240CE001208F2 /* ZKClipboardView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ZKClipboardView.h; sourceTree = "<group>"; };
 		18C78C0F24E240CE001208F2 /* ZKModal.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ZKModal.m; sourceTree = "<group>"; };
-		18C78C3A24E24407001208F2 /* NJKWebViewProgressView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = NJKWebViewProgressView.h; sourceTree = "<group>"; };
-		18C78C3B24E24407001208F2 /* NJKWebViewProgress.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = NJKWebViewProgress.m; sourceTree = "<group>"; };
 		18C78C3C24E24407001208F2 /* LXProgressView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = LXProgressView.m; sourceTree = "<group>"; };
 		18C78C3D24E24407001208F2 /* NoNetView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = NoNetView.m; sourceTree = "<group>"; };
 		18C78C3E24E24407001208F2 /* LXProgressView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = LXProgressView.h; sourceTree = "<group>"; };
 		18C78C3F24E24407001208F2 /* NoNetView.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = NoNetView.xib; sourceTree = "<group>"; };
-		18C78C4024E24407001208F2 /* NJKWebViewProgress.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = NJKWebViewProgress.h; sourceTree = "<group>"; };
-		18C78C4124E24407001208F2 /* NJKWebViewProgressView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = NJKWebViewProgressView.m; sourceTree = "<group>"; };
 		18C78C4224E24407001208F2 /* NoNetView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = NoNetView.h; sourceTree = "<group>"; };
 		18C78C4924E24421001208F2 /* Reachability.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = Reachability.m; sourceTree = "<group>"; };
 		18C78C4A24E24421001208F2 /* ZKMethod.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ZKMethod.m; sourceTree = "<group>"; };
@@ -290,6 +214,7 @@
 				188A144723273CAD00D39E7E /* UserNotifications.framework in Frameworks */,
 				18E05D1022F11D97001E5B44 /* Foundation.framework in Frameworks */,
 				18E05D0E22F11D8D001E5B44 /* CFNetwork.framework in Frameworks */,
+				189917392500889E003990B7 /* CloudKit.framework in Frameworks */,
 				18E05D0C22F11D86001E5B44 /* UIKit.framework in Frameworks */,
 				18E05D0A22F11D7F001E5B44 /* CoreText.framework in Frameworks */,
 				18E05D0822F11D78001E5B44 /* QuartzCore.framework in Frameworks */,
@@ -324,52 +249,6 @@
 /* End PBXFrameworksBuildPhase section */
 
 /* Begin PBXGroup section */
-		183DDB6A24961EA400F58FB5 /* local */ = {
-			isa = PBXGroup;
-			children = (
-				183DDB6B24961EA400F58FB5 /* dropload.js */,
-				183DDB6C24961EA400F58FB5 /* template-web.js */,
-				183DDB6D24961EA400F58FB5 /* weui.min.css */,
-				183DDB6E24961EA400F58FB5 /* imageViewer.min.js */,
-				183DDB6F24961EA400F58FB5 /* vant.min.js */,
-				183DDB7024961EA400F58FB5 /* mobiscroll.min.js */,
-				183DDB7124961EA400F58FB5 /* mobiscroll.min.css */,
-				183DDB7224961EA400F58FB5 /* swiper.min.js */,
-				183DDB7324961EA400F58FB5 /* 20200522173929005YiCl1Dwd.png */,
-				183DDB7424961EA400F58FB5 /* vuex.min.js */,
-				183DDB7524961EA400F58FB5 /* clipboard.min.js */,
-				183DDB7624961EA400F58FB5 /* vue-router.min.js */,
-				183DDB7724961EA400F58FB5 /* 20200604160552006e71984U5.png */,
-				183DDB7824961EA400F58FB5 /* bg_4.jpg */,
-				183DDB7924961EA400F58FB5 /* sprite-about.png */,
-				183DDB7A24961EA400F58FB5 /* bg_1.jpg */,
-				183DDB7B24961EA400F58FB5 /* bg_3.jpg */,
-				183DDB7C24961EA400F58FB5 /* bg_2.jpg */,
-				183DDB7D24961EA400F58FB5 /* 20200522173921005m1D95f05.png */,
-				183DDB7E24961EA400F58FB5 /* rem.js */,
-				183DDB7F24961EA400F58FB5 /* 20200522173921005m1D95f05.jpg */,
-				183DDB8024961EA400F58FB5 /* jquery.min.js */,
-				183DDB8124961EA400F58FB5 /* vue.min.js */,
-				183DDB8224961EA400F58FB5 /* sprite.png */,
-				183DDB8324961EA400F58FB5 /* bootstrap.min.js */,
-				183DDB8424961EA400F58FB5 /* mapJSON.js */,
-				183DDB8524961EA400F58FB5 /* 202005221737000055s33y3F2.png */,
-				183DDB8624961EA400F58FB5 /* swiper.min.css */,
-				183DDB8724961EA400F58FB5 /* treasure_box_bg.jpg */,
-				183DDB8824961EA400F58FB5 /* course-index.jpg */,
-				183DDB8924961EA400F58FB5 /* fastclick.min.js */,
-				183DDB8A24961EA400F58FB5 /* mainSearch.png */,
-				183DDB8B24961EA400F58FB5 /* layout.css */,
-				183DDB8C24961EA400F58FB5 /* js.cookie.min.js */,
-				183DDB8D24961EA400F58FB5 /* jquery.cookie.js */,
-				183DDB8E24961EA400F58FB5 /* moment.min.js */,
-				183DDB8F24961EA400F58FB5 /* echarts.min.js */,
-				183DDB9024961EA400F58FB5 /* weui.min.js */,
-				183DDB9124961EA400F58FB5 /* axios.min.js */,
-			);
-			path = local;
-			sourceTree = "<group>";
-		};
 		188037092193EAD1006F9D7B /* Classes(模块) */ = {
 			isa = PBXGroup;
 			children = (
@@ -387,6 +266,17 @@
 			path = "Classes(模块)";
 			sourceTree = "<group>";
 		};
+		1899173B250099F7003990B7 /* icloud */ = {
+			isa = PBXGroup;
+			children = (
+				1899173C25009A15003990B7 /* iCloudManager.h */,
+				1899173D25009A15003990B7 /* iCloudManager.m */,
+				1899173F25009A62003990B7 /* ZKDocument.h */,
+				1899174025009A62003990B7 /* ZKDocument.m */,
+			);
+			path = icloud;
+			sourceTree = "<group>";
+		};
 		18C78C0B24E240CE001208F2 /* tool */ = {
 			isa = PBXGroup;
 			children = (
@@ -408,10 +298,6 @@
 				18C78C4224E24407001208F2 /* NoNetView.h */,
 				18C78C3D24E24407001208F2 /* NoNetView.m */,
 				18C78C3F24E24407001208F2 /* NoNetView.xib */,
-				18C78C4024E24407001208F2 /* NJKWebViewProgress.h */,
-				18C78C3B24E24407001208F2 /* NJKWebViewProgress.m */,
-				18C78C4124E24407001208F2 /* NJKWebViewProgressView.m */,
-				18C78C3A24E24407001208F2 /* NJKWebViewProgressView.h */,
 			);
 			path = CustomView;
 			sourceTree = "<group>";
@@ -475,6 +361,7 @@
 		954256EB2ECEF2507E4350ED /* Frameworks */ = {
 			isa = PBXGroup;
 			children = (
+				189917382500889E003990B7 /* CloudKit.framework */,
 				1849F8F9248B6E94008F9023 /* JavaScriptCore.framework */,
 				185F510923A76765009F9022 /* CoreLocation.framework */,
 				188A144823273CB300D39E7E /* UserNotificationsUI.framework */,
@@ -559,11 +446,11 @@
 		C5BE6E392011D99100F28B36 /* JianYuIOS */ = {
 			isa = PBXGroup;
 			children = (
+				1899173B250099F7003990B7 /* icloud */,
 				18C78C4824E24421001208F2 /* guide */,
 				18C78C3924E24407001208F2 /* CustomView */,
 				18C78C0B24E240CE001208F2 /* tool */,
 				1800141B24CFC19200EEC1AF /* 剑鱼标讯Debug.entitlements */,
-				183DDB6A24961EA400F58FB5 /* local */,
 				18E05CEF22F11CDD001E5B44 /* Libs(第三方) */,
 				C519972120202348007946E8 /* BaseClass1 */,
 				C5493106201F04120080CD63 /* Image */,
@@ -726,56 +613,17 @@
 			buildActionMask = 2147483647;
 			files = (
 				182ECCFD22FD223A00FFC79E /* logo.png in Resources */,
-				183DDBA124961EA400F58FB5 /* bg_1.jpg in Resources */,
-				183DDBAD24961EA400F58FB5 /* swiper.min.css in Resources */,
-				183DDBB424961EA400F58FB5 /* jquery.cookie.js in Resources */,
-				183DDBA724961EA400F58FB5 /* jquery.min.js in Resources */,
 				18C78C4624E24407001208F2 /* NoNetView.xib in Resources */,
 				C5D01D7E20282543007F207E /* back_normal@2x.png in Resources */,
-				183DDB9324961EA400F58FB5 /* template-web.js in Resources */,
-				183DDBA424961EA400F58FB5 /* 20200522173921005m1D95f05.png in Resources */,
 				18E05CFB22F11CDE001E5B44 /* AlipaySDK.bundle in Resources */,
-				183DDBB024961EA400F58FB5 /* fastclick.min.js in Resources */,
-				183DDB9D24961EA400F58FB5 /* vue-router.min.js in Resources */,
-				183DDBA024961EA400F58FB5 /* sprite-about.png in Resources */,
-				183DDB9C24961EA400F58FB5 /* clipboard.min.js in Resources */,
-				183DDBB524961EA400F58FB5 /* moment.min.js in Resources */,
-				183DDBA924961EA400F58FB5 /* sprite.png in Resources */,
-				183DDB9824961EA400F58FB5 /* mobiscroll.min.css in Resources */,
-				183DDB9624961EA400F58FB5 /* vant.min.js in Resources */,
-				183DDBB324961EA400F58FB5 /* js.cookie.min.js in Resources */,
 				C5FE4B5220468AED00CC8A2F /* noNet@2x.png in Resources */,
-				183DDB9B24961EA400F58FB5 /* vuex.min.js in Resources */,
-				183DDB9524961EA400F58FB5 /* imageViewer.min.js in Resources */,
-				183DDB9224961EA400F58FB5 /* dropload.js in Resources */,
 				C550BEFB20180AF000F0BC2A /* Info.plist in Resources */,
-				183DDBAA24961EA400F58FB5 /* bootstrap.min.js in Resources */,
-				183DDBA224961EA400F58FB5 /* bg_3.jpg in Resources */,
-				183DDBA324961EA400F58FB5 /* bg_2.jpg in Resources */,
-				183DDBAC24961EA400F58FB5 /* 202005221737000055s33y3F2.png in Resources */,
-				183DDBA524961EA400F58FB5 /* rem.js in Resources */,
-				183DDBAB24961EA400F58FB5 /* mapJSON.js in Resources */,
 				182ECCFB22FD221100FFC79E /* qidongye@2x.png in Resources */,
-				183DDBB624961EA400F58FB5 /* echarts.min.js in Resources */,
-				183DDBAF24961EA400F58FB5 /* course-index.jpg in Resources */,
-				183DDB9724961EA400F58FB5 /* mobiscroll.min.js in Resources */,
-				183DDBA824961EA400F58FB5 /* vue.min.js in Resources */,
-				183DDBAE24961EA400F58FB5 /* treasure_box_bg.jpg in Resources */,
-				183DDBB124961EA400F58FB5 /* mainSearch.png in Resources */,
 				C5B194D4202EA46D00F0AC76 /* arrowLeft@2x.png in Resources */,
-				183DDB9E24961EA400F58FB5 /* 20200604160552006e71984U5.png in Resources */,
-				183DDBB224961EA400F58FB5 /* layout.css in Resources */,
 				C5BE6E472011D99100F28B36 /* LaunchScreen.storyboard in Resources */,
 				C5BE6E442011D99100F28B36 /* Assets.xcassets in Resources */,
-				183DDB9924961EA400F58FB5 /* swiper.min.js in Resources */,
-				183DDBA624961EA400F58FB5 /* 20200522173921005m1D95f05.jpg in Resources */,
-				183DDB9F24961EA400F58FB5 /* bg_4.jpg in Resources */,
-				183DDBB724961EA400F58FB5 /* weui.min.js in Resources */,
 				18E05CF922F11CDE001E5B44 /* README.txt in Resources */,
 				C5BE6E422011D99100F28B36 /* Main.storyboard in Resources */,
-				183DDBB824961EA400F58FB5 /* axios.min.js in Resources */,
-				183DDB9A24961EA400F58FB5 /* 20200522173929005YiCl1Dwd.png in Resources */,
-				183DDB9424961EA400F58FB5 /* weui.min.css in Resources */,
 			);
 			runOnlyForDeploymentPostprocessing = 0;
 		};
@@ -855,7 +703,9 @@
 				C519972D2020238D007946E8 /* LXMD5.m in Sources */,
 				18C9D8E7219A5F9F001AC829 /* UITabBar+badge.m in Sources */,
 				C555EC282047DC5E0084642F /* LXNetworkManager.m in Sources */,
+				1899174125009A62003990B7 /* ZKDocument.m in Sources */,
 				C519972F2020238D007946E8 /* LXDataBaseManager.m in Sources */,
+				1899173E25009A16003990B7 /* iCloudManager.m in Sources */,
 				187B4EE321EC356100A9368D /* UIView+Extension.m in Sources */,
 				18C78C5724E24421001208F2 /* ZKPrivacyView.m in Sources */,
 				188BB11D2489D14800494F58 /* JYNewMineViewController.m in Sources */,
@@ -869,7 +719,6 @@
 				188036FB2193EA09006F9D7B /* JYNavigationController.m in Sources */,
 				18C78C4524E24407001208F2 /* NoNetView.m in Sources */,
 				C519972C2020238D007946E8 /* LXUserDefaults.m in Sources */,
-				18C78C4324E24407001208F2 /* NJKWebViewProgress.m in Sources */,
 				188BB1142489D11300494F58 /* JYNewSearchViewController.m in Sources */,
 				18C78C4424E24407001208F2 /* LXProgressView.m in Sources */,
 				C519972E2020238D007946E8 /* LXViewControllerManager.m in Sources */,
@@ -880,7 +729,6 @@
 				18C78C1A24E240CE001208F2 /* ZKClipboardView.m in Sources */,
 				1810C2B024E4E1D8006B8232 /* ZKFaceVerifyMsgView.m in Sources */,
 				18C78C5424E24421001208F2 /* ZKMethod.m in Sources */,
-				18C78C4724E24407001208F2 /* NJKWebViewProgressView.m in Sources */,
 				187B4EE621EC635700A9368D /* GlobalData.m in Sources */,
 			);
 			runOnlyForDeploymentPostprocessing = 0;

BIN
ios/JianYuIOS/JianYuIOS.xcworkspace/xcuserdata/apple.xcuserdatad/UserInterfaceState.xcuserstate


+ 16 - 0
ios/JianYuIOS/JianYuIOS.xcworkspace/xcuserdata/apple.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist

@@ -16,5 +16,21 @@
             stopOnStyle = "0">
          </BreakpointContent>
       </BreakpointProxy>
+      <BreakpointProxy
+         BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
+         <BreakpointContent
+            uuid = "56A1657C-D3D0-4101-9105-1EB62FC0075A"
+            shouldBeEnabled = "Yes"
+            ignoreCount = "0"
+            continueAfterRunningActions = "No"
+            filePath = "JianYuIOS/guide/ZKGuideView.m"
+            startingColumnNumber = "9223372036854775807"
+            endingColumnNumber = "9223372036854775807"
+            startingLineNumber = "208"
+            endingLineNumber = "208"
+            landmarkName = "-textView:shouldInteractWithURL:inRange:"
+            landmarkType = "7">
+         </BreakpointContent>
+      </BreakpointProxy>
    </Breakpoints>
 </Bucket>

+ 1 - 1
ios/JianYuIOS/JianYuIOS/AppDelegate.m

@@ -43,7 +43,7 @@
     [NSURLCache setSharedURLCache:URLCache];
     
     NSString *isProvacy = [[NSUserDefaults standardUserDefaults] objectForKey:@"FirstPrivacy"];
-    if ([isProvacy isEqualToString:@"1"]) {
+    if ([isProvacy isEqualToString:@"0"]) {
         
     }else {
         //设置启动页

+ 8 - 2
ios/JianYuIOS/JianYuIOS/BaseClass1/PrefixHeader.pch

@@ -146,18 +146,24 @@ _Pragma("clang diagnostic pop")\
 #import <WBOCRService/WBOCRService.h>
 #import <WBCloudReflectionFaceVerify/WBFaceVerifyCustomerService.h>
 
+
+
+
+
+
 #import "UIView+Extension.h"
 #import "GlobalData.h"
 #import "UIDevice+Hardware.h"
 #import "ZKControl.h"
 #import "ZKMethod.h"
 #import "Reachability.h"
-#import "NJKWebViewProgressView.h"
-#import "NJKWebViewProgress.h"
+
 #import "JYWKNewWebController.h"
 #import "ZKClipboardView.h"
 #import "ZKFaceVerifyMsgView.h"
 
+#import "iCloud.h"
+#import "iCloudManager.h"
 
 //#define kHost @"http://web-jydev-ws.jianyu360.cn/" //王山
 

+ 39 - 20
ios/JianYuIOS/JianYuIOS/Classes(模块)/JYNewSearchViewController.m

@@ -13,7 +13,7 @@
 
 
 
-@interface JYNewSearchViewController ()<WKNavigationDelegate,WKUIDelegate,WKScriptMessageHandler,CLLocationManagerDelegate,UINavigationControllerDelegate,UIImagePickerControllerDelegate,CLLocationManagerDelegate,SKProductsRequestDelegate,SKPaymentTransactionObserver,ZKClipboardViewDelegate,WBFaceVerifyCustomerServiceDelegate>
+@interface JYNewSearchViewController ()<WKNavigationDelegate,WKUIDelegate,WKScriptMessageHandler,CLLocationManagerDelegate,UINavigationControllerDelegate,UIImagePickerControllerDelegate,CLLocationManagerDelegate,SKProductsRequestDelegate,SKPaymentTransactionObserver,ZKClipboardViewDelegate,WBFaceVerifyCustomerServiceDelegate,UIDocumentPickerDelegate>
 {
     NSInteger _timeTick;
     NSInteger _time;
@@ -541,29 +541,48 @@ NSString *const new_AesKey_1 = @"mGlAgnIBB8bx2nch";
     
     //监听购买结果
     [[SKPaymentQueue defaultQueue] addTransactionObserver:self];
+    
+    
+    UIButton *btn1 = [ZKControl createButtonWithFrame:CGRectMake(100, 100, 100, 100) title:@"测试上传" imageName:nil bgImageName:nil target:self method:@selector(btn1click)];
+//    [self.view addSubview:btn1];
 }
 
 
-//-(void)btn1click{
-//    //调用接口
-//    [[LXNetworkManager shareLXNetworkManager]postWithURLStr:[NSString stringWithFormat:@"%@jyapp/tencentcloud/ocr",kHost] parameters:nil progress:^(NSProgress *progress) {
-//    } success:^(id responseObject) {
-//        NSLog(@"responseObject=%@",responseObject);
-//        [self jsOcrVerifyService:responseObject[@"data"]];
-//    } failure:^(NSError *error) {
-//
-//    }];
-//}
-//-(void)btn2click{
-//    //调用接口
-//    [[LXNetworkManager shareLXNetworkManager]postWithURLStr:[NSString stringWithFormat:@"%@jyapp/tencentcloud/ocr",kHost] parameters:@{@"token":[LXUserDefaults token]} progress:^(NSProgress *progress) {
-//    } success:^(id responseObject) {
-//        NSLog(@"responseObject=%@",responseObject);
-//        [self jsFaceVerifyService:responseObject[@"data"]];
-//    } failure:^(NSError *error) {
+-(void)btn1click{
+    
+    NSArray *documentTypes = @[@"public.content", @"public.text", @"public.source-code ", @"public.image", @"public.audiovisual-content", @"com.adobe.pdf", @"com.apple.keynote.key", @"com.microsoft.word.doc", @"com.microsoft.excel.xls", @"com.microsoft.powerpoint.ppt"];
+    
+    UIDocumentPickerViewController *documentPickerViewController = [[UIDocumentPickerViewController alloc] initWithDocumentTypes:documentTypes
+                                                                                                            inMode:UIDocumentPickerModeOpen];
+    documentPickerViewController.delegate = self;
+    [self presentViewController:documentPickerViewController animated:YES completion:nil];
+}
+
+#pragma mark - UIDocumentPickerDelegate
+
+- (void)documentPicker:(UIDocumentPickerViewController *)controller didPickDocumentAtURL:(NSURL *)url {
+    
+    NSArray *array = [[url absoluteString] componentsSeparatedByString:@"/"];
+    NSString *fileName = [array lastObject];
+    fileName = [fileName stringByRemovingPercentEncoding];
+    NSLog(@"%@",fileName);
+    if ([iCloudManager iCloudEnable]) {
+        [iCloudManager downloadWithDocumentURL:url callBack:^(id obj) {
+            NSLog(@"选择文件");
+            NSData *data = obj;
+            //上传
+//            //写入沙盒Documents
+//            NSString *filePath = [NSHomeDirectory() stringByAppendingString:[NSString stringWithFormat:@"/Documents/%@",fileName]];
+//            [data writeToFile:filePath atomically:YES];
 //
-//    }];
-//}
+//            NSLog(@"%@",filePath);
+            
+//            NSArray *arr = [filePath componentsSeparatedByString:@"."];
+//            NSString *smallString = [[arr lastObject] lowercaseString];
+//            NSLog(@"%@",smallString);
+        }];
+    }
+}
 
 
 

+ 0 - 36
ios/JianYuIOS/JianYuIOS/CustomView/NJKWebViewProgress.h

@@ -1,36 +0,0 @@
-//
-//  NJKWebViewProgress.h
-//
-//  Created by Satoshi Aasano on 4/20/13.
-//  Copyright (c) 2013 Satoshi Asano. All rights reserved.
-//
-
-#import <Foundation/Foundation.h>
-#import <UIKit/UIKit.h>
-
-#undef njk_weak
-#if __has_feature(objc_arc_weak)
-#define njk_weak weak
-#else
-#define njk_weak unsafe_unretained
-#endif
-
-extern const float NJKInitialProgressValue;
-extern const float NJKInteractiveProgressValue;
-extern const float NJKFinalProgressValue;
-
-typedef void (^NJKWebViewProgressBlock)(float progress);
-@protocol NJKWebViewProgressDelegate;
-@interface NJKWebViewProgress : NSObject<UIWebViewDelegate>
-@property (nonatomic, njk_weak) id<NJKWebViewProgressDelegate>progressDelegate;
-@property (nonatomic, njk_weak) id<UIWebViewDelegate>webViewProxyDelegate;
-@property (nonatomic, copy) NJKWebViewProgressBlock progressBlock;
-@property (nonatomic, readonly) float progress; // 0.0..1.0
-
-- (void)reset;
-@end
-
-@protocol NJKWebViewProgressDelegate <NSObject>
-- (void)webViewProgress:(NJKWebViewProgress *)webViewProgress updateProgress:(float)progress;
-@end
-

+ 0 - 204
ios/JianYuIOS/JianYuIOS/CustomView/NJKWebViewProgress.m

@@ -1,204 +0,0 @@
-//
-//  NJKWebViewProgress.m
-//
-//  Created by Satoshi Aasano on 4/20/13.
-//  Copyright (c) 2013 Satoshi Asano. All rights reserved.
-//
-
-#import "NJKWebViewProgress.h"
-
-NSString *completeRPCURLPath = @"/njkwebviewprogressproxy/complete";
-
-const float NJKInitialProgressValue = 0.1f;
-const float NJKInteractiveProgressValue = 0.5f;
-const float NJKFinalProgressValue = 0.9f;
-
-@implementation NJKWebViewProgress
-{
-    NSUInteger _loadingCount;
-    NSUInteger _maxLoadCount;
-    NSURL *_currentURL;
-    BOOL _interactive;
-}
-
-- (id)init
-{
-    self = [super init];
-    if (self) {
-        _maxLoadCount = _loadingCount = 0;
-        _interactive = NO;
-    }
-    return self;
-}
-
-- (void)startProgress
-{
-    if (_progress < NJKInitialProgressValue) {
-        [self setProgress:NJKInitialProgressValue];
-    }
-}
-
-- (void)incrementProgress
-{
-    float progress = self.progress;
-    float maxProgress = _interactive ? NJKFinalProgressValue : NJKInteractiveProgressValue;
-    float remainPercent = (float)_loadingCount / (float)_maxLoadCount;
-    float increment = (maxProgress - progress) * remainPercent;
-    progress += increment;
-    progress = fmin(progress, maxProgress);
-    [self setProgress:progress];
-}
-
-- (void)completeProgress
-{
-    [self setProgress:1.0];
-}
-
-- (void)setProgress:(float)progress
-{
-    // progress should be incremental only
-    if (progress > _progress || progress == 0) {
-        _progress = progress;
-        if ([_progressDelegate respondsToSelector:@selector(webViewProgress:updateProgress:)]) {
-            [_progressDelegate webViewProgress:self updateProgress:progress];
-        }
-        if (_progressBlock) {
-            _progressBlock(progress);
-        }
-    }
-}
-
-- (void)reset
-{
-    _maxLoadCount = _loadingCount = 0;
-    _interactive = NO;
-    [self setProgress:0.0];
-}
-
-#pragma mark -
-#pragma mark UIWebViewDelegate
-
-- (BOOL)webView:(UIWebView *)webView shouldStartLoadWithRequest:(NSURLRequest *)request navigationType:(UIWebViewNavigationType)navigationType
-{
-    if ([request.URL.path isEqualToString:completeRPCURLPath]) {
-        [self completeProgress];
-        return NO;
-    }
-    
-    BOOL ret = YES;
-    if ([_webViewProxyDelegate respondsToSelector:@selector(webView:shouldStartLoadWithRequest:navigationType:)]) {
-        ret = [_webViewProxyDelegate webView:webView shouldStartLoadWithRequest:request navigationType:navigationType];
-    }
-    
-    BOOL isFragmentJump = NO;
-    if (request.URL.fragment) {
-        NSString *nonFragmentURL = [request.URL.absoluteString stringByReplacingOccurrencesOfString:[@"#" stringByAppendingString:request.URL.fragment] withString:@""];
-        isFragmentJump = [nonFragmentURL isEqualToString:webView.request.URL.absoluteString];
-    }
-
-    BOOL isTopLevelNavigation = [request.mainDocumentURL isEqual:request.URL];
-
-    BOOL isHTTPOrLocalFile = [request.URL.scheme isEqualToString:@"http"] || [request.URL.scheme isEqualToString:@"https"] || [request.URL.scheme isEqualToString:@"file"];
-    if (ret && !isFragmentJump && isHTTPOrLocalFile && isTopLevelNavigation) {
-        _currentURL = request.URL;
-        [self reset];
-    }
-    return ret;
-}
-
-- (void)webViewDidStartLoad:(UIWebView *)webView
-{
-    if ([_webViewProxyDelegate respondsToSelector:@selector(webViewDidStartLoad:)]) {
-        [_webViewProxyDelegate webViewDidStartLoad:webView];
-    }
-
-    _loadingCount++;
-    _maxLoadCount = fmax(_maxLoadCount, _loadingCount);
-
-    [self startProgress];
-}
-
-- (void)webViewDidFinishLoad:(UIWebView *)webView
-{
-    if ([_webViewProxyDelegate respondsToSelector:@selector(webViewDidFinishLoad:)]) {
-        [_webViewProxyDelegate webViewDidFinishLoad:webView];
-    }
-    
-    _loadingCount--;
-    [self incrementProgress];
-    
-    NSString *readyState = [webView stringByEvaluatingJavaScriptFromString:@"document.readyState"];
-
-    BOOL interactive = [readyState isEqualToString:@"interactive"];
-    if (interactive) {
-        _interactive = YES;
-        NSString *waitForCompleteJS = [NSString stringWithFormat:@"window.addEventListener('load',function() { var iframe = document.createElement('iframe'); iframe.style.display = 'none'; iframe.src = '%@://%@%@'; document.body.appendChild(iframe);  }, false);", webView.request.mainDocumentURL.scheme, webView.request.mainDocumentURL.host, completeRPCURLPath];
-        [webView stringByEvaluatingJavaScriptFromString:waitForCompleteJS];
-    }
-    
-    BOOL isNotRedirect = _currentURL && [_currentURL isEqual:webView.request.mainDocumentURL];
-    BOOL complete = [readyState isEqualToString:@"complete"];
-    if (complete && isNotRedirect) {
-        [self completeProgress];
-    }
-}
-
-- (void)webView:(UIWebView *)webView didFailLoadWithError:(NSError *)error
-{
-    if ([_webViewProxyDelegate respondsToSelector:@selector(webView:didFailLoadWithError:)]) {
-        [_webViewProxyDelegate webView:webView didFailLoadWithError:error];
-    }
-    
-    _loadingCount--;
-    [self incrementProgress];
-
-    NSString *readyState = [webView stringByEvaluatingJavaScriptFromString:@"document.readyState"];
-
-    BOOL interactive = [readyState isEqualToString:@"interactive"];
-    if (interactive) {
-        _interactive = YES;
-        NSString *waitForCompleteJS = [NSString stringWithFormat:@"window.addEventListener('load',function() { var iframe = document.createElement('iframe'); iframe.style.display = 'none'; iframe.src = '%@://%@%@'; document.body.appendChild(iframe);  }, false);", webView.request.mainDocumentURL.scheme, webView.request.mainDocumentURL.host, completeRPCURLPath];
-        [webView stringByEvaluatingJavaScriptFromString:waitForCompleteJS];
-    }
-    
-    BOOL isNotRedirect = _currentURL && [_currentURL isEqual:webView.request.mainDocumentURL];
-    BOOL complete = [readyState isEqualToString:@"complete"];
-    if ((complete && isNotRedirect) || error) {
-        [self completeProgress];
-    }
-}
-
-#pragma mark - 
-#pragma mark Method Forwarding
-// for future UIWebViewDelegate impl
-
-- (BOOL)respondsToSelector:(SEL)aSelector
-{
-    if ( [super respondsToSelector:aSelector] )
-        return YES;
-    
-    if ([self.webViewProxyDelegate respondsToSelector:aSelector])
-        return YES;
-    
-    return NO;
-}
-
-- (NSMethodSignature *)methodSignatureForSelector:(SEL)selector
-{
-    NSMethodSignature *signature = [super methodSignatureForSelector:selector];
-    if(!signature) {
-        if([_webViewProxyDelegate respondsToSelector:selector]) {
-            return [(NSObject *)_webViewProxyDelegate methodSignatureForSelector:selector];
-        }
-    }
-    return signature;
-}
-
-- (void)forwardInvocation:(NSInvocation*)invocation
-{
-    if ([_webViewProxyDelegate respondsToSelector:[invocation selector]]) {
-        [invocation invokeWithTarget:_webViewProxyDelegate];
-    }
-}
-
-@end

+ 0 - 21
ios/JianYuIOS/JianYuIOS/CustomView/NJKWebViewProgressView.h

@@ -1,21 +0,0 @@
-//
-//  NJKWebViewProgressView.h
-// iOS 7 Style WebView Progress Bar
-//
-//  Created by Satoshi Aasano on 11/16/13.
-//  Copyright (c) 2013 Satoshi Asano. All rights reserved.
-//
-
-#import <UIKit/UIKit.h>
-
-@interface NJKWebViewProgressView : UIView
-@property (nonatomic) float progress;
-
-@property (nonatomic) UIView *progressBarView;
-@property (nonatomic) NSTimeInterval barAnimationDuration; // default 0.1
-@property (nonatomic) NSTimeInterval fadeAnimationDuration; // default 0.27
-@property (nonatomic) NSTimeInterval fadeOutDelay; // default 0.1
-
-- (void)setProgress:(float)progress animated:(BOOL)animated;
-
-@end

+ 0 - 75
ios/JianYuIOS/JianYuIOS/CustomView/NJKWebViewProgressView.m

@@ -1,75 +0,0 @@
-//
-//  NJKWebViewProgressView.m
-//
-//  Created by Satoshi Aasanoon 11/16/13.
-//  Copyright (c) 2013 Satoshi Asano. All rights reserved.
-//
-
-#import "NJKWebViewProgressView.h"
-
-@implementation NJKWebViewProgressView
-
-- (id)initWithFrame:(CGRect)frame
-{
-    self = [super initWithFrame:frame];
-    if (self) {
-        [self configureViews];
-    }
-    return self;
-}
-
-- (void)awakeFromNib
-{
-    [super awakeFromNib];
-    [self configureViews];
-}
-
--(void)configureViews
-{
-    self.userInteractionEnabled = NO;
-    self.autoresizingMask = UIViewAutoresizingFlexibleWidth;
-    _progressBarView = [[UIView alloc] initWithFrame:self.bounds];
-    _progressBarView.autoresizingMask = UIViewAutoresizingFlexibleWidth|UIViewAutoresizingFlexibleHeight;
-    UIColor *tintColor = [UIColor colorWithRed:22.f / 255.f green:126.f / 255.f blue:251.f / 255.f alpha:1.0]; // iOS7 Safari bar color
-    if ([UIApplication.sharedApplication.delegate.window respondsToSelector:@selector(setTintColor:)] && UIApplication.sharedApplication.delegate.window.tintColor) {
-        tintColor = UIApplication.sharedApplication.delegate.window.tintColor;
-    }
-    _progressBarView.backgroundColor = tintColor;
-    [self addSubview:_progressBarView];
-    
-    _barAnimationDuration = 0.27f;
-    _fadeAnimationDuration = 0.27f;
-    _fadeOutDelay = 0.1f;
-}
-
--(void)setProgress:(float)progress
-{
-    [self setProgress:progress animated:NO];
-}
-
-- (void)setProgress:(float)progress animated:(BOOL)animated
-{
-    BOOL isGrowing = progress > 0.0;
-    [UIView animateWithDuration:(isGrowing && animated) ? _barAnimationDuration : 0.0 delay:0 options:UIViewAnimationOptionCurveEaseInOut animations:^{
-        CGRect frame = _progressBarView.frame;
-        frame.size.width = progress * self.bounds.size.width;
-        _progressBarView.frame = frame;
-    } completion:nil];
-
-    if (progress >= 1.0) {
-        [UIView animateWithDuration:animated ? _fadeAnimationDuration : 0.0 delay:_fadeOutDelay options:UIViewAnimationOptionCurveEaseInOut animations:^{
-            _progressBarView.alpha = 0.0;
-        } completion:^(BOOL completed){
-            CGRect frame = _progressBarView.frame;
-            frame.size.width = 0;
-            _progressBarView.frame = frame;
-        }];
-    }
-    else {
-        [UIView animateWithDuration:animated ? _fadeAnimationDuration : 0.0 delay:0.0 options:UIViewAnimationOptionCurveEaseInOut animations:^{
-            _progressBarView.alpha = 1.0;
-        } completion:nil];
-    }
-}
-
-@end

+ 75 - 24
ios/JianYuIOS/JianYuIOS/guide/ZKPrivacyView.m

@@ -7,11 +7,13 @@
 //
 
 #import "ZKPrivacyView.h"
+#import <WebKit/WebKit.h>
 
 
-@interface ZKPrivacyView()<UIWebViewDelegate>
+@interface ZKPrivacyView()<WKNavigationDelegate>
+@property (nonatomic, strong) UIProgressView *progressView;
+@property (nonatomic, strong) WKWebView *webView;
 
-@property (nonatomic,strong)UIWebView *webView;
 @property (nonatomic, strong) UIView  *contentView;//内容
 @property (nonatomic,copy)NSString *title_str;
 @property (nonatomic,copy)NSString *web_url;
@@ -28,6 +30,44 @@
     return self;
 }
 
+
+//进度条
+- (UIProgressView *)progressView
+{
+    if (_progressView == nil) {
+        CGFloat H = NAVIGATION_BAR_HEIGHT;
+        _progressView = [[UIProgressView alloc] initWithFrame:CGRectMake(0,H - 2,WIDTH,2)];
+        _progressView.tintColor = [UIColor blueColor];
+        _progressView.trackTintColor = [UIColor whiteColor];
+    }
+    return _progressView;
+}
+
+#pragma mark - event response
+// 计算wkWebView进度条
+- (void)observeValueForKeyPath:(NSString *)keyPath ofObject:(id)object change:(NSDictionary *)change context:(void *)context {
+    if (object == self.webView && [keyPath isEqualToString:@"estimatedProgress"]) {
+        CGFloat newprogress = [[change objectForKey:NSKeyValueChangeNewKey] doubleValue];
+        self.progressView.alpha = 1.0f;
+        [self.progressView setProgress:newprogress animated:YES];
+        if (newprogress >= 1.0f) {
+            [UIView animateWithDuration:0.3f
+                                  delay:0.3f
+                                options:UIViewAnimationOptionCurveEaseOut
+                             animations:^{
+                                 self.progressView.alpha = 0.0f;
+                             }
+                             completion:^(BOOL finished) {
+                                 [self.progressView setProgress:0 animated:NO];
+                             }];
+        }
+        
+    } else {
+        [super observeValueForKeyPath:keyPath ofObject:object change:change context:context];
+    }
+}
+
+
 -(void)makeUI{
     self.backgroundColor = [UIColor whiteColor];
     self.contentView = [ZKControl createViewWithFrame:CGRectMake(0, HEIGHT, WIDTH, HEIGHT) color:[UIColor whiteColor]];
@@ -51,39 +91,50 @@
     
     NSString *url = @"";
     url = [kHost stringByAppendingString:self.web_url];
-    self.webView = [[UIWebView alloc] initWithFrame:CGRectMake(0, NAVIGATION_BAR_HEIGHT, self.contentView.width, self.contentView.height-NAVIGATION_BAR_HEIGHT)];
-    NSURLRequest *request =[NSURLRequest requestWithURL:[NSURL URLWithString:url]];
-    [self.contentView addSubview: self.webView];
-    self.webView.delegate = self;
-    [self.webView loadRequest:request];
     
-//    NSURLCache * cache = [NSURLCache sharedURLCache];
-//    [cache removeAllCachedResponses];
-//    [cache setDiskCapacity:0];
-//    [cache setMemoryCapacity:0];
+    
+    WKWebViewConfiguration *config = [[WKWebViewConfiguration alloc] init];
+    config.preferences = [[WKPreferences alloc] init];
+    config.preferences.minimumFontSize = 0;
+    config.allowsInlineMediaPlayback = YES;
+    self.webView = [[WKWebView alloc] initWithFrame:CGRectMake(0, NAVIGATION_BAR_HEIGHT, self.contentView.width, self.contentView.height-NAVIGATION_BAR_HEIGHT) configuration:config];
+    if (iPhoneX) {
+        if (@available(iOS 11.0, *)) {
+            self.webView.scrollView.contentInsetAdjustmentBehavior = UIScrollViewContentInsetAdjustmentNever;
+        }
+    }
+    self.webView.scrollView.bounces = NO;
+    self.webView.navigationDelegate = self;
+    [self.contentView addSubview: self.webView];
+    [self addSubview:self.progressView];
+    [self.webView addObserver:self forKeyPath:@"estimatedProgress" options:NSKeyValueObservingOptionNew context:nil];
+    [self.webView loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:url]]];
+
 }
 
-//开始加载的时候执行该方法。
-- (void)webViewDidStartLoad:(UIWebView *)webView
-{
-    [[LXViewControllerManager shareViewControllerManager]showHudText:nil];
+
+#pragma mark - WKNavigationDelegate
+/* 页面加载完成 */
+- (void)webView:(WKWebView *)webView didFinishNavigation:(WKNavigation *)navigation{
+
+    [self.webView evaluateJavaScript:@"document.documentElement.style.webkitTouchCallout='none';" completionHandler:nil];
+    [self.webView evaluateJavaScript:@"document.documentElement.style.webkitUserSelect='none';"completionHandler:nil];
 }
 
-//加载完成的时候执行该方法。
-- (void)webViewDidFinishLoad:(UIWebView *)webView
-{
-    [[LXViewControllerManager shareViewControllerManager] hideHud];
+// 页面开始加载时调用
+- (void)webView:(WKWebView *)webView didStartProvisionalNavigation:(WKNavigation *)navigation{
 }
-//加载出错的时候执行该方法。
-- (void)webView:(UIWebView *)webView didFailLoadWithError:(NSError *)error
-{
-    [[LXViewControllerManager shareViewControllerManager] hideHud];
+// 当内容开始返回时调用
+- (void)webView:(WKWebView *)webView didCommitNavigation:(WKNavigation *)navigation{
 }
 
+// 页面加载失败时调用
+- (void)webView:(WKWebView *)webView didFailProvisionalNavigation:(WKNavigation *)navigation withError:(nonnull NSError *)error{
+}
 
 -(void)dealloc
 {
-    self.webView.delegate = nil;
+  
 }
 
 

+ 19 - 0
ios/JianYuIOS/JianYuIOS/icloud/ZKDocument.h

@@ -0,0 +1,19 @@
+//
+//  ZKDocument.h
+//  JianYuIOS
+//
+//  Created by apple on 2020/9/3.
+//  Copyright © 2020 lixianglan. All rights reserved.
+//
+
+#import <UIKit/UIKit.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+@interface ZKDocument : UIDocument
+
+@property (nonatomic, strong) NSData *data;
+
+@end
+
+NS_ASSUME_NONNULL_END

+ 18 - 0
ios/JianYuIOS/JianYuIOS/icloud/ZKDocument.m

@@ -0,0 +1,18 @@
+//
+//  ZKDocument.m
+//  JianYuIOS
+//
+//  Created by apple on 2020/9/3.
+//  Copyright © 2020 lixianglan. All rights reserved.
+//
+
+#import "ZKDocument.h"
+
+@implementation ZKDocument
+
+- (BOOL)loadFromContents:(id)contents ofType:(NSString *)typeName error:(NSError * _Nullable __autoreleasing *)outError {
+    self.data = contents;
+    return YES;
+}
+
+@end

+ 24 - 0
ios/JianYuIOS/JianYuIOS/icloud/iCloudManager.h

@@ -0,0 +1,24 @@
+//
+//  iCloudManager.h
+//  JianYuIOS
+//
+//  Created by apple on 2020/9/3.
+//  Copyright © 2020 lixianglan. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+typedef void(^downloadBlock)(id obj);
+
+@interface iCloudManager : NSObject
+
++ (BOOL)iCloudEnable;
+
++ (void)downloadWithDocumentURL:(NSURL*)url callBack:(downloadBlock)block;
+
+
+@end
+
+NS_ASSUME_NONNULL_END

+ 49 - 0
ios/JianYuIOS/JianYuIOS/icloud/iCloudManager.m

@@ -0,0 +1,49 @@
+//
+//  iCloudManager.m
+//  JianYuIOS
+//
+//  Created by apple on 2020/9/3.
+//  Copyright © 2020 lixianglan. All rights reserved.
+//
+
+#import "iCloudManager.h"
+#import "ZKDocument.h"
+
+@implementation iCloudManager
+
+
++ (BOOL)iCloudEnable {
+    
+    NSFileManager *manager = [NSFileManager defaultManager];
+    
+    NSURL *url = [manager URLForUbiquityContainerIdentifier:nil];
+
+    if (url != nil) {
+        return YES;
+    }
+    
+    NSLog(@"iCloud 不可用-请允许,设置-iCloud云盘");
+    return NO;
+}
+
+
++ (void)downloadWithDocumentURL:(NSURL*)url callBack:(downloadBlock)block {
+    
+    ZKDocument *iCloudDoc = [[ZKDocument alloc]initWithFileURL:url];
+    
+    [iCloudDoc openWithCompletionHandler:^(BOOL success) {
+        if (success) {
+            
+            [iCloudDoc closeWithCompletionHandler:^(BOOL success) {
+                NSLog(@"关闭成功");
+            }];
+            
+            if (block) {
+                block(iCloudDoc.data);
+            }
+            
+        }
+    }];
+}
+
+@end

BIN
ios/JianYuIOS/JianYuIOS/local/202005221737000055s33y3F2.png


BIN
ios/JianYuIOS/JianYuIOS/local/20200522173921005m1D95f05.jpg


BIN
ios/JianYuIOS/JianYuIOS/local/20200522173921005m1D95f05.png


BIN
ios/JianYuIOS/JianYuIOS/local/20200522173929005YiCl1Dwd.png


BIN
ios/JianYuIOS/JianYuIOS/local/20200604160552006e71984U5.png


ファイルの差分が大きいため隠しています
+ 0 - 1
ios/JianYuIOS/JianYuIOS/local/axios.min.js


BIN
ios/JianYuIOS/JianYuIOS/local/bg_1.jpg


BIN
ios/JianYuIOS/JianYuIOS/local/bg_2.jpg


BIN
ios/JianYuIOS/JianYuIOS/local/bg_3.jpg


BIN
ios/JianYuIOS/JianYuIOS/local/bg_4.jpg


ファイルの差分が大きいため隠しています
+ 0 - 5
ios/JianYuIOS/JianYuIOS/local/bootstrap.min.js


ファイルの差分が大きいため隠しています
+ 0 - 6
ios/JianYuIOS/JianYuIOS/local/clipboard.min.js


BIN
ios/JianYuIOS/JianYuIOS/local/course-index.jpg


+ 0 - 338
ios/JianYuIOS/JianYuIOS/local/dropload.js

@@ -1,338 +0,0 @@
-/**
- * dropload
- * 西门(http://ons.me/526.html)
- * 0.9.1(161205)
- */
-
-;(function($){
-    'use strict';
-    var win = window;
-    var doc = document;
-    var $win = $(win);
-    var $doc = $(doc);
-    $.fn.dropload = function(options){
-		if(options.scrollArea == window.top){
-			win = window.top;
-			$win = $(win);
-			doc = window.top.document;
-		    $doc = $(doc);
-		}
-        return new MyDropLoad(this, options);
-    };
-    var MyDropLoad = function(element, options){
-        var me = this;
-        me.$element = element;
-        // 上方是否插入DOM
-        me.upInsertDOM = false;
-        // loading状态
-        me.loading = false;
-        // 是否锁定
-        me.isLockUp = false;
-        me.isLockDown = false;
-        // 是否有数据
-        me.isData = true;
-        me._scrollTop = 0;
-        me._threshold = 0;
-		//默认加载下方
-		me.direction = 'up';
-        me.init(options);
-    };
-
-    // 初始化
-    MyDropLoad.prototype.init = function(options){
-        var me = this;
-        me.opts = $.extend(true, {}, {
-            scrollArea : me.$element,                                            // 滑动区域
-            domUp : {                                                            // 上方DOM
-                domClass   : 'dropload-up',
-                domRefresh : '<div class="dropload-refresh">↓下拉刷新</div>',
-                domUpdate  : '<div class="dropload-update">↑释放更新</div>',
-                domLoad    : '<div class="dropload-load"><span class="loading"></span>加载中...</div>'
-            },
-            domDown : {                                                          // 下方DOM
-                domClass   : 'dropload-down',
-                domRefresh : '<div class="dropload-refresh">↑上拉加载更多</div>',
-                domLoad    : '<div class="dropload-load"><span class="loading"></span>加载中...</div>',
-                domNoData  : '<div class="dropload-noData">没有更多了</div>'
-            },
-            autoLoad : true,                                                     // 自动加载
-            distance : 50,                                                       // 拉动距离
-            threshold : '',                                                      // 提前加载距离
-            loadUpFn : '',                                                       // 上方function
-            loadDownFn : ''                                                      // 下方function
-        }, options);
-		//先移除
-		me.$element.find('.'+me.opts.domUp.domClass).remove();
-		me.$element.find('.'+me.opts.domDown.domClass).remove();
-        // 如果加载下方,事先在下方插入DOM
-        if(me.opts.loadDownFn != ''){
-            me.$element.append('<div class="'+me.opts.domDown.domClass+'">'+me.opts.domDown.domRefresh+'</div>');
-            me.$domDown = $('.'+me.opts.domDown.domClass);
-        }
-
-        // 计算提前加载距离
-        if(!!me.$domDown && me.opts.threshold === ''){
-            // 默认滑到加载区2/3处时加载
-            me._threshold = Math.floor(me.$domDown.height()*1/3);
-        }else{
-            me._threshold = me.opts.threshold;
-        }
-
-        // 判断滚动区域
-        if(me.opts.scrollArea == win){
-            me.$scrollArea = $win;
-            // 获取文档高度
-            me._scrollContentHeight = $doc.height();
-            // 获取win显示区高度  —— 这里有坑
-            me._scrollWindowHeight = doc.body.clientHeight;
-			//alert(me._scrollContentHeight+"---"+me._scrollWindowHeight)
-        }else{
-            me.$scrollArea = me.opts.scrollArea;
-            me._scrollContentHeight = me.$element[0].scrollHeight;
-            me._scrollWindowHeight = doc.body.clientHeight;
-        }
-        fnAutoLoad(me);
-
-        // 窗口调整
-        $win.off('resize').on('resize',function(){
-			//移动端数据导出改 --> 软键盘弹起改变窗口高度问题
-			return;
-			if(win != window){
-				return;
-			}
-            clearTimeout(me.timer);
-            me.timer = setTimeout(function(){
-                if(me.opts.scrollArea == win){
-                // 重新获取win显示区高度
-                me._scrollWindowHeight = win.innerHeight;
-                }else{
-                    me._scrollWindowHeight = me.$element.height();
-                }
-                fnAutoLoad(me);
-            },150);
-            
-        });
-
-        // 绑定触摸
-        me.$element.off('touchstart').on('touchstart',function(e){
-            if(!me.loading){
-                fnTouches(e);
-                fnTouchstart(e, me);
-            }
-        });
-        me.$element.off('touchmove').on('touchmove',function(e){
-            if(!me.loading){
-                fnTouches(e, me);
-                fnTouchmove(e, me);
-            }
-        });
-        me.$element.off('touchend').on('touchend',function(){
-            if(!me.loading){
-                fnTouchend(me);
-            }
-        });
-
-        // 加载下方
-        me.$scrollArea.off('scroll').on('scroll',function(){
-			if(typeof(window.top.scrollTop) != "undefined"){
-				window.top.scrollTop = $(this).scrollTop();
-			}
-            me._scrollTop = me.$scrollArea.scrollTop();
-
-            // 滚动页面触发加载数据
-			//console.info(me._scrollContentHeight +"--"+ me._threshold+"--"+me._scrollWindowHeight +"--"+ me._scrollTop)
-            if(me.opts.loadDownFn != '' && !me.loading && !me.isLockDown && (me._scrollContentHeight - me._threshold) <= (me._scrollWindowHeight + me._scrollTop)){
-                loadDown(me);
-            }
-        });
-    };
-
-    // touches
-    function fnTouches(e){
-        if(!e.touches){
-            e.touches = e.originalEvent.touches;
-        }
-    }
-
-    // touchstart
-    function fnTouchstart(e, me){
-        me._startY = e.touches[0].pageY;
-        // 记住触摸时的scrolltop值
-        me.touchScrollTop = me.$scrollArea.scrollTop();
-    }
-
-    // touchmove
-    function fnTouchmove(e, me){
-        me._curY = e.touches[0].pageY;
-        me._moveY = me._curY - me._startY;
-
-        if(me._moveY > 0){
-            me.direction = 'down';
-        }else if(me._moveY < 0){
-            me.direction = 'up';
-        }
-
-        var _absMoveY = Math.abs(me._moveY);
-
-        // 加载上方
-        if(me.opts.loadUpFn != '' && me.touchScrollTop <= 0 && me.direction == 'down' && !me.isLockUp){
-            e.preventDefault();
-
-            me.$domUp = $('.'+me.opts.domUp.domClass);
-            // 如果加载区没有DOM
-            if(!me.upInsertDOM){
-                me.$element.prepend('<div class="'+me.opts.domUp.domClass+'"></div>');
-                me.upInsertDOM = true;
-            }
-            
-            fnTransition(me.$domUp,0);
-
-            // 下拉
-            if(_absMoveY <= me.opts.distance){
-                me._offsetY = _absMoveY;
-                // todo:move时会不断清空、增加dom,有可能影响性能,下同
-                me.$domUp.html(me.opts.domUp.domRefresh);
-            // 指定距离 < 下拉距离 < 指定距离*2
-            }else if(_absMoveY > me.opts.distance && _absMoveY <= me.opts.distance*2){
-                me._offsetY = me.opts.distance+(_absMoveY-me.opts.distance)*0.5;
-                me.$domUp.html(me.opts.domUp.domUpdate);
-            // 下拉距离 > 指定距离*2
-            }else{
-                me._offsetY = me.opts.distance+me.opts.distance*0.5+(_absMoveY-me.opts.distance*2)*0.2;
-            }
-
-            me.$domUp.css({'height': me._offsetY});
-        }
-    }
-
-    // touchend
-    function fnTouchend(me){
-        var _absMoveY = Math.abs(me._moveY);
-        if(me.opts.loadUpFn != '' && me.touchScrollTop <= 0 && me.direction == 'down' && !me.isLockUp){
-            fnTransition(me.$domUp,300);
-
-            if(_absMoveY > me.opts.distance){
-                me.$domUp.css({'height':me.$domUp.children().height()});
-                me.$domUp.html(me.opts.domUp.domLoad);
-                me.loading = true;
-                me.opts.loadUpFn(me);
-            }else{
-                me.$domUp.css({'height':'0'}).on('webkitTransitionEnd mozTransitionEnd transitionend',function(){
-                    me.upInsertDOM = false;
-                    $(this).remove();
-                });
-            }
-            me._moveY = 0;
-        }
-    }
-
-    // 如果文档高度不大于窗口高度,数据较少,自动加载下方数据
-    function fnAutoLoad(me){
-        if(me.opts.loadDownFn != '' && me.opts.autoLoad){
-			//alert(me._scrollContentHeight +"----"+  me._threshold+"----"+ me._scrollWindowHeight)
-            if((me._scrollContentHeight - me._threshold) <= me._scrollWindowHeight){
-                loadDown(me);
-            }
-        }
-    }
-
-    // 重新获取文档高度
-    function fnRecoverContentHeight(me){
-        if(me.opts.scrollArea == win){
-            me._scrollContentHeight = $doc.height();
-			//alert(me._scrollContentHeight +"----"+  me._threshold+"----"+ me._scrollWindowHeight)
-        }else{
-            me._scrollContentHeight = me.$element[0].scrollHeight;
-        }
-    }
-
-    // 加载下方
-    function loadDown(me){
-        me.direction = 'up';
-        me.$domDown.html(me.opts.domDown.domLoad);
-        me.loading = true;
-        me.opts.loadDownFn(me);
-    }
-
-    // 锁定
-    MyDropLoad.prototype.lock = function(direction){
-        var me = this;
-        // 如果不指定方向
-        if(direction === undefined){
-            // 如果操作方向向上
-            if(me.direction == 'up'){
-                me.isLockDown = true;
-            // 如果操作方向向下
-            }else if(me.direction == 'down'){
-                me.isLockUp = true;
-            }else{
-                me.isLockUp = true;
-                me.isLockDown = true;
-            }
-        // 如果指定锁上方
-        }else if(direction == 'up'){
-            me.isLockUp = true;
-        // 如果指定锁下方
-        }else if(direction == 'down'){
-            me.isLockDown = true;
-            // 为了解决DEMO5中tab效果bug,因为滑动到下面,再滑上去点tab,direction=down,所以有bug
-            me.direction = 'up';
-        }
-    };
-
-    // 解锁
-    MyDropLoad.prototype.unlock = function(){
-        var me = this;
-        // 简单粗暴解锁
-        me.isLockUp = false;
-        me.isLockDown = false;
-        // 为了解决DEMO5中tab效果bug,因为滑动到下面,再滑上去点tab,direction=down,所以有bug
-        me.direction = 'up';
-    };
-
-    // 无数据
-    MyDropLoad.prototype.noData = function(flag){
-        var me = this;
-        if(flag === undefined || flag == true){
-            me.isData = false;
-        }else if(flag == false){
-            me.isData = true;
-        }
-    };
-
-    // 重置
-    MyDropLoad.prototype.resetload = function(){
-        var me = this;
-		if(!me.upInsertDOM){
-			me.direction = 'up';
-		}
-        if(me.direction == 'down' && me.upInsertDOM){
-            me.$domUp.css({'height':'0'}).on('webkitTransitionEnd mozTransitionEnd transitionend',function(){
-                me.loading = false;
-                me.upInsertDOM = false;
-                $(this).remove();
-                fnRecoverContentHeight(me);
-            });
-        }else if(me.direction == 'up'){
-            me.loading = false;
-            // 如果有数据
-            if(me.isData){
-                // 加载区修改样式
-                me.$domDown.html(me.opts.domDown.domRefresh);
-                fnRecoverContentHeight(me);
-                fnAutoLoad(me);
-            }else{
-                // 如果没数据
-                me.$domDown.html(me.opts.domDown.domNoData);
-            }
-        }
-    };
-
-    // css过渡
-    function fnTransition(dom,num){
-        dom.css({
-            '-webkit-transition':'all '+num+'ms',
-            'transition':'all '+num+'ms'
-        });
-    }
-})(window.Zepto || window.jQuery);

ファイルの差分が大きいため隠しています
+ 0 - 24
ios/JianYuIOS/JianYuIOS/local/echarts.min.js


ファイルの差分が大きいため隠しています
+ 0 - 0
ios/JianYuIOS/JianYuIOS/local/fastclick.min.js


ファイルの差分が大きいため隠しています
+ 0 - 4
ios/JianYuIOS/JianYuIOS/local/imageViewer.min.js


+ 0 - 117
ios/JianYuIOS/JianYuIOS/local/jquery.cookie.js

@@ -1,117 +0,0 @@
-/*!
- * jQuery Cookie Plugin v1.4.0
- * https://github.com/carhartl/jquery-cookie
- *
- * Copyright 2013 Klaus Hartl
- * Released under the MIT license
- */
-(function (factory) {
-	if (typeof define === 'function' && define.amd) {
-		// AMD. Register as anonymous module.
-		define(['jquery'], factory);
-	} else {
-		// Browser globals.
-		factory(jQuery);
-	}
-}(function ($) {
-
-	var pluses = /\+/g;
-
-	function encode(s) {
-		return config.raw ? s : encodeURIComponent(s);
-	}
-
-	function decode(s) {
-		return config.raw ? s : decodeURIComponent(s);
-	}
-
-	function stringifyCookieValue(value) {
-		return encode(config.json ? JSON.stringify(value) : String(value));
-	}
-
-	function parseCookieValue(s) {
-		if (s.indexOf('"') === 0) {
-			// This is a quoted cookie as according to RFC2068, unescape...
-			s = s.slice(1, -1).replace(/\\"/g, '"').replace(/\\\\/g, '\\');
-		}
-
-		try {
-			// Replace server-side written pluses with spaces.
-			// If we can't decode the cookie, ignore it, it's unusable.
-			s = decodeURIComponent(s.replace(pluses, ' '));
-		} catch(e) {
-			return;
-		}
-
-		try {
-			// If we can't parse the cookie, ignore it, it's unusable.
-			return config.json ? JSON.parse(s) : s;
-		} catch(e) {}
-	}
-
-	function read(s, converter) {
-		var value = config.raw ? s : parseCookieValue(s);
-		return $.isFunction(converter) ? converter(value) : value;
-	}
-
-	var config = $.cookie = function (key, value, options) {
-
-		// Write
-		if (value !== undefined && !$.isFunction(value)) {
-			options = $.extend({}, config.defaults, options);
-
-			if (typeof options.expires === 'number') {
-				var days = options.expires, t = options.expires = new Date();
-				t.setDate(t.getDate() + days);
-			}
-
-			return (document.cookie = [
-				encode(key), '=', stringifyCookieValue(value),
-				options.expires ? '; expires=' + options.expires.toUTCString() : '', // use expires attribute, max-age is not supported by IE
-				options.path    ? '; path=' + options.path : '',
-				options.domain  ? '; domain=' + options.domain : '',
-				options.secure  ? '; secure' : ''
-			].join(''));
-		}
-
-		// Read
-
-		var result = key ? undefined : {};
-
-		// To prevent the for loop in the first place assign an empty array
-		// in case there are no cookies at all. Also prevents odd result when
-		// calling $.cookie().
-		var cookies = document.cookie ? document.cookie.split('; ') : [];
-
-		for (var i = 0, l = cookies.length; i < l; i++) {
-			var parts = cookies[i].split('=');
-			var name = decode(parts.shift());
-			var cookie = parts.join('=');
-
-			if (key && key === name) {
-				// If second argument (value) is a function it's a converter...
-				result = read(cookie, value);
-				break;
-			}
-
-			// Prevent storing a cookie that we couldn't decode.
-			if (!key && (cookie = read(cookie)) !== undefined) {
-				result[name] = cookie;
-			}
-		}
-
-		return result;
-	};
-
-	config.defaults = {};
-
-	$.removeCookie = function (key, options) {
-		if ($.cookie(key) !== undefined) {
-			// Must not alter options, thus extending a fresh object...
-			$.cookie(key, '', $.extend({}, options, { expires: -1 }));
-			return true;
-		}
-		return false;
-	};
-
-}));

ファイルの差分が大きいため隠しています
+ 0 - 1
ios/JianYuIOS/JianYuIOS/local/jquery.min.js


+ 0 - 2
ios/JianYuIOS/JianYuIOS/local/js.cookie.min.js

@@ -1,2 +0,0 @@
-/* js.cookie.js v2.2.1 */
-!function(e){var n;if("function"==typeof define&&define.amd&&(define(e),n=!0),"object"==typeof exports&&(module.exports=e(),n=!0),!n){var t=window.Cookies,o=window.Cookies=e();o.noConflict=function(){return window.Cookies=t,o}}}(function(){function f(){for(var e=0,n={};e<arguments.length;e++){var t=arguments[e];for(var o in t)n[o]=t[o]}return n}function a(e){return e.replace(/(%[0-9A-Z]{2})+/g,decodeURIComponent)}return function e(u){function c(){}function t(e,n,t){if("undefined"!=typeof document){"number"==typeof(t=f({path:"/"},c.defaults,t)).expires&&(t.expires=new Date(1*new Date+864e5*t.expires)),t.expires=t.expires?t.expires.toUTCString():"";try{var o=JSON.stringify(n);/^[\{\[]/.test(o)&&(n=o)}catch(e){}n=u.write?u.write(n,e):encodeURIComponent(String(n)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),e=encodeURIComponent(String(e)).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent).replace(/[\(\)]/g,escape);var r="";for(var i in t)t[i]&&(r+="; "+i,!0!==t[i]&&(r+="="+t[i].split(";")[0]));return document.cookie=e+"="+n+r}}function n(e,n){if("undefined"!=typeof document){for(var t={},o=document.cookie?document.cookie.split("; "):[],r=0;r<o.length;r++){var i=o[r].split("="),c=i.slice(1).join("=");n||'"'!==c.charAt(0)||(c=c.slice(1,-1));try{var f=a(i[0]);if(c=(u.read||u)(c,f)||a(c),n)try{c=JSON.parse(c)}catch(e){}if(t[f]=c,e===f)break}catch(e){}}return e?t[e]:t}}return c.set=t,c.get=function(e){return n(e,!1)},c.getJSON=function(e){return n(e,!0)},c.remove=function(e,n){t(e,"",f(n,{expires:-1}))},c.defaults={},c.withConverter=e,c}(function(){})});

+ 0 - 348
ios/JianYuIOS/JianYuIOS/local/layout.css

@@ -1,348 +0,0 @@
-* {
-  -webkit-touch-callout:none;
-  -khtml-user-select:none;
-  -moz-user-select:none;
-  -ms-user-select:none;
-  user-select:none;
-}
-a,input,button{
-	outline: none !important;
-	-webkit-tap-highlight-color: rgba(255, 255, 255, 0) !important;
-	-webkit-focus-ring-color: rgba(0, 0, 0, 0) !important;
-}
-/*****app 第一版 布局*****/
-.app-layout-header{
-	line-height: 44px;
-    background-color: #FFFFFF;
-    text-align: center;
-    border-bottom: 1px solid #E6E6E6;
-    font-size: 17px;
-    position: absolute;
-    padding-top: 20px;
-    z-index: 99999;
-    left: 0;
-    right: 0;
-    top: 0;
-	color: #444444;
-}
-.app-layout-header>.app-back{
-	position: absolute;
-    font-size: 19px;
-    padding-top: 20px;
-    padding-left: 11px;
-	padding-right: 40px;
-    padding-bottom: 7px;
-    left: 0px;
-    top: 18px;
-	color: #444444;
-}
-.app-layout-content-a,.app-layout-content-b{
-    position: absolute;
-    top: 44px;
-    padding-top: 20px;
-    overflow-y: auto;
-    bottom: 0px;
-    left: 0px;
-    right:0px;
-    -webkit-overflow-scrolling:touch;
-}
-.app-layout-content-a{
-    bottom: 65px;
-}
-.app-layout-footer {
-  width: 100%;
-  background: #fff;
-  position: fixed;
-  left: 0;
-  bottom: 0;
-  z-index: 99;
-  border-top: 1px solid #E6E6E6;
-  box-sizing: border-box;
-}
-.app-layout-footer ul {
-  width: 100%;
-}
-
-.app-layout-footer ul li {
-  width: 25%;
-  float: left;
-  text-align: center;
-  color: #888888;
-  height: 49px;
-  position: relative;
-}
-
-.app-layout-footer ul li span {
-  font-size: 21px;
-  display: block;
-  width: 100%;
-  text-align: center;
-  margin-top: 10px;
-}
-
-.app-layout-footer ul li p {
-  	margin: 0;
-  	font-size: 10px;
-    position: absolute;
-    left: 0px;
-    right: 0px;
-    text-align: center;
-    bottom: 2px;
-	line-height: initial;
-}
-
-.app-layout-footer ul li.active span {
-  color: #2CB7CA;
-}
-
-.app-layout-footer ul li.active p {
-  color: #2CB7CA;
-}
-.easyalert{
-	position: fixed;
-	background-color: rgba(0,0,0,0.7);
-	top: 50%;
-	color: #fff;
-	z-index: 999;
-	border-radius: 6px;
-	padding: 17px 20px;
-    font-size: 15px;
-	line-height: 22px;
-	max-width: 260px;
-	text-align: center;
-	display: none;
-}
-.easyalert-icon{
-	font-size: 13px;
-	border-radius: 5px;
-	width: 120px;
-	height: 120px;
-	padding: 0px;
-	left: 50%;
-	right: 50%;
-	margin-top: -60px;
-	margin-left: -60px;
-	margin-right: -60px;
-}
-.jyapp-li-active{
-	background-color: #e5e5e8 !important;
-}
-.app-layout-footer .jyapp-icon-sousuo{
-	font-size: 42px;
-    top: -17px;
-    left: -10.5px;
-}
-/******************/
-.easypopup{
-	background-color: rgba(0,0,0,0.7);
-	position: fixed;
-	left: 0px;
-	right: 0px;
-	top: 0px;
-	bottom: 0px;
-	display: none;
-	z-index: 999;
-	letter-spacing: 1px;
-}
-.easypopup>div{
-	background-color: #fff;
-	position: fixed;
-	left: 50%;
-	top: 50%;
-	margin-left: -140px;
-    border-radius: 4px;
-	overflow: hidden;
-	width: 280px;
-}
-.easypopup .easypopup-edit{
-	width: 300px;
-	margin-left: -150px;
-}
-.easypopup .easypopup-header{
-	padding-top: 29px;
-	padding-bottom: 16px;
-	text-align: center;
-	font-size: 17px;
-	color: #1d1d1d;
-}
-.easypopup .easypopup-main .easypopup-content{
-	padding: 0px 20px 18px 20px;
-	color: #686868;
-}
-.easypopup .easypopup-edit .easypopup-content{
-	padding: 0px 15px 18px 15px;
-	color: #686868;
-}
-.easypopup .easypopup-alert .easypopup-content{
-	padding: 38px 20px 24px 20px;
-}
-.easypopup .easypopup-content{
-	text-align: center;
-	font-size: 15px;
-}
-.easypopup .easypopup-edit [type='text']{
-	height: 37px;
-	border-radius: 3px;
-	font-size: 16px;
-	color: #1d1d1d;
-	padding-left: 10px;
-	width: 100%;
-}
-.easypopup .easypopup-edit ::-webkit-input-placeholder {
-    color: #686868;
-}
-.easypopup .easypopup-footer{
-	text-align: center;
-	border-top: 1px solid #E0E0E0;
-	display: table;
-	width: 100%;
-	font-size: 18px;
-}
-.easypopup .easypopup-footer>span{
-	height: 50px;
-	line-height: 50px;
-	display: table-cell;
-	background-color: #fff;
-}
-.easypopup .easypopup-footer>span:last-child{
-	color: #2cb7ca;
-	border-left: 1px solid #E0E0E0;
-}
-.easypopup .easypopup-footer>span:first-child{
-	border-left: none;
-}
-.easypopup .easypopup-alert .easypopup-footer>span{
-	width: 100%;
-}
-
-/*分享好友弹窗*/
-.share {
-  position: fixed;
-  top: 0;
-  left: 0;
-  width: 100%;
-  height: 100%;
-  background: rgba(0, 0, 0, 0.6);
-  z-index: 99999;
-  display: none;
-}
-
-.share .shareMain {
-  width: 100%;
-  background: #f4f4f9;
-  position: absolute;
-  left: 0;
-  bottom: 0;
-}
-.share .shareMain ul{
-	background-color: #f4f4f9;
-	height: 120px;
-	padding-top: 32px;
-	box-sizing: border-box;
-}
-.share .shareMain ul li {
-  float: left;
-  text-align: center;
-  margin: 0px 15px;
-}
-
-.share .shareMain ul li span {
-    font-size: 50px;
-}
-
-.share .shareMain ul li span.jyapp-icon-weixin {
-  color: #0ab70e;
-}
-
-.share .shareMain ul li span.jyapp-icon-qq {
-  color: #4cafe9;
-}
-
-.share .shareMain ul li span.jyapp-icon-pengyouquan {
-  color: #a5e537;
-}
-
-.share .shareMain ul li p {
-  font-size: 14px;
-  color: #1D1D1D;
-margin:0px;
-}
-
-.share .shareMain a.shareQx {
-  display: block;
-  height: 50px;
-  line-height: 50px;
-  text-align: center;
-  background: #fff;
-  font-size: 17px;
-color:#1d1d1d;
-}
-.clearfix::after, .clearfix::before {
-    content: "";
-    display: block;
-    height: 0;
-    clear: both;
-    overflow: hidden;
-}
-ul, li, ol {
-    list-style: none;
-}
-.clearfix a, .clearfix strong {
-    color: #1d1d1d;
-}
-.jyapp-icon-weixin:before {
-    content: "\AC";
-}
-.redspot{
-	position: absolute;
-    width: 8px;
-    height: 8px;
-    background: #f12c20;
-    border-radius: 100%;
-}
-/* 统一头部 */
-.jy-app-header.app-layout-header .app-layout-content-a, .app-layout-content-b{
-    top: 21.33333vw;
-    padding-top: 0;
-}
-.jy-app-header.app-layout-header {
-    display: flex;
-    width: 100%;
-    justify-content: space-between;
-    align-items: center;
-}
-.jy-app-header.app-layout-header + .paddingtop {
-    padding-top: 21.33333vw;
-}
-.jy-app-header.app-layout-header >.app-back,.jy-app-header.app-layout-header >.app-back_,.jy-app-header.app-layout-header > .header-share {
-    top: auto;
-    bottom: 0;
-    position: unset;
-    padding: 16px 0;
-    position: relative;
-}
-.jy-app-header.app-layout-header span.app-back.jyapp-icon.jyapp-icon-zuojiantou::after {
-    content: "";
-    display: inline-block;
-    width: 4em;
-    height: 100%;
-    position: absolute;
-    top: 0;
-    left: 0;
-}
-.j-header.jy-app-header {
-    height: 21.33333vw;
-    padding: 10.66667vw 3.2vw 0 3.2vw;
-    font-family: inherit;
-    background: inherit;
-}
-
-.jy-app-header {
-    height: 21.33333vw;
-    padding: 10.66667vw 3.2vw 0 3.2vw;
-    -webkit-box-sizing: border-box;
-    box-sizing: border-box;
-    background: #fff;
-    font-family: Avenir,Helvetica,Arial,sans-serif;
-}
-.jy-app-header .icon-left {}

BIN
ios/JianYuIOS/JianYuIOS/local/mainSearch.png


+ 0 - 2429
ios/JianYuIOS/JianYuIOS/local/mapJSON.js

@@ -1,2429 +0,0 @@
-/**
- * @file china-map.json
- * @author zhangyuhan2016 <hi_zhangyuhan@163.com>
- */
-var chinaMapJSON = [{
-  "ProID": 1,
-  "name": "北京市",
-  "ProSort": 1,
-  "ProRemark": "直辖市",
-  "city": [{
-    "CityID": 1,
-    "name": "北京市",
-    "ProID": 1,
-    "CitySort": 1,
-    "area": ["东城区", "西城区", "崇文区", "宣武区", "朝阳区", "丰台区", "石景山区", "海淀区", "门头沟区", "房山区", "通州区", "顺义区", "昌平区", "大兴区", "怀柔区", "平谷区", "密云县", "延庆县"]
-  }]
-}, {
-  "ProID": 2,
-  "name": "天津市",
-  "ProSort": 2,
-  "ProRemark": "直辖市",
-  "city": [{
-    "CityID": 2,
-    "name": "天津市",
-    "ProID": 2,
-    "CitySort": 2,
-    "area": ["和平区", "河东区", "河西区", "南开区", "河北区", "红桥区", "塘沽区", "汉沽区", "大港区", "东丽区", "西青区", "津南区", "北辰区", "武清区", "宝坻区", "宁河县", "静海县", "蓟县"]
-  }]
-}, {
-  "ProID": 3,
-  "name": "河北省",
-  "ProSort": 5,
-  "ProRemark": "省份",
-  "city": [{
-    "CityID": 5,
-    "name": "邯郸市",
-    "ProID": 3,
-    "CitySort": 5,
-    "area": ["邯山区", "丛台区", "复兴区", "峰峰矿区", "邯郸县", "临漳县", "成安县", "大名县", "涉县", "磁县", "肥乡县", "永年县", "邱县", "鸡泽县", "广平县", "馆陶县", "魏县", "曲周县", "武安市"]
-  }, {
-    "CityID": 6,
-    "name": "石家庄市",
-    "ProID": 3,
-    "CitySort": 6,
-    "area": ["长安区", "桥东区", "桥西区", "新华区", "井陉矿区", "裕华区", "井陉县", "正定县", "栾城县", "行唐县", "灵寿县", "高邑县", "深泽县", "赞皇县", "无极县", "平山县", "元氏县", "赵县", "辛集市", "藁城市", "晋州市", "新乐市", "鹿泉市"]
-  }, {
-    "CityID": 666,
-    "name": "秦皇岛市",
-    "ProID": 3,
-    "CitySort": 666,
-    "area": ["海港区", "山海关区", "北戴河区", "抚宁区", "青龙满族自治县", "昌黎县", "卢龙县"]
-  }, {
-    "CityID": 7,
-    "name": "保定市",
-    "ProID": 3,
-    "CitySort": 7,
-    "area": ["新市区", "北市区", "南市区", "满城县", "清苑县", "涞水县", "阜平县", "徐水县", "定兴县", "唐县", "高阳县", "容城县", "涞源县", "望都县", "安新县", "易县", "曲阳县", "蠡县", "顺平县", "博野县", "雄县", "涿州市", "定州市", "安国市", "高碑店市"]
-  }, {
-    "CityID": 8,
-    "name": "张家口市",
-    "ProID": 3,
-    "CitySort": 8,
-    "area": ["桥东区", "桥西区", "宣化区", "下花园区", "宣化县", "张北县", "康保县", "沽源县", "尚义县", "蔚县", "阳原县", "怀安县", "万全县", "怀来县", "涿鹿县", "赤城县", "崇礼县"]
-  }, {
-    "CityID": 9,
-    "name": "承德市",
-    "ProID": 3,
-    "CitySort": 9,
-    "area": ["双桥区", "双滦区", "鹰手营子矿区", "承德县", "兴隆县", "平泉县", "滦平县", "隆化县", "丰宁满族自治县", "宽城满族自治县", "围场满族蒙古族自治县"]
-  }, {
-    "CityID": 10,
-    "name": "唐山市",
-    "ProID": 3,
-    "CitySort": 10,
-    "area": ["路南区", "路北区", "古冶区", "开平区", "丰南区", "丰润区", "滦县", "滦南县", "乐亭县", "迁西县", "玉田县", "唐海县", "遵化市", "迁安市"]
-  }, {
-    "CityID": 11,
-    "name": "廊坊市",
-    "ProID": 3,
-    "CitySort": 11,
-    "area": ["安次区", "广阳区", "固安县", "永清县", "香河县", "大城县", "文安县", "大厂回族自治县", "霸州市", "三河市"]
-  }, {
-    "CityID": 12,
-    "name": "沧州市",
-    "ProID": 3,
-    "CitySort": 12,
-    "area": ["新华区", "运河区", "沧县", "青县", "东光县", "海兴县", "盐山县", "肃宁县", "南皮县", "吴桥县", "献县", "孟村回族自治县", "泊头市", "任丘市", "黄骅市", "河间市"]
-  }, {
-    "CityID": 13,
-    "name": "衡水市",
-    "ProID": 3,
-    "CitySort": 13,
-    "area": ["桃城区", "枣强县", "武邑县", "武强县", "饶阳县", "安平县", "故城县", "景县", "阜城县", "冀州市", "深州市"]
-  }, {
-    "CityID": 14,
-    "name": "邢台市",
-    "ProID": 3,
-    "CitySort": 14,
-    "area": ["桥东区", "桥西区", "邢台县", "临城县", "内丘县", "柏乡县", "隆尧县", "任县", "南和县", "宁晋县", "巨鹿县", "新河县", "广宗县", "平乡县", "威县", "清河县", "临西县", "南宫市", "沙河市"]
-  }]
-}, {
-  "ProID": 4,
-  "name": "山西省",
-  "ProSort": 6,
-  "ProRemark": "省份",
-  "city": [{
-    "CityID": 16,
-    "name": "朔州市",
-    "ProID": 4,
-    "CitySort": 16,
-    "area": ["朔城区", "平鲁区", "山阴县", "应县", "右玉县", "怀仁县"]
-  }, {
-    "CityID": 17,
-    "name": "忻州市",
-    "ProID": 4,
-    "CitySort": 17,
-    "area": ["忻府区", "定襄县", "五台县", "代县", "繁峙县", "宁武县", "静乐县", "神池县", "五寨县", "岢岚县", "河曲县", "保德县", "偏关县", "原平市"]
-  }, {
-    "CityID": 18,
-    "name": "太原市",
-    "ProID": 4,
-    "CitySort": 18,
-    "area": ["小店区", "迎泽区", "杏花岭区", "尖草坪区", "万柏林区", "晋源区", "清徐县", "阳曲县", "娄烦县", "古交市"]
-  }, {
-    "CityID": 19,
-    "name": "大同市",
-    "ProID": 4,
-    "CitySort": 19,
-    "area": ["矿区", "南郊区", "新荣区", "阳高县", "天镇县", "广灵县", "灵丘县", "浑源县", "左云县", "大同县"]
-  }, {
-    "CityID": 20,
-    "name": "阳泉市",
-    "ProID": 4,
-    "CitySort": 20,
-    "area": ["矿区", "平定县", "盂县"]
-  }, {
-    "CityID": 21,
-    "name": "晋中市",
-    "ProID": 4,
-    "CitySort": 21,
-    "area": ["榆次区", "榆社县", "左权县", "和顺县", "昔阳县", "寿阳县", "太谷县", "祁县", "平遥县", "灵石县", "介休市"]
-  }, {
-    "CityID": 22,
-    "name": "长治市",
-    "ProID": 4,
-    "CitySort": 22,
-    "area": ["城区", "长治县", "襄垣县", "屯留县", "平顺县", "黎城县", "壶关县", "长子县", "武乡县", "沁县", "沁源县", "潞城市"]
-  }, {
-    "CityID": 23,
-    "name": "晋城市",
-    "ProID": 4,
-    "CitySort": 23,
-    "area": ["沁水县", "阳城县", "陵川县", "泽州县", "高平市"]
-  }, {
-    "CityID": 24,
-    "name": "临汾市",
-    "ProID": 4,
-    "CitySort": 24,
-    "area": ["尧都区", "曲沃县", "翼城县", "襄汾县", "洪洞县", "古县", "安泽县", "浮山县", "吉县", "乡宁县", "大宁县", "隰县", "永和县", "蒲县", "汾西县", "侯马市", "霍州市"]
-  }, {
-    "CityID": 25,
-    "name": "吕梁市",
-    "ProID": 4,
-    "CitySort": 25,
-    "area": ["离石区", "文水县", "交城县", "兴县", "临县", "柳林县", "石楼县", "岚县", "方山县", "中阳县", "交口县", "孝义市", "汾阳市"]
-  }, {
-    "CityID": 26,
-    "name": "运城市",
-    "ProID": 4,
-    "CitySort": 26,
-    "area": ["盐湖区", "临猗县", "万荣县", "闻喜县", "稷山县", "新绛县", "绛县", "垣曲县", "夏县", "平陆县", "芮城县", "永济市", "河津市"]
-  }]
-}, {
-  "ProID": 5,
-  "name": "内蒙古自治区",
-  "ProSort": 32,
-  "ProRemark": "自治区",
-  "city": [{
-    "CityID": 351,
-    "name": "呼伦贝尔市",
-    "ProID": 5,
-    "CitySort": 351,
-    "area": ["海拉尔区", "阿荣旗", "莫力达瓦达斡尔族自治旗", "鄂伦春自治旗", "鄂温克族自治旗", "陈巴尔虎旗", "新巴尔虎左旗", "新巴尔虎右旗", "满洲里市", "牙克石市", "扎兰屯市", "额尔古纳市", "根河市"]
-  }, {
-    "CityID": 352,
-    "name": "呼和浩特市",
-    "ProID": 5,
-    "CitySort": 352,
-    "area": ["新城区", "回民区", "玉泉区", "赛罕区", "土默特左旗", "托克托县", "和林格尔县", "清水河县", "武川县"]
-  }, {
-    "CityID": 353,
-    "name": "包头市",
-    "ProID": 5,
-    "CitySort": 353,
-    "area": ["东河区", "昆都仑区", "青山区", "石拐区", "白云鄂博矿区", "九原区", "土默特右旗", "固阳县", "达尔罕茂明安联合旗"]
-  }, {
-    "CityID": 354,
-    "name": "乌海市",
-    "ProID": 5,
-    "CitySort": 354,
-    "area": ["海勃湾区", "海南区", "乌达区"]
-  }, {
-    "CityID": 355,
-    "name": "乌兰察布市",
-    "ProID": 5,
-    "CitySort": 355,
-    "area": ["集宁区", "卓资县", "化德县", "商都县", "兴和县", "凉城县", "察哈尔右翼前旗", "察哈尔右翼中旗", "察哈尔右翼后旗", "四子王旗", "丰镇市"]
-  }, {
-    "CityID": 356,
-    "name": "通辽市",
-    "ProID": 5,
-    "CitySort": 356,
-    "area": ["科尔沁区", "科尔沁左翼中旗", "科尔沁左翼后旗", "开鲁县", "库伦旗", "奈曼旗", "扎鲁特旗", "霍林郭勒市"]
-  }, {
-    "CityID": 357,
-    "name": "赤峰市",
-    "ProID": 5,
-    "CitySort": 357,
-    "area": ["红山区", "元宝山区", "松山区", "阿鲁科尔沁旗", "巴林左旗", "巴林右旗", "林西县", "克什克腾旗", "翁牛特旗", "喀喇沁旗", "宁城县", "敖汉旗"]
-  }, {
-    "CityID": 358,
-    "name": "鄂尔多斯市",
-    "ProID": 5,
-    "CitySort": 358,
-    "area": ["东胜区", "达拉特旗", "准格尔旗", "鄂托克前旗", "鄂托克旗", "杭锦旗", "乌审旗", "伊金霍洛旗"]
-  }, {
-    "CityID": 359,
-    "name": "巴彦淖尔市",
-    "ProID": 5,
-    "CitySort": 359,
-    "area": ["临河区", "五原县", "磴口县", "乌拉特前旗", "乌拉特中旗", "乌拉特后旗", "杭锦后旗"]
-  }, {
-    "CityID": 360,
-    "name": "锡林郭勒盟",
-    "ProID": 5,
-    "CitySort": 360,
-    "area": ["二连浩特市", "锡林浩特市", "阿巴嘎旗", "苏尼特左旗", "苏尼特右旗", "东乌珠穆沁旗", "西乌珠穆沁旗", "太仆寺旗", "镶黄旗", "正镶白旗", "正蓝旗", "多伦县"]
-  }, {
-    "CityID": 361,
-    "name": "兴安盟",
-    "ProID": 5,
-    "CitySort": 361,
-    "area": ["乌兰浩特市", "阿尔山市", "科尔沁右翼前旗", "科尔沁右翼中旗", "扎赉特旗", "突泉县"]
-  }, {
-    "CityID": 362,
-    "name": "阿拉善盟",
-    "ProID": 5,
-    "CitySort": 362,
-    "area": ["阿拉善左旗", "阿拉善右旗", "额济纳旗"]
-  }]
-}, {
-  "ProID": 6,
-  "name": "辽宁省",
-  "ProSort": 8,
-  "ProRemark": "省份",
-  "city": [{
-    "CityID": 27,
-    "name": "沈阳市",
-    "ProID": 6,
-    "CitySort": 27,
-    "area": ["和平区", "沈河区", "大东区", "皇姑区", "铁西区", "苏家屯区", "东陵区", "沈北新区", "于洪区", "辽中县", "康平县", "法库县", "新民市"]
-  }, {
-    "CityID": 28,
-    "name": "铁岭市",
-    "ProID": 6,
-    "CitySort": 28,
-    "area": ["银州区", "清河区", "铁岭县", "西丰县", "昌图县", "调兵山市", "开原市"]
-  }, {
-    "CityID": 29,
-    "name": "大连市",
-    "ProID": 6,
-    "CitySort": 29,
-    "area": ["长海县", "旅顺口区", "中山区", "西岗区", "沙河口区", "甘井子区", "金州区", "普兰店市", "瓦房店市", "庄河市"]
-  }, {
-    "CityID": 30,
-    "name": "鞍山市",
-    "ProID": 6,
-    "CitySort": 30,
-    "area": ["铁东区", "铁西区", "立山区", "千山区", "台安县", "岫岩满族自治县", "海城市"]
-  }, {
-    "CityID": 31,
-    "name": "抚顺市",
-    "ProID": 6,
-    "CitySort": 31,
-    "area": ["新抚区", "东洲区", "望花区", "顺城区", "抚顺县", "新宾满族自治县", "清原满族自治县"]
-  }, {
-    "CityID": 32,
-    "name": "本溪市",
-    "ProID": 6,
-    "CitySort": 32,
-    "area": ["平山区", "溪湖区", "明山区", "南芬区", "本溪满族自治县", "桓仁满族自治县"]
-  }, {
-    "CityID": 33,
-    "name": "丹东市",
-    "ProID": 6,
-    "CitySort": 33,
-    "area": ["元宝区", "振兴区", "振安区", "宽甸满族自治县", "东港市", "凤城市"]
-  }, {
-    "CityID": 34,
-    "name": "锦州市",
-    "ProID": 6,
-    "CitySort": 34,
-    "area": ["古塔区", "凌河区", "太和区", "黑山县", "义县", "凌海市", "北镇市"]
-  }, {
-    "CityID": 35,
-    "name": "营口市",
-    "ProID": 6,
-    "CitySort": 35,
-    "area": ["站前区", "西市区", "鮁鱼圈区", "老边区", "盖州市", "大石桥市"]
-  }, {
-    "CityID": 36,
-    "name": "阜新市",
-    "ProID": 6,
-    "CitySort": 36,
-    "area": ["海州区", "新邱区", "太平区", "清河门区", "细河区", "阜新蒙古族自治县", "彰武县"]
-  }, {
-    "CityID": 37,
-    "name": "辽阳市",
-    "ProID": 6,
-    "CitySort": 37,
-    "area": ["白塔区", "文圣区", "宏伟区", "弓长岭区", "太子河区", "辽阳县", "灯塔市"]
-  }, {
-    "CityID": 38,
-    "name": "朝阳市",
-    "ProID": 6,
-    "CitySort": 38,
-    "area": ["双塔区", "龙城区", "朝阳县", "建平县", "喀喇沁左翼蒙古族自治县", "北票市", "凌源市"]
-  }, {
-    "CityID": 39,
-    "name": "盘锦市",
-    "ProID": 6,
-    "CitySort": 39,
-    "area": ["双台子区", "兴隆台区", "大洼县", "盘山县"]
-  }, {
-    "CityID": 40,
-    "name": "葫芦岛市",
-    "ProID": 6,
-    "CitySort": 40,
-    "area": ["连山区", "龙港区", "南票区", "绥中县", "建昌县", "兴城市"]
-  }]
-}, {
-  "ProID": 7,
-  "name": "吉林省",
-  "ProSort": 9,
-  "ProRemark": "省份",
-  "city": [{
-    "CityID": 41,
-    "name": "长春市",
-    "ProID": 7,
-    "CitySort": 41,
-    "area": ["南关区", "宽城区", "朝阳区", "二道区", "绿园区", "双阳区", "农安县", "九台市", "榆树市", "德惠市"]
-  }, {
-    "CityID": 42,
-    "name": "吉林市",
-    "ProID": 7,
-    "CitySort": 42,
-    "area": ["昌邑区", "龙潭区", "船营区", "丰满区", "永吉县", "蛟河市", "桦甸市", "舒兰市", "磐石市"]
-  }, {
-    "CityID": 43,
-    "name": "延边朝鲜族自治州",
-    "ProID": 7,
-    "CitySort": 43,
-    "area": ["延吉市", "图们市", "敦化市", "珲春市", "龙井市", "和龙市", "汪清县", "安图县"]
-  }, {
-    "CityID": 44,
-    "name": "四平市",
-    "ProID": 7,
-    "CitySort": 44,
-    "area": ["铁西区", "铁东区", "梨树县", "伊通满族自治县", "公主岭市", "双辽市"]
-  }, {
-    "CityID": 45,
-    "name": "通化市",
-    "ProID": 7,
-    "CitySort": 45,
-    "area": ["东昌区", "二道江区", "通化县", "辉南县", "柳河县", "梅河口市", "集安市"]
-  }, {
-    "CityID": 46,
-    "name": "白城市",
-    "ProID": 7,
-    "CitySort": 46,
-    "area": ["洮北区", "镇赉县", "通榆县", "洮南市", "大安市"]
-  }, {
-    "CityID": 47,
-    "name": "辽源市",
-    "ProID": 7,
-    "CitySort": 47,
-    "area": ["龙山区", "西安区", "东丰县", "东辽县"]
-  }, {
-    "CityID": 48,
-    "name": "松原市",
-    "ProID": 7,
-    "CitySort": 48,
-    "area": ["宁江区", "前郭尔罗斯蒙古族自治县", "长岭县", "乾安县", "扶余县"]
-  }, {
-    "CityID": 49,
-    "name": "白山市",
-    "ProID": 7,
-    "CitySort": 49,
-    "area": ["八道江区", "江源区", "抚松县", "靖宇县", "长白朝鲜族自治县", "临江市"]
-  }]
-}, {
-  "ProID": 8,
-  "name": "黑龙江省",
-  "ProSort": 10,
-  "ProRemark": "省份",
-  "city": [{
-    "CityID": 50,
-    "name": "哈尔滨市",
-    "ProID": 8,
-    "CitySort": 50,
-    "area": ["道里区", "南岗区", "道外区", "平房区", "松北区", "香坊区", "呼兰区", "阿城区", "依兰县", "方正县", "宾县", "巴彦县", "木兰县", "通河县", "延寿县", "双城市", "尚志市", "五常市"]
-  }, {
-    "CityID": 51,
-    "name": "齐齐哈尔市",
-    "ProID": 8,
-    "CitySort": 51,
-    "area": ["龙沙区", "建华区", "铁锋区", "昂昂溪区", "富拉尔基区", "碾子山区", "梅里斯达翰尔族区", "龙江县", "依安县", "泰来县", "甘南县", "富裕县", "克山县", "克东县", "拜泉县", "讷河市"]
-  }, {
-    "CityID": 52,
-    "name": "鸡西市",
-    "ProID": 8,
-    "CitySort": 52,
-    "area": ["鸡冠区", "恒山区", "滴道区", "梨树区", "城子河区", "麻山区", "鸡东县", "虎林市", "密山市"]
-  }, {
-    "CityID": 53,
-    "name": "牡丹江市",
-    "ProID": 8,
-    "CitySort": 53,
-    "area": ["东安区", "阳明区", "爱民区", "西安区", "东宁县", "林口县", "绥芬河市", "海林市", "宁安市", "穆棱市"]
-  }, {
-    "CityID": 54,
-    "name": "七台河市",
-    "ProID": 8,
-    "CitySort": 54,
-    "area": ["新兴区", "桃山区", "茄子河区", "勃利县"]
-  }, {
-    "CityID": 55,
-    "name": "佳木斯市",
-    "ProID": 8,
-    "CitySort": 55,
-    "area": ["向阳区", "前进区", "东风区", "桦南县", "桦川县", "汤原县", "抚远县", "同江市", "富锦市"]
-  }, {
-    "CityID": 56,
-    "name": "鹤岗市",
-    "ProID": 8,
-    "CitySort": 56,
-    "area": ["向阳区", "工农区", "南山区", "兴安区", "东山区", "兴山区", "萝北县", "绥滨县"]
-  }, {
-    "CityID": 57,
-    "name": "双鸭山市",
-    "ProID": 8,
-    "CitySort": 57,
-    "area": ["尖山区", "岭东区", "四方台区", "宝山区", "集贤县", "友谊县", "宝清县", "饶河县"]
-  }, {
-    "CityID": 58,
-    "name": "绥化市",
-    "ProID": 8,
-    "CitySort": 58,
-    "area": ["北林区", "望奎县", "兰西县", "青冈县", "庆安县", "明水县", "绥棱县", "安达市", "肇东市", "海伦市"]
-  }, {
-    "CityID": 59,
-    "name": "黑河市",
-    "ProID": 8,
-    "CitySort": 59,
-    "area": ["爱辉区", "嫩江县", "逊克县", "孙吴县", "北安市", "五大连池市"]
-  }, {
-    "CityID": 60,
-    "name": "大兴安岭地区",
-    "ProID": 8,
-    "CitySort": 60,
-    "area": ["呼玛县", "塔河县", "漠河县"]
-  }, {
-    "CityID": 61,
-    "name": "伊春市",
-    "ProID": 8,
-    "CitySort": 61,
-    "area": ["伊春区", "南岔区", "友好区", "西林区", "翠峦区", "新青区", "美溪区", "金山屯区", "五营区", "乌马河区", "汤旺河区", "带岭区", "乌伊岭区", "红星区", "上甘岭区", "嘉荫县", "铁力市"]
-  }, {
-    "CityID": 62,
-    "name": "大庆市",
-    "ProID": 8,
-    "CitySort": 62,
-    "area": ["萨尔图区", "龙凤区", "让胡路区", "红岗区", "大同区", "肇州县", "肇源县", "林甸县", "杜尔伯特蒙古族自治县"]
-  }]
-}, {
-  "ProID": 9,
-  "name": "上海市",
-  "ProSort": 3,
-  "ProRemark": "直辖市",
-  "city": [{
-    "CityID": 3,
-    "name": "上海市",
-    "ProID": 9,
-    "CitySort": 3,
-    "area": ["黄浦区", "卢湾区", "徐汇区", "长宁区", "静安区", "普陀区", "闸北区", "虹口区", "杨浦区", "闵行区", "宝山区", "嘉定区", "浦东新区", "金山区", "松江区", "青浦区", "南汇区", "奉贤区", "崇明县"]
-  }]
-}, {
-  "ProID": 10,
-  "name": "江苏省",
-  "ProSort": 11,
-  "ProRemark": "省份",
-  "city": [{
-    "CityID": 63,
-    "name": "南京市",
-    "ProID": 10,
-    "CitySort": 63,
-    "area": ["江宁区", "浦口区", "玄武区", "白下区", "秦淮区", "建邺区", "鼓楼区", "下关区", "栖霞区", "雨花台区", "六合区", "溧水县", "高淳县"]
-  }, {
-    "CityID": 64,
-    "name": "无锡市",
-    "ProID": 10,
-    "CitySort": 64,
-    "area": ["崇安区", "南长区", "北塘区", "锡山区", "惠山区", "滨湖区", "江阴市", "宜兴市"]
-  }, {
-    "CityID": 65,
-    "name": "镇江市",
-    "ProID": 10,
-    "CitySort": 65,
-    "area": ["京口区", "润州区", "丹徒区", "丹阳市", "扬中市", "句容市"]
-  }, {
-    "CityID": 66,
-    "name": "苏州市",
-    "ProID": 10,
-    "CitySort": 66,
-    "area": ["沧浪区", "常熟市", "平江区", "金阊区", "虎丘区", "昆山市", "太仓市", "吴江市", "吴中区", "相城区", "张家港市"]
-  }, {
-    "CityID": 67,
-    "name": "南通市",
-    "ProID": 10,
-    "CitySort": 67,
-    "area": ["崇川区", "港闸区", "海安县", "如东县", "启东市", "如皋市", "通州市", "海门市"]
-  }, {
-    "CityID": 68,
-    "name": "扬州市",
-    "ProID": 10,
-    "CitySort": 68,
-    "area": ["高邮市", "广陵区", "邗江区", "维扬区", "宝应县", "江都市", "仪征市"]
-  }, {
-    "CityID": 69,
-    "name": "盐城市",
-    "ProID": 10,
-    "CitySort": 69,
-    "area": ["亭湖区", "盐都区", "响水县", "滨海县", "阜宁县", "射阳县", "建湖县", "东台市", "大丰市"]
-  }, {
-    "CityID": 70,
-    "name": "徐州市",
-    "ProID": 10,
-    "CitySort": 70,
-    "area": ["鼓楼区", "云龙区", "九里区", "贾汪区", "泉山区", "丰县", "沛县", "铜山县", "睢宁县", "新沂市", "邳州市"]
-  }, {
-    "CityID": 71,
-    "name": "淮安市",
-    "ProID": 10,
-    "CitySort": 71,
-    "area": ["清河区", "楚州区", "淮阴区", "清浦区", "涟水县", "洪泽县", "盱眙县", "金湖县"]
-  }, {
-    "CityID": 72,
-    "name": "连云港市",
-    "ProID": 10,
-    "CitySort": 72,
-    "area": ["连云区", "新浦区", "海州区", "赣榆县", "东海县", "灌云县", "灌南县"]
-  }, {
-    "CityID": 73,
-    "name": "常州市",
-    "ProID": 10,
-    "CitySort": 73,
-    "area": ["天宁区", "钟楼区", "戚墅堰区", "新北区", "武进区", "溧阳市", "金坛市"]
-  }, {
-    "CityID": 74,
-    "name": "泰州市",
-    "ProID": 10,
-    "CitySort": 74,
-    "area": ["海陵区", "高港区", "兴化市", "靖江市", "泰兴市", "姜堰市"]
-  }, {
-    "CityID": 75,
-    "name": "宿迁市",
-    "ProID": 10,
-    "CitySort": 75,
-    "area": ["宿城区", "宿豫区", "沭阳县", "泗阳县", "泗洪县"]
-  }]
-}, {
-  "ProID": 11,
-  "name": "浙江省",
-  "ProSort": 12,
-  "ProRemark": "省份",
-  "city": [{
-    "CityID": 76,
-    "name": "舟山市",
-    "ProID": 11,
-    "CitySort": 76,
-    "area": ["定海区", "普陀区", "岱山县", "嵊泗县"]
-  }, {
-    "CityID": 77,
-    "name": "衢州市",
-    "ProID": 11,
-    "CitySort": 77,
-    "area": ["柯城区", "衢江区", "常山县", "开化县", "龙游县", "江山市"]
-  }, {
-    "CityID": 78,
-    "name": "杭州市",
-    "ProID": 11,
-    "CitySort": 78,
-    "area": ["上城区", "下城区", "江干区", "拱墅区", "西湖区", "滨江区", "余杭区", "桐庐县", "淳安县", "建德市", "富阳市", "临安市", "萧山区"]
-  }, {
-    "CityID": 79,
-    "name": "湖州市",
-    "ProID": 11,
-    "CitySort": 79,
-    "area": ["吴兴区", "南浔区", "德清县", "长兴县", "安吉县"]
-  }, {
-    "CityID": 80,
-    "name": "嘉兴市",
-    "ProID": 11,
-    "CitySort": 80,
-    "area": [" 南湖区", " 秀洲区", " 嘉善县", " 海盐县", " 海宁市", " 平湖市", " 桐乡市 "]
-  }, {
-    "CityID": 81,
-    "name": "宁波市",
-    "ProID": 11,
-    "CitySort": 81,
-    "area": ["海曙区", "江东区", "江北区", "北仑区", "镇海区", "鄞州区", "象山县", "宁海县", "余姚市", "慈溪市", "奉化市"]
-  }, {
-    "CityID": 82,
-    "name": "绍兴市",
-    "ProID": 11,
-    "CitySort": 82,
-    "area": ["越城区", "绍兴县", "新昌县", "诸暨市", "上虞市", "嵊州市"]
-  }, {
-    "CityID": 83,
-    "name": "温州市",
-    "ProID": 11,
-    "CitySort": 83,
-    "area": ["鹿城区", "龙湾区", "瓯海区", "洞头县", "永嘉县", "平阳县", "苍南县", "文成县", "泰顺县", "瑞安市", "乐清市"]
-  }, {
-    "CityID": 84,
-    "name": "丽水市",
-    "ProID": 11,
-    "CitySort": 84,
-    "area": ["莲都区", "青田县", "缙云县", "遂昌县", "松阳县", "云和县", "庆元县", "景宁畲族自治县", "龙泉市"]
-  }, {
-    "CityID": 85,
-    "name": "金华市",
-    "ProID": 11,
-    "CitySort": 85,
-    "area": ["婺城区", "金东区", "武义县", "浦江县", "磐安县", "兰溪市", "义乌市", "东阳市", "永康市"]
-  }, {
-    "CityID": 86,
-    "name": "台州市",
-    "ProID": 11,
-    "CitySort": 86,
-    "area": ["椒江区", "黄岩区", "路桥区", "玉环县", "三门县", "天台县", "仙居县", "温岭市", "临海市"]
-  }]
-}, {
-  "ProID": 12,
-  "name": "安徽省",
-  "ProSort": 13,
-  "ProRemark": "省份",
-  "city": [{
-    "CityID": 87,
-    "name": "合肥市",
-    "ProID": 12,
-    "CitySort": 87,
-    "area": ["瑶海区", "庐阳区", "蜀山区", "包河区", "长丰县", "肥东县", "肥西县"]
-  }, {
-    "CityID": 88,
-    "name": "芜湖市",
-    "ProID": 12,
-    "CitySort": 88,
-    "area": ["镜湖区", "弋江区", "鸠江区", "三山区", "芜湖县", "繁昌县", "南陵县"]
-  }, {
-    "CityID": 89,
-    "name": "蚌埠市",
-    "ProID": 12,
-    "CitySort": 89,
-    "area": ["龙子湖区", "蚌山区", "禹会区", "淮上区", "怀远县", "五河县", "固镇县"]
-  }, {
-    "CityID": 90,
-    "name": "淮南市",
-    "ProID": 12,
-    "CitySort": 90,
-    "area": ["大通区", "田家庵区", "谢家集区", "八公山区", "潘集区", "凤台县"]
-  }, {
-    "CityID": 91,
-    "name": "马鞍山市",
-    "ProID": 12,
-    "CitySort": 91,
-    "area": ["金家庄区", "花山区", "雨山区", "当涂县"]
-  }, {
-    "CityID": 92,
-    "name": "淮北市",
-    "ProID": 12,
-    "CitySort": 92,
-    "area": ["杜集区", "相山区", "烈山区", "濉溪县 "]
-  }, {
-    "CityID": 93,
-    "name": "铜陵市",
-    "ProID": 12,
-    "CitySort": 93,
-    "area": ["铜官山区", "狮子山区", "铜陵县"]
-  }, {
-    "CityID": 94,
-    "name": "安庆市",
-    "ProID": 12,
-    "CitySort": 94,
-    "area": ["迎江区", "大观区", "宜秀区", "怀宁县", "枞阳县", "潜山县", "太湖县", "宿松县", "望江县", "岳西县", "桐城市"]
-  }, {
-    "CityID": 95,
-    "name": "黄山市",
-    "ProID": 12,
-    "CitySort": 95,
-    "area": ["屯溪区", "黄山区", "徽州区", "歙县", "休宁县", "黟县", "祁门县"]
-  }, {
-    "CityID": 96,
-    "name": "滁州市",
-    "ProID": 12,
-    "CitySort": 96,
-    "area": ["琅琊区", "南谯区", "来安县", "全椒县", "定远县", "凤阳县", "天长市", "明光市"]
-  }, {
-    "CityID": 97,
-    "name": "阜阳市",
-    "ProID": 12,
-    "CitySort": 97,
-    "area": ["颍州区", "颍东区", "颍泉区", "临泉县", "太和县", "阜南县", "颍上县", "界首市"]
-  }, {
-    "CityID": 98,
-    "name": "宿州市",
-    "ProID": 12,
-    "CitySort": 98,
-    "area": ["埇桥区", "砀山县", "萧县", "灵璧县", "泗县 "]
-  }, {
-    "CityID": 99,
-    "name": "巢湖市",
-    "ProID": 12,
-    "CitySort": 99,
-    "area": ["居巢区", "庐江县", "无为县", "含山县", "和县 "]
-  }, {
-    "CityID": 100,
-    "name": "六安市",
-    "ProID": 12,
-    "CitySort": 100,
-    "area": ["金安区", "裕安区", "寿县", "霍邱县", "舒城县", "金寨县", "霍山县"]
-  }, {
-    "CityID": 101,
-    "name": "亳州市",
-    "ProID": 12,
-    "CitySort": 101,
-    "area": ["谯城区", "涡阳县", "蒙城县", "利辛县"]
-  }, {
-    "CityID": 102,
-    "name": "池州市",
-    "ProID": 12,
-    "CitySort": 102,
-    "area": ["贵池区", "东至县", "石台县", "青阳县"]
-  }, {
-    "CityID": 103,
-    "name": "宣城市",
-    "ProID": 12,
-    "CitySort": 103,
-    "area": ["宣州区", "郎溪县", "广德县", "泾县", "绩溪县", "旌德县", "宁国市"]
-  }]
-}, {
-  "ProID": 13,
-  "name": "福建省",
-  "ProSort": 14,
-  "ProRemark": "省份",
-  "city": [{
-    "CityID": 104,
-    "name": "福州市",
-    "ProID": 13,
-    "CitySort": 104,
-    "area": ["鼓楼区", "台江区", "仓山区", "马尾区", "晋安区", "闽侯县", "连江县", "罗源县", "闽清县", "永泰县", "平潭县", "福清市", "长乐市"]
-  }, {
-    "CityID": 105,
-    "name": "厦门市",
-    "ProID": 13,
-    "CitySort": 105,
-    "area": ["思明区", "海沧区", "湖里区", "集美区", "同安区", "翔安区"]
-  }, {
-    "CityID": 106,
-    "name": "宁德市",
-    "ProID": 13,
-    "CitySort": 106,
-    "area": ["蕉城区", "霞浦县", "古田县", "屏南县", "寿宁县", "周宁县", "柘荣县", "福安市", "福鼎市"]
-  }, {
-    "CityID": 107,
-    "name": "莆田市",
-    "ProID": 13,
-    "CitySort": 107,
-    "area": ["城厢区", "涵江区", "荔城区", "秀屿区", "仙游县"]
-  }, {
-    "CityID": 108,
-    "name": "泉州市",
-    "ProID": 13,
-    "CitySort": 108,
-    "area": ["鲤城区", "丰泽区", "洛江区", "泉港区", "惠安县", "安溪县", "永春县", "德化县", "石狮市", "晋江市", "南安市"]
-  }, {
-    "CityID": 109,
-    "name": "漳州市",
-    "ProID": 13,
-    "CitySort": 109,
-    "area": ["芗城区", "龙文区", "云霄县", "漳浦县", "诏安县", "长泰县", "东山县", "南靖县", "平和县", "华安县", "龙海市"]
-  }, {
-    "CityID": 110,
-    "name": "龙岩市",
-    "ProID": 13,
-    "CitySort": 110,
-    "area": ["新罗区", "长汀县", "永定县", "上杭县", "武平县", "连城县", "漳平市"]
-  }, {
-    "CityID": 111,
-    "name": "三明市",
-    "ProID": 13,
-    "CitySort": 111,
-    "area": ["梅列区", "三元区", "明溪县", "清流县", "宁化县", "大田县", "尤溪县", "沙县", "将乐县", "泰宁县", "建宁县", "永安市"]
-  }, {
-    "CityID": 112,
-    "name": "南平市",
-    "ProID": 13,
-    "CitySort": 112,
-    "area": ["延平区", "顺昌县", "浦城县", "光泽县", "松溪县", "政和县", "邵武市", "武夷山市", "建瓯市", "建阳市"]
-  }]
-}, {
-  "ProID": 14,
-  "name": "江西省",
-  "ProSort": 15,
-  "ProRemark": "省份",
-  "city": [{
-    "CityID": 113,
-    "name": "鹰潭市",
-    "ProID": 14,
-    "CitySort": 113,
-    "area": ["月湖区", "余江县", "贵溪市"]
-  }, {
-    "CityID": 114,
-    "name": "新余市",
-    "ProID": 14,
-    "CitySort": 114,
-    "area": ["渝水区", "分宜县"]
-  }, {
-    "CityID": 115,
-    "name": "南昌市",
-    "ProID": 14,
-    "CitySort": 115,
-    "area": ["东湖区", "西湖区", "青云谱区", "湾里区", "青山湖区", "南昌县", "新建县", "安义县", "进贤县"]
-  }, {
-    "CityID": 116,
-    "name": "九江市",
-    "ProID": 14,
-    "CitySort": 116,
-    "area": ["庐山区", "浔阳区", "九江县", "武宁县", "修水县", "永修县", "德安县", "星子县", "都昌县", "湖口县", "彭泽县", "瑞昌市"]
-  }, {
-    "CityID": 117,
-    "name": "上饶市",
-    "ProID": 14,
-    "CitySort": 117,
-    "area": ["信州区", "上饶县", "广丰县", "玉山县", "铅山县", "横峰县", "弋阳县", "余干县", "鄱阳县", "万年县", "婺源县", "德兴市"]
-  }, {
-    "CityID": 118,
-    "name": "抚州市",
-    "ProID": 14,
-    "CitySort": 118,
-    "area": ["临川区", "南城县", "黎川县", "南丰县", "崇仁县", "乐安县", "宜黄县", "金溪县", "资溪县", "东乡县", "广昌县"]
-  }, {
-    "CityID": 119,
-    "name": "宜春市",
-    "ProID": 14,
-    "CitySort": 119,
-    "area": ["袁州区", "奉新县", "万载县", "上高县", "宜丰县", "靖安县", "铜鼓县", "丰城市", "樟树市", "高安市"]
-  }, {
-    "CityID": 120,
-    "name": "吉安市",
-    "ProID": 14,
-    "CitySort": 120,
-    "area": ["吉州区", "青原区", "吉安县", "吉水县", "峡江县", "新干县", "永丰县", "泰和县", "遂川县", "万安县", "安福县", "永新县", "井冈山市"]
-  }, {
-    "CityID": 121,
-    "name": "赣州市",
-    "ProID": 14,
-    "CitySort": 121,
-    "area": ["章贡区", "赣县", "信丰县", "大余县", "上犹县", "崇义县", "安远县", "龙南县", "定南县", "全南县", "宁都县", "于都县", "兴国县", "会昌县", "寻乌县", "石城县", "瑞金市", "南康市"]
-  }, {
-    "CityID": 122,
-    "name": "景德镇市",
-    "ProID": 14,
-    "CitySort": 122,
-    "area": ["昌江区", "珠山区", "浮梁县", "乐平市"]
-  }, {
-    "CityID": 123,
-    "name": "萍乡市",
-    "ProID": 14,
-    "CitySort": 123,
-    "area": ["安源区", "湘东区", "莲花县", "上栗县", "芦溪县"]
-  }]
-}, {
-  "ProID": 15,
-  "name": "山东省",
-  "ProSort": 16,
-  "ProRemark": "省份",
-  "city": [{
-    "CityID": 124,
-    "name": "菏泽市",
-    "ProID": 15,
-    "CitySort": 124,
-    "area": ["牡丹区", "曹县", "单县", "成武县", "巨野县", "郓城县", "鄄城县", "定陶县", "东明县"]
-  }, {
-    "CityID": 125,
-    "name": "济南市",
-    "ProID": 15,
-    "CitySort": 125,
-    "area": ["历下区", "市中区", "槐荫区", "天桥区", "历城区", "长清区", "平阴县", "济阳县", "商河县", "章丘市"]
-  }, {
-    "CityID": 126,
-    "name": "青岛市",
-    "ProID": 15,
-    "CitySort": 126,
-    "area": ["市南区", "市北区", "四方区", "黄岛区", "崂山区", "李沧区", "城阳区", "胶州市", "即墨市", "平度市", "胶南市", "莱西市"]
-  }, {
-    "CityID": 127,
-    "name": "淄博市",
-    "ProID": 15,
-    "CitySort": 127,
-    "area": ["淄川区", "张店区", "博山区", "临淄区", "周村区", "桓台县", "高青县", "沂源县"]
-  }, {
-    "CityID": 128,
-    "name": "德州市",
-    "ProID": 15,
-    "CitySort": 128,
-    "area": ["德城区", "陵县", "宁津县", "庆云县", "临邑县", "齐河县", "平原县", "夏津县", "武城县", "乐陵市", "禹城市"]
-  }, {
-    "CityID": 129,
-    "name": "烟台市",
-    "ProID": 15,
-    "CitySort": 129,
-    "area": ["芝罘区", "福山区", "牟平区", "莱山区", "长岛县", "龙口市", "莱阳市", "莱州市", "蓬莱市", "招远市", "栖霞市", "海阳市"]
-  }, {
-    "CityID": 130,
-    "name": "潍坊市",
-    "ProID": 15,
-    "CitySort": 130,
-    "area": ["潍城区", "寒亭区", "坊子区", "奎文区", "临朐县", "昌乐县", "青州市", "诸城市", "寿光市", "安丘市", "高密市", "昌邑市"]
-  }, {
-    "CityID": 131,
-    "name": "济宁市",
-    "ProID": 15,
-    "CitySort": 131,
-    "area": ["市中区", "任城区", "微山县", "鱼台县", "金乡县", "嘉祥县", "汶上县", "泗水县", "梁山县", "曲阜市", "兖州市", "邹城市"]
-  }, {
-    "CityID": 132,
-    "name": "泰安市",
-    "ProID": 15,
-    "CitySort": 132,
-    "area": ["泰山区", "岱岳区", "宁阳县", "东平县", "新泰市", "肥城市"]
-  }, {
-    "CityID": 133,
-    "name": "临沂市",
-    "ProID": 15,
-    "CitySort": 133,
-    "area": ["兰山区", "罗庄区", "河东区", "沂南县", "郯城县", "沂水县", "苍山县", "费县", "平邑县", "莒南县", "蒙阴县", "临沭县"]
-  }, {
-    "CityID": 134,
-    "name": "滨州市",
-    "ProID": 15,
-    "CitySort": 134,
-    "area": ["滨城区", "惠民县", "阳信县", "无棣县", "沾化县", "博兴县", "邹平县"]
-  }, {
-    "CityID": 135,
-    "name": "东营市",
-    "ProID": 15,
-    "CitySort": 135,
-    "area": ["东营区", "河口区", "垦利县", "利津县", "广饶县"]
-  }, {
-    "CityID": 136,
-    "name": "威海市",
-    "ProID": 15,
-    "CitySort": 136,
-    "area": ["环翠区", "文登市", "荣成市", "乳山市"]
-  }, {
-    "CityID": 137,
-    "name": "枣庄市",
-    "ProID": 15,
-    "CitySort": 137,
-    "area": ["市中区", "薛城区", "峄城区", "台儿庄区", "山亭区", "滕州市"]
-  }, {
-    "CityID": 138,
-    "name": "日照市",
-    "ProID": 15,
-    "CitySort": 138,
-    "area": ["东港区", "岚山区", "五莲县", "莒县"]
-  }, {
-    "CityID": 139,
-    "name": "莱芜市",
-    "ProID": 15,
-    "CitySort": 139,
-    "area": ["莱城区", "钢城区"]
-  }, {
-    "CityID": 140,
-    "name": "聊城市",
-    "ProID": 15,
-    "CitySort": 140,
-    "area": ["东昌府区", "阳谷县", "莘县", "茌平县", "东阿县", "冠县", "高唐县", "临清市"]
-  }]
-}, {
-  "ProID": 16,
-  "name": "河南省",
-  "ProSort": 17,
-  "ProRemark": "省份",
-  "city": [{
-    "CityID": 141,
-    "name": "商丘市",
-    "ProID": 16,
-    "CitySort": 141,
-    "area": ["梁园区", "睢阳区", "民权县", "睢县", "宁陵县", "柘城县", "虞城县", "夏邑县", "永城市"]
-  }, {
-    "CityID": 142,
-    "name": "郑州市",
-    "ProID": 16,
-    "CitySort": 142,
-    "area": ["中原区", "高新区", "经济技术开发区", "航空港区", "郑东新区", "二七区", "管城回族区", "金水区", "上街区", "惠济区", "中牟县", "巩义市", "荥阳市", "新密市", "新郑市", "登封市"]
-  }, {
-    "CityID": 143,
-    "name": "安阳市",
-    "ProID": 16,
-    "CitySort": 143,
-    "area": ["文峰区", "北关区", "殷都区", "龙安区", "安阳县", "汤阴县", "滑县", "内黄县", "林州市"]
-  }, {
-    "CityID": 144,
-    "name": "新乡市",
-    "ProID": 16,
-    "CitySort": 144,
-    "area": ["红旗区", "卫滨区", "凤泉区", "牧野区", "新乡县", "获嘉县", "原阳县", "延津县", "封丘县", "长垣县", "卫辉市", "辉县市"]
-  }, {
-    "CityID": 145,
-    "name": "许昌市",
-    "ProID": 16,
-    "CitySort": 145,
-    "area": ["魏都区", "许昌县", "鄢陵县", "襄城县", "禹州市", "长葛市"]
-  }, {
-    "CityID": 146,
-    "name": "平顶山市",
-    "ProID": 16,
-    "CitySort": 146,
-    "area": ["新华区", "卫东区", "石龙区", "湛河区", "宝丰县", "叶县", "鲁山县", "郏县", "舞钢市", "汝州市"]
-  }, {
-    "CityID": 147,
-    "name": "信阳市",
-    "ProID": 16,
-    "CitySort": 147,
-    "area": ["浉河区", "平桥区", "罗山县", "光山县", "新县", "商城县", "固始县", "潢川县", "淮滨县", "息县"]
-  }, {
-    "CityID": 148,
-    "name": "南阳市",
-    "ProID": 16,
-    "CitySort": 148,
-    "area": ["宛城区", "卧龙区", "南召县", "方城县", "西峡县", "镇平县", "内乡县", "淅川县", "社旗县", "唐河县", "新野县", "桐柏县", "邓州市"]
-  }, {
-    "CityID": 149,
-    "name": "开封市",
-    "ProID": 16,
-    "CitySort": 149,
-    "area": ["龙亭区", "顺河回族区", "鼓楼区", "禹王台区", "金明区", "杞县", "通许县", "尉氏县", "开封县", "兰考县"]
-  }, {
-    "CityID": 150,
-    "name": "洛阳市",
-    "ProID": 16,
-    "CitySort": 150,
-    "area": ["老城区", "西工区", "瀍河回族区", "涧西区", "吉利区", "洛龙区", "孟津县", "新安县", "栾川县", "嵩县", "汝阳县", "宜阳县", "洛宁县", "伊川县", "偃师市"]
-  }, {
-    "CityID": 151,
-    "name": "济源市",
-    "ProID": 16,
-    "CitySort": 151,
-    "area": ['其他']
-  }, {
-    "CityID": 152,
-    "name": "焦作市",
-    "ProID": 16,
-    "CitySort": 152,
-    "area": ["解放区", "中站区", "马村区", "山阳区", "修武县", "博爱县", "武陟县", "温县", "沁阳市", "孟州市"]
-  }, {
-    "CityID": 153,
-    "name": "鹤壁市",
-    "ProID": 16,
-    "CitySort": 153,
-    "area": ["鹤山区", "山城区", "淇滨区", "浚县", "淇县"]
-  }, {
-    "CityID": 154,
-    "name": "濮阳市",
-    "ProID": 16,
-    "CitySort": 154,
-    "area": ["华龙区", "清丰县", "南乐县", "范县", "台前县", "濮阳县"]
-  }, {
-    "CityID": 155,
-    "name": "周口市",
-    "ProID": 16,
-    "CitySort": 155,
-    "area": ["川汇区", "扶沟县", "西华县", "商水县", "沈丘县", "郸城县", "淮阳县", "太康县", "鹿邑县", "项城市"]
-  }, {
-    "CityID": 156,
-    "name": "漯河市",
-    "ProID": 16,
-    "CitySort": 156,
-    "area": ["源汇区", "郾城区", "召陵区", "舞阳县", "临颍县"]
-  }, {
-    "CityID": 157,
-    "name": "驻马店市",
-    "ProID": 16,
-    "CitySort": 157,
-    "area": ["驿城区", "西平县", "上蔡县", "平舆县", "正阳县", "确山县", "泌阳县", "汝南县", "遂平县", "新蔡县"]
-  }, {
-    "CityID": 158,
-    "name": "三门峡市",
-    "ProID": 16,
-    "CitySort": 158,
-    "area": ["湖滨区", "渑池县", "陕县", "卢氏县", "义马市", "灵宝市"]
-  }]
-}, {
-  "ProID": 17,
-  "name": "湖北省",
-  "ProSort": 18,
-  "ProRemark": "省份",
-  "city": [{
-    "CityID": 159,
-    "name": "武汉市",
-    "ProID": 17,
-    "CitySort": 159,
-    "area": ["江岸区", "江汉区", "硚口区", "汉阳区", "武昌区", "青山区", "洪山区", "东西湖区", "汉南区", "蔡甸区", "江夏区", "黄陂区", "新洲区"]
-  }, {
-    "CityID": 160,
-    "name": "襄阳市",
-    "ProID": 17,
-    "CitySort": 160,
-    "area": ["襄城区", "樊城区", "襄阳区", "南漳县", "谷城县", "保康县", "老河口市", "枣阳市", "宜城市"]
-  }, {
-    "CityID": 161,
-    "name": "鄂州市",
-    "ProID": 17,
-    "CitySort": 161,
-    "area": ["梁子湖区", "华容区", "鄂城区"]
-  }, {
-    "CityID": 162,
-    "name": "孝感市",
-    "ProID": 17,
-    "CitySort": 162,
-    "area": ["孝南区", "孝昌县", "大悟县", "云梦县", "应城市", "安陆市", "汉川市"]
-  }, {
-    "CityID": 163,
-    "name": "黄冈市",
-    "ProID": 17,
-    "CitySort": 163,
-    "area": ["黄州区", "团风县", "红安县", "罗田县", "英山县", "浠水县", "蕲春县", "黄梅县", "麻城市", "武穴市"]
-  }, {
-    "CityID": 164,
-    "name": "黄石市",
-    "ProID": 17,
-    "CitySort": 164,
-    "area": ["黄石港区", "西塞山区", "下陆区", "铁山区", "阳新县", "大冶市"]
-  }, {
-    "CityID": 165,
-    "name": "咸宁市",
-    "ProID": 17,
-    "CitySort": 165,
-    "area": ["咸安区", "嘉鱼县", "通城县", "崇阳县", "通山县", "赤壁市"]
-  }, {
-    "CityID": 166,
-    "name": "荆州市",
-    "ProID": 17,
-    "CitySort": 166,
-    "area": ["沙市区", "荆州区", "公安县", "监利县", "江陵县", "石首市", "洪湖市", "松滋市"]
-  }, {
-    "CityID": 167,
-    "name": "宜昌市",
-    "ProID": 17,
-    "CitySort": 167,
-    "area": ["西陵区", "伍家岗区", "点军区", "猇亭区", "夷陵区", "远安县", "兴山县", "秭归县", "长阳土家族自治县", "五峰土家族自治县", "宜都市", "当阳市", "枝江市"]
-  }, {
-    "CityID": 168,
-    "name": "恩施土家族苗族自治州",
-    "ProID": 17,
-    "CitySort": 168,
-    "area": ["恩施市", "利川市", "建始县", "巴东县", "宣恩县", "咸丰县", "来凤县", "鹤峰县"]
-  }, {
-    "CityID": 169,
-    "name": "神农架林区",
-    "ProID": 17,
-    "CitySort": 169,
-    "area": ['其他']
-  }, {
-    "CityID": 170,
-    "name": "十堰市",
-    "ProID": 17,
-    "CitySort": 170,
-    "area": ["茅箭区", "张湾区", "郧县", "郧西县", "竹山县", "竹溪县", "房县", "丹江口市"]
-  }, {
-    "CityID": 171,
-    "name": "随州市",
-    "ProID": 17,
-    "CitySort": 171,
-    "area": ["曾都区", "广水市"]
-  }, {
-    "CityID": 172,
-    "name": "荆门市",
-    "ProID": 17,
-    "CitySort": 172,
-    "area": ["东宝区", "掇刀区", "京山县", "沙洋县", "钟祥市"]
-  }, {
-    "CityID": 173,
-    "name": "仙桃市",
-    "ProID": 17,
-    "CitySort": 173,
-    "area": ['其他']
-  }, {
-    "CityID": 174,
-    "name": "天门市",
-    "ProID": 17,
-    "CitySort": 174,
-    "area": ['其他']
-  }, {
-    "CityID": 175,
-    "name": "潜江市",
-    "ProID": 17,
-    "CitySort": 175,
-    "area": ['其他']
-  }]
-}, {
-  "ProID": 18,
-  "name": "湖南省",
-  "ProSort": 19,
-  "ProRemark": "省份",
-  "city": [{
-    "CityID": 176,
-    "name": "岳阳市",
-    "ProID": 18,
-    "CitySort": 176,
-    "area": ["岳阳楼区", "云溪区", "君山区", "岳阳县", "华容县", "湘阴县", "平江县", "汨罗市", "临湘市"]
-  }, {
-    "CityID": 177,
-    "name": "长沙市",
-    "ProID": 18,
-    "CitySort": 177,
-    "area": ["芙蓉区", "天心区", "岳麓区", "开福区", "雨花区", "长沙县", "望城县", "宁乡县", "浏阳市"]
-  }, {
-    "CityID": 178,
-    "name": "湘潭市",
-    "ProID": 18,
-    "CitySort": 178,
-    "area": ["雨湖区", "岳塘区", "湘潭县", "湘乡市", "韶山市"]
-  }, {
-    "CityID": 179,
-    "name": "株洲市",
-    "ProID": 18,
-    "CitySort": 179,
-    "area": ["荷塘区", "芦淞区", "石峰区", "天元区", "株洲县", "攸县", "茶陵县", "炎陵县", "醴陵市"]
-  }, {
-    "CityID": 180,
-    "name": "衡阳市",
-    "ProID": 18,
-    "CitySort": 180,
-    "area": ["珠晖区", "雁峰区", "石鼓区", "蒸湘区", "南岳区", "衡阳县", "衡南县", "衡山县", "衡东县", "祁东县", "耒阳市", "常宁市"]
-  }, {
-    "CityID": 181,
-    "name": "郴州市",
-    "ProID": 18,
-    "CitySort": 181,
-    "area": ["北湖区", "苏仙区", "桂阳县", "宜章县", "永兴县", "嘉禾县", "临武县", "汝城县", "桂东县", "安仁县", "资兴市"]
-  }, {
-    "CityID": 182,
-    "name": "常德市",
-    "ProID": 18,
-    "CitySort": 182,
-    "area": ["武陵区", "鼎城区", "安乡县", "汉寿县", "澧县", "临澧县", "桃源县", "石门县", "津市市"]
-  }, {
-    "CityID": 183,
-    "name": "益阳市",
-    "ProID": 18,
-    "CitySort": 183,
-    "area": ["资阳区", "赫山区", "南县", "桃江县", "安化县", "沅江市"]
-  }, {
-    "CityID": 184,
-    "name": "娄底市",
-    "ProID": 18,
-    "CitySort": 184,
-    "area": ["娄星区", "双峰县", "新化县", "冷水江市", "涟源市"]
-  }, {
-    "CityID": 185,
-    "name": "邵阳市",
-    "ProID": 18,
-    "CitySort": 185,
-    "area": ["双清区", "大祥区", "北塔区", "邵东县", "新邵县", "邵阳县", "隆回县", "洞口县", "绥宁县", "新宁县", "城步苗族自治县", "武冈市"]
-  }, {
-    "CityID": 186,
-    "name": "湘西土家族苗族自治州",
-    "ProID": 18,
-    "CitySort": 186,
-    "area": ["吉首市", "泸溪县", "凤凰县", "花垣县", "保靖县", "古丈县", "永顺县", "龙山县"]
-  }, {
-    "CityID": 187,
-    "name": "张家界市",
-    "ProID": 18,
-    "CitySort": 187,
-    "area": ["永定区", "武陵源区", "慈利县", "桑植县"]
-  }, {
-    "CityID": 188,
-    "name": "怀化市",
-    "ProID": 18,
-    "CitySort": 188,
-    "area": ["鹤城区", "中方县", "沅陵县", "辰溪县", "溆浦县", "会同县", "麻阳苗族自治县", "新晃侗族自治县", "芷江侗族自治县", "靖州苗族侗族自治县", "通道侗族自治县", "洪江市"]
-  }, {
-    "CityID": 189,
-    "name": "永州市",
-    "ProID": 18,
-    "CitySort": 189,
-    "area": ["零陵区", "冷水滩区", "祁阳县", "东安县", "双牌县", "道县", "江永县", "宁远县", "蓝山县", "新田县", "江华瑶族自治县"]
-  }]
-}, {
-  "ProID": 19,
-  "name": "广东省",
-  "ProSort": 20,
-  "ProRemark": "省份",
-  "city": [{
-    "CityID": 190,
-    "name": "广州市",
-    "ProID": 19,
-    "CitySort": 190,
-    "area": ["从化市", "荔湾区", "越秀区", "海珠区", "天河区", "白云区", "花都区", "黄埔区", "萝岗区", "南沙区", "番禺区", "增城市"]
-  }, {
-    "CityID": 191,
-    "name": "汕尾市",
-    "ProID": 19,
-    "CitySort": 191,
-    "area": ["海丰县", "陆河县", "陆丰市"]
-  }, {
-    "CityID": 192,
-    "name": "阳江市",
-    "ProID": 19,
-    "CitySort": 192,
-    "area": ["江城区", "阳西县", "阳东县", "阳春市"]
-  }, {
-    "CityID": 193,
-    "name": "揭阳市",
-    "ProID": 19,
-    "CitySort": 193,
-    "area": ["榕城区", "揭东县", "揭西县", "惠来县", "普宁市"]
-  }, {
-    "CityID": 194,
-    "name": "茂名市",
-    "ProID": 19,
-    "CitySort": 194,
-    "area": ["茂南区", "茂港区", "电白县", "高州市", "化州市", "信宜市"]
-  }, {
-    "CityID": 195,
-    "name": "惠州市",
-    "ProID": 19,
-    "CitySort": 195,
-    "area": ["惠城区", "惠阳区", "博罗县", "惠东县", "龙门县"]
-  }, {
-    "CityID": 196,
-    "name": "江门市",
-    "ProID": 19,
-    "CitySort": 196,
-    "area": ["蓬江区", "江海区", "新会区", "台山市", "开平市", "鹤山市", "恩平市"]
-  }, {
-    "CityID": 197,
-    "name": "韶关市",
-    "ProID": 19,
-    "CitySort": 197,
-    "area": ["武江区", "浈江区", "曲江区", "始兴县", "仁化县", "翁源县", "乳源瑶族自治县", "新丰县", "乐昌市", "南雄市"]
-  }, {
-    "CityID": 198,
-    "name": "梅州市",
-    "ProID": 19,
-    "CitySort": 198,
-    "area": ["梅江区", "梅县", "大埔县", "丰顺县", "五华县", "平远县", "蕉岭县", "兴宁市"]
-  }, {
-    "CityID": 199,
-    "name": "汕头市",
-    "ProID": 19,
-    "CitySort": 199,
-    "area": ["龙湖区", "金平区", "濠江区", "潮阳区", "潮南区", "澄海区", "南澳县"]
-  }, {
-    "CityID": 200,
-    "name": "深圳市",
-    "ProID": 19,
-    "CitySort": 200,
-    "area": ["罗湖区", "福田区", "南山区", "宝安区", "龙岗区", "盐田区"]
-  }, {
-    "CityID": 201,
-    "name": "珠海市",
-    "ProID": 19,
-    "CitySort": 201,
-    "area": ["香洲区", "斗门区", "金湾区"]
-  }, {
-    "CityID": 202,
-    "name": "佛山市",
-    "ProID": 19,
-    "CitySort": 202,
-    "area": ["禅城区", "南海区", "顺德区", "三水区", "高明区"]
-  }, {
-    "CityID": 203,
-    "name": "肇庆市",
-    "ProID": 19,
-    "CitySort": 203,
-    "area": ["端州区", "鼎湖区", "广宁县", "怀集县", "封开县", "德庆县", "高要市", "四会市"]
-  }, {
-    "CityID": 204,
-    "name": "湛江市",
-    "ProID": 19,
-    "CitySort": 204,
-    "area": ["赤坎区", "霞山区", "坡头区", "麻章区", "遂溪县", "徐闻县", "廉江市", "雷州市", "吴川市"]
-  }, {
-    "CityID": 205,
-    "name": "中山市",
-    "ProID": 19,
-    "CitySort": 205,
-    "area": ['其他']
-  }, {
-    "CityID": 206,
-    "name": "河源市",
-    "ProID": 19,
-    "CitySort": 206,
-    "area": ["源城区", "紫金县", "龙川县", "连平县", "和平县", "东源县"]
-  }, {
-    "CityID": 207,
-    "name": "清远市",
-    "ProID": 19,
-    "CitySort": 207,
-    "area": ["清城区", "佛冈县", "阳山县", "连山壮族瑶族自治县", "连南瑶族自治县", "清新县", "英德市", "连州市"]
-  }, {
-    "CityID": 208,
-    "name": "云浮市",
-    "ProID": 19,
-    "CitySort": 208,
-    "area": ["云城区", "新兴县", "郁南县", "云安县", "罗定市"]
-  }, {
-    "CityID": 209,
-    "name": "潮州市",
-    "ProID": 19,
-    "CitySort": 209,
-    "area": ["湘桥区", "潮安县", "饶平县"]
-  }, {
-    "CityID": 210,
-    "name": "东莞市",
-    "ProID": 19,
-    "CitySort": 210,
-    "area": ['其他']
-  }]
-}, {
-  "ProID": 20,
-  "name": "海南省",
-  "ProSort": 24,
-  "ProRemark": "省份",
-  "city": [{
-    "CityID": 255,
-    "name": "海口市",
-    "ProID": 20,
-    "CitySort": 255,
-    "area": ["秀英区", "龙华区", "琼山区", "美兰区"]
-  }, {
-    "CityID": 256,
-    "name": "三亚市",
-    "ProID": 20,
-    "CitySort": 256,
-    "area": ['其他']
-  }, {
-    "CityID": 257,
-    "name": "五指山市",
-    "ProID": 20,
-    "CitySort": 257,
-    "area": ['其他']
-  }, {
-    "CityID": 258,
-    "name": "琼海市",
-    "ProID": 20,
-    "CitySort": 258,
-    "area": ['其他']
-  }, {
-    "CityID": 259,
-    "name": "儋州市",
-    "ProID": 20,
-    "CitySort": 259,
-    "area": ['其他']
-  }, {
-    "CityID": 260,
-    "name": "文昌市",
-    "ProID": 20,
-    "CitySort": 260,
-    "area": ['其他']
-  }, {
-    "CityID": 261,
-    "name": "万宁市",
-    "ProID": 20,
-    "CitySort": 261,
-    "area": ['其他']
-  }, {
-    "CityID": 262,
-    "name": "东方市",
-    "ProID": 20,
-    "CitySort": 262,
-    "area": ['其他']
-  }, {
-    "CityID": 263,
-    "name": "澄迈县",
-    "ProID": 20,
-    "CitySort": 263,
-    "area": ['其他']
-  }, {
-    "CityID": 264,
-    "name": "定安县",
-    "ProID": 20,
-    "CitySort": 264,
-    "area": ['其他']
-  }, {
-    "CityID": 265,
-    "name": "屯昌县",
-    "ProID": 20,
-    "CitySort": 265,
-    "area": ['其他']
-  }, {
-    "CityID": 266,
-    "name": "临高县",
-    "ProID": 20,
-    "CitySort": 266,
-    "area": ['其他']
-  }, {
-    "CityID": 267,
-    "name": "白沙黎族自治县",
-    "ProID": 20,
-    "CitySort": 267,
-    "area": ['其他']
-  }, {
-    "CityID": 268,
-    "name": "昌江黎族自治县",
-    "ProID": 20,
-    "CitySort": 268,
-    "area": ['其他']
-  }, {
-    "CityID": 269,
-    "name": "乐东黎族自治县",
-    "ProID": 20,
-    "CitySort": 269,
-    "area": ['其他']
-  }, {
-    "CityID": 270,
-    "name": "陵水黎族自治县",
-    "ProID": 20,
-    "CitySort": 270,
-    "area": ['其他']
-  }, {
-    "CityID": 271,
-    "name": "保亭黎族苗族自治县",
-    "ProID": 20,
-    "CitySort": 271,
-    "area": ['其他']
-  }, {
-    "CityID": 272,
-    "name": "琼中黎族苗族自治县",
-    "ProID": 20,
-    "CitySort": 272,
-    "area": ['其他']
-  },{
-    "CityID": 272,
-    "name": "三沙市",
-    "ProID": 20,
-    "CitySort": 272,
-    "area": ['其他']
-  }]
-}, {
-  "ProID": 21,
-  "name": "广西壮族自治区",
-  "ProSort": 28,
-  "ProRemark": "自治区",
-  "city": [{
-    "CityID": 307,
-    "name": "防城港市",
-    "ProID": 21,
-    "CitySort": 307,
-    "area": ["港口区", "防城区", "上思县", "东兴市"]
-  }, {
-    "CityID": 308,
-    "name": "南宁市",
-    "ProID": 21,
-    "CitySort": 308,
-    "area": ["兴宁区", "青秀区", "江南区", "西乡塘区", "良庆区", "邕宁区", "武鸣县", "隆安县", "马山县", "上林县", "宾阳县", "横县"]
-  }, {
-    "CityID": 309,
-    "name": "崇左市",
-    "ProID": 21,
-    "CitySort": 309,
-    "area": ["江洲区", "扶绥县", "宁明县", "龙州县", "大新县", "天等县", "凭祥市"]
-  }, {
-    "CityID": 310,
-    "name": "来宾市",
-    "ProID": 21,
-    "CitySort": 310,
-    "area": ["兴宾区", "忻城县", "象州县", "武宣县", "金秀瑶族自治县", "合山市"]
-  }, {
-    "CityID": 311,
-    "name": "柳州市",
-    "ProID": 21,
-    "CitySort": 311,
-    "area": ["城中区", "鱼峰区", "柳南区", "柳北区", "柳江县", "柳城县", "鹿寨县", "融安县", "融水苗族自治县", "三江侗族自治县"]
-  }, {
-    "CityID": 312,
-    "name": "桂林市",
-    "ProID": 21,
-    "CitySort": 312,
-    "area": ["秀峰区", "叠彩区", "象山区", "七星区", "雁山区", "阳朔县", "临桂县", "灵川县", "全州县", "兴安县", "永福县", "灌阳县", "龙胜各族自治县", "资源县", "平乐县", "荔浦县", "恭城瑶族自治县"]
-  }, {
-    "CityID": 313,
-    "name": "梧州市",
-    "ProID": 21,
-    "CitySort": 313,
-    "area": ["万秀区", "碟山区", "长洲区", "苍梧县", "藤县", "蒙山县", "岑溪市"]
-  }, {
-    "CityID": 314,
-    "name": "贺州市",
-    "ProID": 21,
-    "CitySort": 314,
-    "area": ["八步区", "昭平县", "钟山县", "富川瑶族自治县"]
-  }, {
-    "CityID": 315,
-    "name": "贵港市",
-    "ProID": 21,
-    "CitySort": 315,
-    "area": ["港北区", "港南区", "覃塘区", "平南县", "桂平市"]
-  }, {
-    "CityID": 316,
-    "name": "玉林市",
-    "ProID": 21,
-    "CitySort": 316,
-    "area": ["玉州区", "容县", "陆川县", "博白县", "兴业县", "北流市"]
-  }, {
-    "CityID": 317,
-    "name": "百色市",
-    "ProID": 21,
-    "CitySort": 317,
-    "area": ["右江区", "田阳县", "田东县", "平果县", "德保县", "靖西县", "那坡县", "凌云县", "乐业县", "田林县", "西林县", "隆林各族自治县"]
-  }, {
-    "CityID": 318,
-    "name": "钦州市",
-    "ProID": 21,
-    "CitySort": 318,
-    "area": ["钦南区", "钦北区", "灵山县", "浦北县"]
-  }, {
-    "CityID": 319,
-    "name": "河池市",
-    "ProID": 21,
-    "CitySort": 319,
-    "area": ["金城江区", "南丹县", "天峨县", "凤山县", "东兰县", "罗城仫佬族自治县", "环江毛南族自治县", "巴马瑶族自治县", "都安瑶族自治县", "大化瑶族自治县", "宜州市"]
-  }, {
-    "CityID": 320,
-    "name": "北海市",
-    "ProID": 21,
-    "CitySort": 320,
-    "area": ["海城区", "银海区", "铁山港区", "合浦县"]
-  }]
-}, {
-  "ProID": 22,
-  "name": "甘肃省",
-  "ProSort": 21,
-  "ProRemark": "省份",
-  "city": [{
-    "CityID": 211,
-    "name": "兰州市",
-    "ProID": 22,
-    "CitySort": 211,
-    "area": ["城关区", "七里河区", "西固区", "安宁区", "红古区", "永登县", "皋兰县", "榆中县"]
-  }, {
-    "CityID": 212,
-    "name": "金昌市",
-    "ProID": 22,
-    "CitySort": 212,
-    "area": ["金川区", "永昌县"]
-  }, {
-    "CityID": 213,
-    "name": "白银市",
-    "ProID": 22,
-    "CitySort": 213,
-    "area": ["白银区", "平川区", "靖远县", "会宁县", "景泰县"]
-  }, {
-    "CityID": 214,
-    "name": "天水市",
-    "ProID": 22,
-    "CitySort": 214,
-    "area": ["秦州区", "麦积区", "清水县", "秦安县", "甘谷县", "武山县", "张家川回族自治县"]
-  }, {
-    "CityID": 215,
-    "name": "嘉峪关市",
-    "ProID": 22,
-    "CitySort": 215,
-    "area": ['其他']
-  }, {
-    "CityID": 216,
-    "name": "武威市",
-    "ProID": 22,
-    "CitySort": 216,
-    "area": ["凉州区", "民勤县", "古浪县", "天祝藏族自治县"]
-  }, {
-    "CityID": 217,
-    "name": "张掖市",
-    "ProID": 22,
-    "CitySort": 217,
-    "area": ["甘州区", "肃南裕固族自治县", "民乐县", "临泽县", "高台县", "山丹县"]
-  }, {
-    "CityID": 218,
-    "name": "平凉市",
-    "ProID": 22,
-    "CitySort": 218,
-    "area": ["崆峒区", "泾川县", "灵台县", "崇信县", "华亭县", "庄浪县", "静宁县"]
-  }, {
-    "CityID": 219,
-    "name": "酒泉市",
-    "ProID": 22,
-    "CitySort": 219,
-    "area": ["肃州区", "金塔县", "瓜州县", "肃北蒙古族自治县", "阿克塞哈萨克族自治县", "玉门市", "敦煌市"]
-  }, {
-    "CityID": 220,
-    "name": "庆阳市",
-    "ProID": 22,
-    "CitySort": 220,
-    "area": ["西峰区", "庆城县", "环县", "华池县", "合水县", "正宁县", "宁县", "镇原县"]
-  }, {
-    "CityID": 221,
-    "name": "定西市",
-    "ProID": 22,
-    "CitySort": 221,
-    "area": ["安定区", "通渭县", "陇西县", "渭源县", "临洮县", "漳县", "岷县"]
-  }, {
-    "CityID": 222,
-    "name": "陇南市",
-    "ProID": 22,
-    "CitySort": 222,
-    "area": ["武都区", "成县", "文县", "宕昌县", "康县", "西和县", "礼县", "徽县", "两当县"]
-  }, {
-    "CityID": 223,
-    "name": "临夏回族自治州",
-    "ProID": 22,
-    "CitySort": 223,
-    "area": ["临夏市", "临夏县", "康乐县", "永靖县", "广河县", "和政县", "东乡族自治县", "积石山保安族东乡族撒拉族自治县"]
-  }, {
-    "CityID": 224,
-    "name": "甘南藏族自治州",
-    "ProID": 22,
-    "CitySort": 224,
-    "area": ["合作市", "临潭县", "卓尼县", "舟曲县", "迭部县", "玛曲县", "碌曲县", "夏河县"]
-  }]
-}, {
-  "ProID": 23,
-  "name": "陕西省",
-  "ProSort": 27,
-  "ProRemark": "省份",
-  "city": [{
-    "CityID": 297,
-    "name": "西安市",
-    "ProID": 23,
-    "CitySort": 297,
-    "area": ["新城区", "碑林区", "莲湖区", "灞桥区", "未央区", "雁塔区", "阎良区", "临潼区", "长安区", "蓝田县", "周至县", "户县", "高陵县"]
-  }, {
-    "CityID": 298,
-    "name": "咸阳市",
-    "ProID": 23,
-    "CitySort": 298,
-    "area": ["秦都区", "杨陵区", "渭城区", "三原县", "泾阳县", "乾县", "礼泉县", "永寿县", "彬县", "长武县", "旬邑县", "淳化县", "武功县", "兴平市"]
-  }, {
-    "CityID": 299,
-    "name": "延安市",
-    "ProID": 23,
-    "CitySort": 299,
-    "area": ["宝塔区", "延长县", "延川县", "子长县", "安塞县", "志丹县", "吴起县", "甘泉县", "富县", "洛川县", "宜川县", "黄龙县", "黄陵县"]
-  }, {
-    "CityID": 300,
-    "name": "榆林市",
-    "ProID": 23,
-    "CitySort": 300,
-    "area": ["榆阳区", "神木县", "府谷县", "横山县", "靖边县", "定边县", "绥德县", "米脂县", "佳县", "吴堡县", "清涧县", "子洲县"]
-  }, {
-    "CityID": 301,
-    "name": "渭南市",
-    "ProID": 23,
-    "CitySort": 301,
-    "area": ["临渭区", "华县", "潼关县", "大荔县", "合阳县", "澄城县", "蒲城县", "白水县", "富平县", "韩城市", "华阴市"]
-  }, {
-    "CityID": 302,
-    "name": "商洛市",
-    "ProID": 23,
-    "CitySort": 302,
-    "area": ["商州区", "洛南县", "丹凤县", "商南县", "山阳县", "镇安县", "柞水县"]
-  }, {
-    "CityID": 303,
-    "name": "安康市",
-    "ProID": 23,
-    "CitySort": 303,
-    "area": ["汉滨区", "汉阴县", "石泉县", "宁陕县", "紫阳县", "岚皋县", "平利县", "镇坪县", "旬阳县", "白河县"]
-  }, {
-    "CityID": 304,
-    "name": "汉中市",
-    "ProID": 23,
-    "CitySort": 304,
-    "area": ["汉台区", "南郑县", "城固县", "洋县", "西乡县", "勉县", "宁强县", "略阳县", "镇巴县", "留坝县", "佛坪县"]
-  }, {
-    "CityID": 305,
-    "name": "宝鸡市",
-    "ProID": 23,
-    "CitySort": 305,
-    "area": ["渭滨区", "金台区", "陈仓区", "凤翔县", "岐山县", "扶风县", "眉县", "陇县", "千阳县", "麟游县", "凤县", "太白县"]
-  }, {
-    "CityID": 306,
-    "name": "铜川市",
-    "ProID": 23,
-    "CitySort": 306,
-    "area": ["王益区", "印台区", "耀州区", "宜君县"]
-  }]
-}, {
-  "ProID": 24,
-  "name": "新疆维吾尔自治区",
-  "ProSort": 31,
-  "ProRemark": "自治区",
-  "city": [{
-    "CityID": 333,
-    "name": "塔城地区",
-    "ProID": 24,
-    "CitySort": 333,
-    "area": ["塔城市", "乌苏市", "额敏县", "沙湾县", "托里县", "裕民县", "和布克赛尔蒙古自治县"]
-  }, {
-    "CityID": 334,
-    "name": "哈密地区",
-    "ProID": 24,
-    "CitySort": 334,
-    "area": ["哈密市", "巴里坤哈萨克自治县", "伊吾县"]
-  }, {
-    "CityID": 335,
-    "name": "和田地区",
-    "ProID": 24,
-    "CitySort": 335,
-    "area": ["和田市", "和田县", "墨玉县", "皮山县", "洛浦县", "策勒县", "于田县", "民丰县"]
-  }, {
-    "CityID": 336,
-    "name": "阿勒泰地区",
-    "ProID": 24,
-    "CitySort": 336,
-    "area": ["阿勒泰市", "布尔津县", "富蕴县", "福海县", "哈巴河县", "青河县", "吉木乃县"]
-  }, {
-    "CityID": 337,
-    "name": "克孜勒苏柯尔克孜自治州",
-    "ProID": 24,
-    "CitySort": 337,
-    "area": ["阿图什市", "阿克陶县", "阿合奇县", "乌恰县"]
-  }, {
-    "CityID": 338,
-    "name": "博尔塔拉蒙古自治州",
-    "ProID": 24,
-    "CitySort": 338,
-    "area": ["博乐市", "精河县", "温泉县"]
-  }, {
-    "CityID": 339,
-    "name": "克拉玛依市",
-    "ProID": 24,
-    "CitySort": 339,
-    "area": ["独山子区", "克拉玛依区", "白碱滩区", "乌尔禾区"]
-  }, {
-    "CityID": 340,
-    "name": "乌鲁木齐市",
-    "ProID": 24,
-    "CitySort": 340,
-    "area": ["天山区", "沙依巴克区", "新市区", "水磨沟区", "头屯河区", "达坂城区", "米东区", "乌鲁木齐县"]
-  }, {
-    "CityID": 341,
-    "name": "石河子市",
-    "ProID": 24,
-    "CitySort": 341,
-    "area": ['其他']
-  }, {
-    "CityID": 342,
-    "name": "昌吉回族自治州",
-    "ProID": 24,
-    "CitySort": 342,
-    "area": ["昌吉市", "阜康市", "呼图壁县", "玛纳斯县", "奇台县", "吉木萨尔县", "木垒哈萨克自治县"]
-  }, {
-    "CityID": 343,
-    "name": "五家渠市",
-    "ProID": 24,
-    "CitySort": 343,
-    "area": ['其他']
-  }, {
-    "CityID": 344,
-    "name": "吐鲁番市",
-    "ProID": 24,
-    "CitySort": 344,
-    "area": ["吐鲁番市", "鄯善县", "托克逊县"]
-  }, {
-    "CityID": 345,
-    "name": "巴音郭楞蒙古自治州",
-    "ProID": 24,
-    "CitySort": 345,
-    "area": ["库尔勒市", "轮台县", "尉犁县", "若羌县", "且末县", "焉耆回族自治县", "和静县", "和硕县", "博湖县"]
-  }, {
-    "CityID": 346,
-    "name": "阿克苏地区",
-    "ProID": 24,
-    "CitySort": 346,
-    "area": ["阿克苏市", "温宿县", "库车县", "沙雅县", "新和县", "拜城县", "乌什县", "阿瓦提县", "柯坪县"]
-  }, {
-    "CityID": 347,
-    "name": "阿拉尔市",
-    "ProID": 24,
-    "CitySort": 347,
-    "area": ['其他']
-  }, {
-    "CityID": 348,
-    "name": "喀什地区",
-    "ProID": 24,
-    "CitySort": 348,
-    "area": ["喀什市", "疏附县", "疏勒县", "英吉沙县", "泽普县", "莎车县", "叶城县", "麦盖提县", "岳普湖县", "伽师县", "巴楚县", "塔什库尔干塔吉克自治县"]
-  }, {
-    "CityID": 349,
-    "name": "图木舒克市",
-    "ProID": 24,
-    "CitySort": 349,
-    "area": ['其他']
-  }, {
-    "CityID": 350,
-    "name": "伊犁哈萨克自治州",
-    "ProID": 24,
-    "CitySort": 350,
-    "area": ["伊宁市", "奎屯市", "伊宁县", "察布查尔锡伯自治县", "霍城县", "巩留县", "新源县", "昭苏县", "特克斯县", "尼勒克县"]
-  }]
-}, {
-  "ProID": 25,
-  "name": "青海省",
-  "ProSort": 26,
-  "ProRemark": "省份",
-  "city": [{
-    "CityID": 289,
-    "name": "海北藏族自治州",
-    "ProID": 25,
-    "CitySort": 289,
-    "area": ["门源回族自治县", "祁连县", "海晏县", "刚察县"]
-  }, {
-    "CityID": 290,
-    "name": "西宁市",
-    "ProID": 25,
-    "CitySort": 290,
-    "area": ["城东区", "城中区", "城西区", "城北区", "大通回族土族自治县", "湟中县", "湟源县"]
-  }, {
-    "CityID": 291,
-    "name": "海东市",
-    "ProID": 25,
-    "CitySort": 291,
-    "area": ["平安县", "民和回族土族自治县", "乐都县", "互助土族自治县", "化隆回族自治县", "循化撒拉族自治县"]
-  }, {
-    "CityID": 292,
-    "name": "黄南藏族自治州",
-    "ProID": 25,
-    "CitySort": 292,
-    "area": ["同仁县", "尖扎县", "泽库县", "河南蒙古族自治县"]
-  }, {
-    "CityID": 293,
-    "name": "海南藏族自治州",
-    "ProID": 25,
-    "CitySort": 293,
-    "area": ["共和县", "同德县", "贵德县", "兴海县", "贵南县"]
-  }, {
-    "CityID": 294,
-    "name": "果洛藏族自治州",
-    "ProID": 25,
-    "CitySort": 294,
-    "area": ["玛沁县", "班玛县", "甘德县", "达日县", "久治县", "玛多县"]
-  }, {
-    "CityID": 295,
-    "name": "玉树藏族自治州",
-    "ProID": 25,
-    "CitySort": 295,
-    "area": ["玉树县", "杂多县", "称多县", "治多县", "囊谦县", "曲麻莱县"]
-  }, {
-    "CityID": 296,
-    "name": "海西蒙古族藏族自治州",
-    "ProID": 25,
-    "CitySort": 296,
-    "area": ["格尔木市", "德令哈市", "乌兰县", "都兰县", "天峻县"]
-  }]
-}, {
-  "ProID": 26,
-  "name": "宁夏回族自治区",
-  "ProSort": 30,
-  "ProRemark": "自治区",
-  "city": [{
-    "CityID": 328,
-    "name": "银川市",
-    "ProID": 26,
-    "CitySort": 328,
-    "area": ["兴庆区", "西夏区", "金凤区", "永宁县", "贺兰县", "灵武市"]
-  }, {
-    "CityID": 329,
-    "name": "石嘴山市",
-    "ProID": 26,
-    "CitySort": 329,
-    "area": ["大武口区", "惠农区", "平罗县"]
-  }, {
-    "CityID": 330,
-    "name": "吴忠市",
-    "ProID": 26,
-    "CitySort": 330,
-    "area": ["利通区", "盐池县", "同心县", "青铜峡市"]
-  }, {
-    "CityID": 331,
-    "name": "固原市",
-    "ProID": 26,
-    "CitySort": 331,
-    "area": ["原州区", "西吉县", "隆德县", "泾源县", "彭阳县"]
-  }, {
-    "CityID": 332,
-    "name": "中卫市",
-    "ProID": 26,
-    "CitySort": 332,
-    "area": ["沙坡头区", "中宁县", "海原县"]
-  }]
-}, {
-  "ProID": 27,
-  "name": "重庆市",
-  "ProSort": 4,
-  "ProRemark": "直辖市",
-  "city": [{
-    "CityID": 4,
-    "name": "重庆市",
-    "ProID": 27,
-    "CitySort": 4,
-    "area": ["万州区", "涪陵区", "渝中区", "大渡口区", "江北区", "沙坪坝区", "九龙坡区", "南岸区", "北碚区", "万盛区", "双桥区", "渝北区", "巴南区", "黔江区", "长寿区", "江津区", "合川区", "永川区", "南川区", "綦江县", "潼南县", "铜梁县", "大足县", "荣昌县", "璧山县", "梁平县", "城口县", "丰都县", "垫江县", "武隆县", "忠县", "开县", "云阳县", "奉节县", "巫山县", "巫溪县", "石柱土家族自治县", "秀山土家族苗族自治县", "酉阳土家族苗族自治县", "彭水苗族土家族自治县"]
-  }]
-}, {
-  "ProID": 28,
-  "name": "四川省",
-  "ProSort": 22,
-  "ProRemark": "省份",
-  "city": [{
-    "CityID": 225,
-    "name": "成都市",
-    "ProID": 28,
-    "CitySort": 225,
-    "area": ["锦江区", "青羊区", "金牛区", "武侯区", "成华区", "龙泉驿区", "青白江区", "新都区", "温江区", "金堂县", "双流县", "郫县", "大邑县", "蒲江县", "新津县", "都江堰市", "彭州市", "邛崃市", "崇州市"]
-  }, {
-    "CityID": 226,
-    "name": "攀枝花市",
-    "ProID": 28,
-    "CitySort": 226,
-    "area": ["东区", "西区", "仁和区", "米易县", "盐边县"]
-  }, {
-    "CityID": 227,
-    "name": "自贡市",
-    "ProID": 28,
-    "CitySort": 227,
-    "area": ["自流井区", "贡井区", "大安区", "沿滩区", "荣县", "富顺县"]
-  }, {
-    "CityID": 228,
-    "name": "绵阳市",
-    "ProID": 28,
-    "CitySort": 228,
-    "area": ["涪城区", "游仙区", "三台县", "盐亭县", "安县", "梓潼县", "北川羌族自治县", "平武县", "江油市"]
-  }, {
-    "CityID": 229,
-    "name": "南充市",
-    "ProID": 28,
-    "CitySort": 229,
-    "area": ["顺庆区", "高坪区", "嘉陵区", "南部县", "营山县", "蓬安县", "仪陇县", "西充县", "阆中市"]
-  }, {
-    "CityID": 230,
-    "name": "达州市",
-    "ProID": 28,
-    "CitySort": 230,
-    "area": ["通川区", "达县", "宣汉县", "开江县", "大竹县", "渠县", "万源市"]
-  }, {
-    "CityID": 231,
-    "name": "遂宁市",
-    "ProID": 28,
-    "CitySort": 231,
-    "area": ["船山区", "安居区", "蓬溪县", "射洪县", "大英县"]
-  }, {
-    "CityID": 232,
-    "name": "广安市",
-    "ProID": 28,
-    "CitySort": 232,
-    "area": ["广安区", "岳池县", "武胜县", "邻水县", "华蓥市"]
-  }, {
-    "CityID": 233,
-    "name": "巴中市",
-    "ProID": 28,
-    "CitySort": 233,
-    "area": ["巴州区", "通江县", "南江县", "平昌县"]
-  }, {
-    "CityID": 234,
-    "name": "泸州市",
-    "ProID": 28,
-    "CitySort": 234,
-    "area": ["江阳区", "纳溪区", "龙马潭区", "泸县", "合江县", "叙永县", "古蔺县"]
-  }, {
-    "CityID": 235,
-    "name": "宜宾市",
-    "ProID": 28,
-    "CitySort": 235,
-    "area": ["翠屏区", "宜宾县", "南溪县", "江安县", "长宁县", "高县", "珙县", "筠连县", "兴文县", "屏山县"]
-  }, {
-    "CityID": 236,
-    "name": "资阳市",
-    "ProID": 28,
-    "CitySort": 236,
-    "area": ["雁江区", "安岳县", "乐至县", "简阳市"]
-  }, {
-    "CityID": 237,
-    "name": "内江市",
-    "ProID": 28,
-    "CitySort": 237,
-    "area": ["市中区", "东兴区", "威远县", "资中县", "隆昌县"]
-  }, {
-    "CityID": 238,
-    "name": "乐山市",
-    "ProID": 28,
-    "CitySort": 238,
-    "area": ["市中区", "沙湾区", "五通桥区", "金口河区", "犍为县", "井研县", "夹江县", "沐川县", "峨边彝族自治县", "马边彝族自治县", "峨眉山市"]
-  }, {
-    "CityID": 239,
-    "name": "眉山市",
-    "ProID": 28,
-    "CitySort": 239,
-    "area": ["东坡区", "仁寿县", "彭山县", "洪雅县", "丹棱县", "青神县"]
-  }, {
-    "CityID": 240,
-    "name": "凉山彝族自治州",
-    "ProID": 28,
-    "CitySort": 240,
-    "area": ["西昌市", "木里藏族自治县", "盐源县", "德昌县", "会理县", "会东县", "宁南县", "普格县", "布拖县", "金阳县", "昭觉县", "喜德县", "冕宁县", "越西县", "甘洛县", "美姑县", "雷波县"]
-  }, {
-    "CityID": 241,
-    "name": "雅安市",
-    "ProID": 28,
-    "CitySort": 241,
-    "area": ["雨城区", "名山县", "荥经县", "汉源县", "石棉县", "天全县", "芦山县", "宝兴县"]
-  }, {
-    "CityID": 242,
-    "name": "甘孜藏族自治州",
-    "ProID": 28,
-    "CitySort": 242,
-    "area": ["康定县", "泸定县", "丹巴县", "九龙县", "雅江县", "道孚县", "炉霍县", "甘孜县", "新龙县", "德格县", "白玉县", "石渠县", "色达县", "理塘县", "巴塘县", "乡城县", "稻城县", "得荣县"]
-  }, {
-    "CityID": 243,
-    "name": "阿坝藏族羌族自治州",
-    "ProID": 28,
-    "CitySort": 243,
-    "area": ["汶川县", "理县", "茂县", "松潘县", "九寨沟县", "金川县", "小金县", "黑水县", "马尔康县", "壤塘县", "阿坝县", "若尔盖县", "红原县"]
-  }, {
-    "CityID": 244,
-    "name": "德阳市",
-    "ProID": 28,
-    "CitySort": 244,
-    "area": ["旌阳区", "中江县", "罗江县", "广汉市", "什邡市", "绵竹市"]
-  }, {
-    "CityID": 245,
-    "name": "广元市",
-    "ProID": 28,
-    "CitySort": 245,
-    "area": ["市中区", "元坝区", "朝天区", "旺苍县", "青川县", "剑阁县", "苍溪县"]
-  }]
-}, {
-  "ProID": 29,
-  "name": "贵州省",
-  "ProSort": 23,
-  "ProRemark": "省份",
-  "city": [{
-    "CityID": 246,
-    "name": "贵阳市",
-    "ProID": 29,
-    "CitySort": 246,
-    "area": ["南明区", "云岩区", "花溪区", "乌当区", "白云区", "小河区", "开阳县", "息烽县", "修文县", "清镇市"]
-  }, {
-    "CityID": 247,
-    "name": "遵义市",
-    "ProID": 29,
-    "CitySort": 247,
-    "area": ["红花岗区", "汇川区", "遵义县", "桐梓县", "绥阳县", "正安县", "道真仡佬族苗族自治县", "务川仡佬族苗族自治县", "凤冈县", "湄潭县", "余庆县", "习水县", "赤水市", "仁怀市"]
-  }, {
-    "CityID": 248,
-    "name": "安顺市",
-    "ProID": 29,
-    "CitySort": 248,
-    "area": ["西秀区", "平坝县", "普定县", "镇宁布依族苗族自治县", "关岭布依族苗族自治县", "紫云苗族布依族自治县"]
-  }, {
-    "CityID": 249,
-    "name": "黔南布依族苗族自治州",
-    "ProID": 29,
-    "CitySort": 249,
-    "area": ["都匀市", "福泉市", "荔波县", "贵定县", "瓮安县", "独山县", "平塘县", "罗甸县", "长顺县", "龙里县", "惠水县", "三都水族自治县"]
-  }, {
-    "CityID": 250,
-    "name": "黔东南苗族侗族自治州",
-    "ProID": 29,
-    "CitySort": 250,
-    "area": ["凯里市", "黄平县", "施秉县", "三穗县", "镇远县", "岑巩县", "天柱县", "锦屏县", "剑河县", "台江县", "黎平县", "榕江县", "从江县", "雷山县", "麻江县", "丹寨县"]
-  }, {
-    "CityID": 251,
-    "name": "铜仁市",
-    "ProID": 29,
-    "CitySort": 251,
-    "area": ["铜仁市", "江口县", "玉屏侗族自治县", "石阡县", "思南县", "印江土家族苗族自治县", "德江县", "沿河土家族自治县", "松桃苗族自治县", "万山特区"]
-  }, {
-    "CityID": 252,
-    "name": "毕节市",
-    "ProID": 29,
-    "CitySort": 252,
-    "area": ["毕节市", "大方县", "黔西县", "金沙县", "织金县", "纳雍县", "威宁彝族回族苗族自治县", "赫章县"]
-  }, {
-    "CityID": 253,
-    "name": "六盘水市",
-    "ProID": 29,
-    "CitySort": 253,
-    "area": ["钟山区", "六枝特区", "水城县", "盘县"]
-  }, {
-    "CityID": 254,
-    "name": "黔西南布依族苗族自治州",
-    "ProID": 29,
-    "CitySort": 254,
-    "area": ["兴义市", "兴仁县", "普安县", "晴隆县", "贞丰县", "望谟县", "册亨县", "安龙县"]
-  }]
-}, {
-  "ProID": 30,
-  "name": "云南省",
-  "ProSort": 25,
-  "ProRemark": "省份",
-  "city": [{
-    "CityID": 273,
-    "name": "西双版纳傣族自治州",
-    "ProID": 30,
-    "CitySort": 273,
-    "area": ["景洪市", "勐海县", "勐腊县"]
-  }, {
-    "CityID": 274,
-    "name": "德宏傣族景颇族自治州",
-    "ProID": 30,
-    "CitySort": 274,
-    "area": ["瑞丽市", "潞西市", "梁河县", "盈江县", "陇川县"]
-  }, {
-    "CityID": 275,
-    "name": "昭通市",
-    "ProID": 30,
-    "CitySort": 275,
-    "area": ["昭阳区", "鲁甸县", "巧家县", "盐津县", "大关县", "永善县", "绥江县", "镇雄县", "彝良县", "威信县", "水富县"]
-  }, {
-    "CityID": 276,
-    "name": "昆明市",
-    "ProID": 30,
-    "CitySort": 276,
-    "area": ["五华区", "盘龙区", "官渡区", "西山区", "东川区", "呈贡县", "晋宁县", "富民县", "宜良县", "石林彝族自治县", "嵩明县", "禄劝彝族苗族自治县", "寻甸回族彝族自治县", "安宁市"]
-  }, {
-    "CityID": 277,
-    "name": "大理白族自治州",
-    "ProID": 30,
-    "CitySort": 277,
-    "area": ["大理市", "漾濞彝族自治县", "祥云县", "宾川县", "弥渡县", "南涧彝族自治县", "巍山彝族回族自治县", "永平县", "云龙县", "洱源县", "剑川县", "鹤庆县"]
-  }, {
-    "CityID": 278,
-    "name": "红河哈尼族彝族自治州",
-    "ProID": 30,
-    "CitySort": 278,
-    "area": ["个旧市", "开远市", "蒙自县", "屏边苗族自治县", "建水县", "石屏县", "弥勒县", "泸西县", "元阳县", "红河县", "金平苗族瑶族傣族自治县", "绿春县", "河口瑶族自治县"]
-  }, {
-    "CityID": 279,
-    "name": "曲靖市",
-    "ProID": 30,
-    "CitySort": 279,
-    "area": ["麒麟区", "马龙县", "陆良县", "师宗县", "罗平县", "富源县", "会泽县", "沾益县", "宣威市"]
-  }, {
-    "CityID": 280,
-    "name": "保山市",
-    "ProID": 30,
-    "CitySort": 280,
-    "area": ["隆阳区", "施甸县", "腾冲县", "龙陵县", "昌宁县"]
-  }, {
-    "CityID": 281,
-    "name": "文山壮族苗族自治州",
-    "ProID": 30,
-    "CitySort": 281,
-    "area": ["文山县", "砚山县", "西畴县", "麻栗坡县", "马关县", "丘北县", "广南县", "富宁县"]
-  }, {
-    "CityID": 282,
-    "name": "玉溪市",
-    "ProID": 30,
-    "CitySort": 282,
-    "area": ["红塔区", "江川县", "澄江县", "通海县", "华宁县", "易门县", "峨山彝族自治县", "新平彝族傣族自治县", "元江哈尼族彝族傣族自治县"]
-  }, {
-    "CityID": 283,
-    "name": "楚雄彝族自治州",
-    "ProID": 30,
-    "CitySort": 283,
-    "area": ["楚雄市", "双柏县", "牟定县", "南华县", "姚安县", "大姚县", "永仁县", "元谋县", "武定县", "禄丰县"]
-  }, {
-    "CityID": 284,
-    "name": "普洱市",
-    "ProID": 30,
-    "CitySort": 284,
-    "area": ["思茅区", "宁洱哈尼族彝族自治县", "墨江哈尼族自治县", "景东彝族自治县", "景谷傣族彝族自治县", "镇沅彝族哈尼族拉祜族自治县", "江城哈尼族彝族自治县", "孟连傣族拉祜族佤族自治县", "澜沧拉祜族自治县", "西盟佤族自治县"]
-  }, {
-    "CityID": 285,
-    "name": "临沧市",
-    "ProID": 30,
-    "CitySort": 285,
-    "area": ["临翔区", "凤庆县", "云县", "永德县", "镇康县", "双江拉祜族佤族布朗族傣族自治县", "耿马傣族佤族自治县", "沧源佤族自治县"]
-  }, {
-    "CityID": 286,
-    "name": "怒江傈傈族自治州",
-    "ProID": 30,
-    "CitySort": 286,
-    "area": ["泸水县", "福贡县", "贡山独龙族怒族自治县", "兰坪白族普米族自治县"]
-  }, {
-    "CityID": 287,
-    "name": "迪庆藏族自治州",
-    "ProID": 30,
-    "CitySort": 287,
-    "area": ["香格里拉县", "德钦县", "维西傈僳族自治县"]
-  }, {
-    "CityID": 288,
-    "name": "丽江市",
-    "ProID": 30,
-    "CitySort": 288,
-    "area": ["古城区", "玉龙纳西族自治县", "永胜县", "华坪县", "宁蒗彝族自治县"]
-  }]
-}, {
-  "ProID": 31,
-  "name": "西藏自治区",
-  "ProSort": 29,
-  "ProRemark": "自治区",
-  "city": [{
-    "CityID": 321,
-    "name": "拉萨市",
-    "ProID": 31,
-    "CitySort": 321,
-    "area": ["城关区", "林周县", "当雄县", "尼木县", "曲水县", "堆龙德庆县", "达孜县", "墨竹工卡县"]
-  }, {
-    "CityID": 322,
-    "name": "日喀则市",
-    "ProID": 31,
-    "CitySort": 322,
-    "area": ["日喀则市", "南木林县", "江孜县", "定日县", "萨迦县", "拉孜县", "昂仁县", "谢通门县", "白朗县", "仁布县", "康马县", "定结县", "仲巴县", "亚东县", "吉隆县", "聂拉木县", "萨嘎县", "岗巴县"]
-  }, {
-    "CityID": 323,
-    "name": "山南市",
-    "ProID": 31,
-    "CitySort": 323,
-    "area": ["乃东县", "扎囊县", "贡嘎县", "桑日县", "琼结县", "曲松县", "措美县", "洛扎县", "加查县", "隆子县", "错那县", "浪卡子县"]
-  }, {
-    "CityID": 324,
-    "name": "林芝市",
-    "ProID": 31,
-    "CitySort": 324,
-    "area": ["林芝县", "工布江达县", "米林县", "墨脱县", "波密县", "察隅县", "朗县"]
-  }, {
-    "CityID": 325,
-    "name": "昌都市",
-    "ProID": 31,
-    "CitySort": 325,
-    "area": ["昌都县", "江达县", "贡觉县", "类乌齐县", "丁青县", "察雅县", "八宿县", "左贡县", "芒康县", "洛隆县", "边坝县"]
-  }, {
-    "CityID": 326,
-    "name": "那曲地区",
-    "ProID": 31,
-    "CitySort": 326,
-    "area": ["那曲县", "嘉黎县", "比如县", "聂荣县", "安多县", "申扎县", "索县", "班戈县", "巴青县", "尼玛县"]
-  }, {
-    "CityID": 327,
-    "name": "阿里地区",
-    "ProID": 31,
-    "CitySort": 327,
-    "area": ["普兰县", "札达县", "噶尔县", "日土县", "革吉县", "改则县", "措勤县"]
-  }]
-}, {
-  "ProID": 32,
-  "name": "台湾省",
-  "ProSort": 7,
-  "ProRemark": "省份",
-  "city": [{
-    "CityID": 327,
-    "name": "台湾",
-    "ProID": 31,
-    "CitySort": 327,
-    "area": ["台北市","高雄市","台北县","桃园县","新竹县","苗栗县","台中县","彰化县","南投县","云林县","嘉义县","台南县","高雄县","屏东县","宜兰县","花莲县","台东县","澎湖县","基隆市","新竹市","台中市","嘉义市","台南市","其他"]
-  }]
-}, {
-  "ProID": 33,
-  "name": "澳门特别行政区",
-  "ProSort": 33,
-  "ProRemark": "特别行政区",
-  "city": [{
-    "CityID": 370,
-    "name": "澳门",
-    "ProID": 33,
-    "CitySort": 370,
-    "area": ["花地玛堂区","圣安多尼堂区","大堂区","望德堂区","风顺堂区","嘉模堂区","圣方济各堂区","路凼","其他"]
-  }]
-}, {
-  "ProID": 34,
-  "name": "香港特别行政区",
-  "ProSort": 34,
-  "ProRemark": "特别行政区",
-  "city": [{
-    "CityID": 371,
-    "name": "香港",
-    "ProID": 34,
-    "CitySort": 371,
-    "area": ["中西区","湾仔区","东区","南区","深水埗区","油尖旺区","九龙城区","黄大仙区","观塘区","北区","大埔区","沙田区","西贡区","元朗区","屯门区","荃湾区","葵青区","离岛区","其他"]
-  },]
-},{
-  "ProID": 35,
-  "name": "钓鱼岛",
-  "ProSort": 35,
-  "ProRemark": "特别行政区",
-  "city": [{
-    "CityID": 372,
-    "name": "钓鱼岛",
-    "ProID": 35,
-    "CitySort": 372,
-    "area": ["钓鱼岛"]
-  },]
-},{
-  "ProID": 36,
-  "name": " 海外",
-  "ProSort": 35,
-  "ProRemark": "特别行政区",
-  "city": [{
-    "CityID": 372,
-    "name": "海外",
-    "ProID": 35,
-    "CitySort": 372,
-    "area": ['美国','加拿大','澳大利亚','新西兰','英国','法国','德国','捷克','荷兰','瑞士','希腊','挪威','瑞典','丹麦','芬兰','爱尔兰','奥地利','意大利','乌克兰','俄罗斯','西班牙','韩国','新加坡','马来西亚','印度','泰国','日本','巴西','阿根廷','南非','埃及','其他']
-  },]
-}]

ファイルの差分が大きいため隠しています
+ 0 - 1
ios/JianYuIOS/JianYuIOS/local/mobiscroll.min.css


ファイルの差分が大きいため隠しています
+ 0 - 0
ios/JianYuIOS/JianYuIOS/local/mobiscroll.min.js


ファイルの差分が大きいため隠しています
+ 0 - 1
ios/JianYuIOS/JianYuIOS/local/moment.min.js


+ 0 - 19
ios/JianYuIOS/JianYuIOS/local/rem.js

@@ -1,19 +0,0 @@
-(function(doc, win) {
-	var docEl = doc.documentElement,
-		resizeEvt = 'orientationchange' in window ? 'orientationchange' : 'resize',
-		recalc = function() {
-			var fontSize = RootNodeFontSize();
-			if(fontSize == 0) return;
-			docEl.style.fontSize = fontSize + 'px';
-		};
-	if(!doc.addEventListener) return;
-	win.addEventListener(resizeEvt, recalc, false);
-	doc.addEventListener('DOMContentLoaded', recalc, false);
-})(document, window);
-//获取根节点的font-size
-function RootNodeFontSize(){
-	var clientWidth = document.documentElement.clientWidth;
-	if(!clientWidth) return 0;
-	if(clientWidth > 750) clientWidth = 750;
-	return clientWidth / 7.5;
-}

BIN
ios/JianYuIOS/JianYuIOS/local/sprite-about.png


BIN
ios/JianYuIOS/JianYuIOS/local/sprite.png


ファイルの差分が大きいため隠しています
+ 0 - 12
ios/JianYuIOS/JianYuIOS/local/swiper.min.css


ファイルの差分が大きいため隠しています
+ 0 - 12
ios/JianYuIOS/JianYuIOS/local/swiper.min.js


ファイルの差分が大きいため隠しています
+ 0 - 1
ios/JianYuIOS/JianYuIOS/local/template-web.js


BIN
ios/JianYuIOS/JianYuIOS/local/treasure_box_bg.jpg


ファイルの差分が大きいため隠しています
+ 0 - 1
ios/JianYuIOS/JianYuIOS/local/vant.min.js


ファイルの差分が大きいため隠しています
+ 0 - 5
ios/JianYuIOS/JianYuIOS/local/vue-router.min.js


ファイルの差分が大きいため隠しています
+ 0 - 5
ios/JianYuIOS/JianYuIOS/local/vue.min.js


ファイルの差分が大きいため隠しています
+ 0 - 5
ios/JianYuIOS/JianYuIOS/local/vuex.min.js


ファイルの差分が大きいため隠しています
+ 0 - 4
ios/JianYuIOS/JianYuIOS/local/weui.min.css


ファイルの差分が大きいため隠しています
+ 0 - 5
ios/JianYuIOS/JianYuIOS/local/weui.min.js


+ 12 - 0
ios/JianYuIOS/JianYuIOS/剑鱼标讯Debug.entitlements

@@ -8,5 +8,17 @@
 	<array>
 		<string>applinks:www.jianyu360.com</string>
 	</array>
+	<key>com.apple.developer.icloud-container-identifiers</key>
+	<array>
+		<string>iCloud.topnet.com</string>
+	</array>
+	<key>com.apple.developer.icloud-services</key>
+	<array>
+		<string>CloudDocuments</string>
+	</array>
+	<key>com.apple.developer.ubiquity-container-identifiers</key>
+	<array>
+		<string>iCloud.topnet.com</string>
+	</array>
 </dict>
 </plist>

+ 1 - 1
ios/JianYuIOS/Podfile

@@ -9,7 +9,7 @@ pod 'UMengUShare/Social/ReducedQQ'
 pod 'FMDB'
 pod 'WechatOpenSDK'
 pod 'SDWebImage'
-
+pod 'iCloudDocumentSync'
 pod 'WBCloudReflectionFaceVerify_framework', :path => './WBCloudReflectionFaceVerify_framework'
 pod 'WBOCRService',:path => './OCR_private_pod' # 引入 OCR SDK
 

+ 5 - 1
ios/JianYuIOS/Podfile.lock

@@ -17,6 +17,7 @@ PODS:
   - FMDB (2.7.2):
     - FMDB/standard (= 2.7.2)
   - FMDB/standard (2.7.2)
+  - iCloudDocumentSync (7.4.1)
   - JCore (1.1.7)
   - JPush (3.0.8):
     - JCore (~> 1.1.7)
@@ -42,6 +43,7 @@ PODS:
 DEPENDENCIES:
   - AFNetworking
   - FMDB
+  - iCloudDocumentSync
   - JPush
   - MBProgressHUD
   - SDWebImage
@@ -62,6 +64,7 @@ SPEC REPOS:
     - UMengUShare
     - WechatOpenSDK
   trunk:
+    - iCloudDocumentSync
     - SDWebImage
 
 EXTERNAL SOURCES:
@@ -73,6 +76,7 @@ EXTERNAL SOURCES:
 SPEC CHECKSUMS:
   AFNetworking: 5e0e199f73d8626b11e79750991f5d173d1f8b67
   FMDB: 6198a90e7b6900cfc046e6bc0ef6ebb7be9236aa
+  iCloudDocumentSync: 961aac30ca09c221de4c236e94dae69912f2c589
   JCore: f7459c81c135281a874a6beafdd321666adcc834
   JPush: 9574d072cc37e93fa293ba69b43ce763c440943a
   MBProgressHUD: e7baa36a220447d8aeb12769bf0585582f3866d9
@@ -82,6 +86,6 @@ SPEC CHECKSUMS:
   WBOCRService: 9c6b112d975e79aea9f2684681a72b84d7e0242a
   WechatOpenSDK: 676feec516a11173eafd1fe64b10d27babf28701
 
-PODFILE CHECKSUM: ec35b53bd6b234ef03976f51697c19693aa2b16b
+PODFILE CHECKSUM: 6b9f31fabfa4605a3cfe271076abad7e5d327f7f
 
 COCOAPODS: 1.9.1

+ 1 - 0
ios/JianYuIOS/Pods/Headers/Private/iCloudDocumentSync/iCloud.h

@@ -0,0 +1 @@
+../../../iCloudDocumentSync/iCloud/iCloud.h

+ 1 - 0
ios/JianYuIOS/Pods/Headers/Private/iCloudDocumentSync/iCloudDocument.h

@@ -0,0 +1 @@
+../../../iCloudDocumentSync/iCloud/iCloudDocument.h

+ 1 - 0
ios/JianYuIOS/Pods/Headers/Public/iCloudDocumentSync/iCloud.h

@@ -0,0 +1 @@
+../../../iCloudDocumentSync/iCloud/iCloud.h

+ 1 - 0
ios/JianYuIOS/Pods/Headers/Public/iCloudDocumentSync/iCloudDocument.h

@@ -0,0 +1 @@
+../../../iCloudDocumentSync/iCloud/iCloudDocument.h

+ 5 - 1
ios/JianYuIOS/Pods/Manifest.lock

@@ -17,6 +17,7 @@ PODS:
   - FMDB (2.7.2):
     - FMDB/standard (= 2.7.2)
   - FMDB/standard (2.7.2)
+  - iCloudDocumentSync (7.4.1)
   - JCore (1.1.7)
   - JPush (3.0.8):
     - JCore (~> 1.1.7)
@@ -42,6 +43,7 @@ PODS:
 DEPENDENCIES:
   - AFNetworking
   - FMDB
+  - iCloudDocumentSync
   - JPush
   - MBProgressHUD
   - SDWebImage
@@ -62,6 +64,7 @@ SPEC REPOS:
     - UMengUShare
     - WechatOpenSDK
   trunk:
+    - iCloudDocumentSync
     - SDWebImage
 
 EXTERNAL SOURCES:
@@ -73,6 +76,7 @@ EXTERNAL SOURCES:
 SPEC CHECKSUMS:
   AFNetworking: 5e0e199f73d8626b11e79750991f5d173d1f8b67
   FMDB: 6198a90e7b6900cfc046e6bc0ef6ebb7be9236aa
+  iCloudDocumentSync: 961aac30ca09c221de4c236e94dae69912f2c589
   JCore: f7459c81c135281a874a6beafdd321666adcc834
   JPush: 9574d072cc37e93fa293ba69b43ce763c440943a
   MBProgressHUD: e7baa36a220447d8aeb12769bf0585582f3866d9
@@ -82,6 +86,6 @@ SPEC CHECKSUMS:
   WBOCRService: 9c6b112d975e79aea9f2684681a72b84d7e0242a
   WechatOpenSDK: 676feec516a11173eafd1fe64b10d27babf28701
 
-PODFILE CHECKSUM: ec35b53bd6b234ef03976f51697c19693aa2b16b
+PODFILE CHECKSUM: 6b9f31fabfa4605a3cfe271076abad7e5d327f7f
 
 COCOAPODS: 1.9.1

ファイルの差分が大きいため隠しています
+ 472 - 449
ios/JianYuIOS/Pods/Pods.xcodeproj/project.pbxproj


+ 60 - 0
ios/JianYuIOS/Pods/Pods.xcodeproj/xcuserdata/apple.xcuserdatad/xcschemes/iCloudDocumentSync.xcscheme

@@ -0,0 +1,60 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Scheme
+   LastUpgradeVersion = "1100"
+   version = "1.3">
+   <BuildAction
+      parallelizeBuildables = "YES"
+      buildImplicitDependencies = "YES">
+      <BuildActionEntries>
+         <BuildActionEntry
+            buildForAnalyzing = "YES"
+            buildForTesting = "YES"
+            buildForRunning = "YES"
+            buildForProfiling = "YES"
+            buildForArchiving = "YES">
+            <BuildableReference
+               BuildableIdentifier = "primary"
+               BlueprintIdentifier = "25FF862E3948CECF5CFB0D0C06316243"
+               BuildableName = "libiCloudDocumentSync.a"
+               BlueprintName = "iCloudDocumentSync"
+               ReferencedContainer = "container:Pods.xcodeproj">
+            </BuildableReference>
+         </BuildActionEntry>
+      </BuildActionEntries>
+   </BuildAction>
+   <TestAction
+      selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
+      selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
+      shouldUseLaunchSchemeArgsEnv = "YES"
+      buildConfiguration = "Debug">
+      <AdditionalOptions>
+      </AdditionalOptions>
+   </TestAction>
+   <LaunchAction
+      selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
+      selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
+      launchStyle = "0"
+      useCustomWorkingDirectory = "NO"
+      ignoresPersistentStateOnLaunch = "NO"
+      debugDocumentVersioning = "YES"
+      debugServiceExtension = "internal"
+      buildConfiguration = "Debug"
+      allowLocationSimulation = "YES">
+      <AdditionalOptions>
+      </AdditionalOptions>
+   </LaunchAction>
+   <ProfileAction
+      savedToolIdentifier = ""
+      useCustomWorkingDirectory = "NO"
+      debugDocumentVersioning = "YES"
+      buildConfiguration = "Release"
+      shouldUseLaunchSchemeArgsEnv = "YES">
+   </ProfileAction>
+   <AnalyzeAction
+      buildConfiguration = "Debug">
+   </AnalyzeAction>
+   <ArchiveAction
+      buildConfiguration = "Release"
+      revealArchiveInOrganizer = "YES">
+   </ArchiveAction>
+</Scheme>

+ 5 - 0
ios/JianYuIOS/Pods/Pods.xcodeproj/xcuserdata/apple.xcuserdatad/xcschemes/xcschememanagement.plist

@@ -64,6 +64,11 @@
 			<key>isShown</key>
 			<false/>
 		</dict>
+		<key>iCloudDocumentSync.xcscheme</key>
+		<dict>
+			<key>isShown</key>
+			<false/>
+		</dict>
 	</dict>
 	<key>SuppressBuildableAutocreation</key>
 	<dict/>

+ 21 - 0
ios/JianYuIOS/Pods/Target Support Files/Pods-JianYuIOS/Pods-JianYuIOS-acknowledgements.markdown

@@ -141,4 +141,25 @@ THE SOFTWARE.
 
 Copyright 2018 tencent.com. All rights reserved.
 
+
+## iCloudDocumentSync
+
+## License
+It is also appreciated if you let the original developers know if you're using this in a commercial project. Please tweet @iRareMedia, or send us an email (contact[at]iraremedia.com).
+
+The MIT License (MIT)
+
+Copyright (c) 2015 iRare Media
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
 Generated by CocoaPods - https://cocoapods.org

+ 27 - 0
ios/JianYuIOS/Pods/Target Support Files/Pods-JianYuIOS/Pods-JianYuIOS-acknowledgements.plist

@@ -207,6 +207,33 @@ THE SOFTWARE.
 			<key>Type</key>
 			<string>PSGroupSpecifier</string>
 		</dict>
+		<dict>
+			<key>FooterText</key>
+			<string>## License
+It is also appreciated if you let the original developers know if you're using this in a commercial project. Please tweet @iRareMedia, or send us an email (contact[at]iraremedia.com).
+
+The MIT License (MIT)
+
+Copyright (c) 2015 iRare Media
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.</string>
+			<key>License</key>
+			<string>MIT</string>
+			<key>Title</key>
+			<string>iCloudDocumentSync</string>
+			<key>Type</key>
+			<string>PSGroupSpecifier</string>
+		</dict>
 		<dict>
 			<key>FooterText</key>
 			<string>Generated by CocoaPods - https://cocoapods.org</string>

+ 3 - 3
ios/JianYuIOS/Pods/Target Support Files/Pods-JianYuIOS/Pods-JianYuIOS.debug.xcconfig

@@ -1,8 +1,8 @@
 FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/../OCR_private_pod/Libs" "${PODS_ROOT}/../WBCloudReflectionFaceVerify_framework/Libs" "${PODS_ROOT}/UMengUShare/UShareSDK/UMSocialSDK" "${PODS_ROOT}/UMengUShare/UShareSDK/UMSocialUI"
 GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
-HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/AFNetworking" "${PODS_ROOT}/Headers/Public/FMDB" "${PODS_ROOT}/Headers/Public/JPush" "${PODS_ROOT}/Headers/Public/MBProgressHUD" "${PODS_ROOT}/Headers/Public/SDWebImage" "${PODS_ROOT}/Headers/Public/UMengUShare" "${PODS_ROOT}/Headers/Public/WechatOpenSDK"
-LIBRARY_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/AFNetworking" "${PODS_CONFIGURATION_BUILD_DIR}/FMDB" "${PODS_CONFIGURATION_BUILD_DIR}/MBProgressHUD" "${PODS_CONFIGURATION_BUILD_DIR}/SDWebImage" "${PODS_ROOT}/../OCR_private_pod/Libs" "${PODS_ROOT}/JCore" "${PODS_ROOT}/JPush" "${PODS_ROOT}/UMengUShare/UShareSDK/SocialLibraries/QQ" "${PODS_ROOT}/UMengUShare/UShareSDK/SocialLibraries/WeChat" "${PODS_ROOT}/UMengUShare/UShareSDK/UMSocialSDKPlugin" "${PODS_ROOT}/WechatOpenSDK/WechatSDK1.8.2"
-OTHER_LDFLAGS = $(inherited) -ObjC -l"AFNetworking" -l"FMDB" -l"MBProgressHUD" -l"SDWebImage" -l"SocialQQ" -l"SocialWeChat" -l"UMSocialLog" -l"WeChatSDK" -l"c++" -l"jcore-ios-1.1.7" -l"jpush-ios-3.0.8" -l"recdetect" -l"resolv" -l"sqlite3" -l"sqlite3.0" -l"z" -framework "AVFoundation" -framework "Accelerate" -framework "AdSupport" -framework "AssetsLibrary" -framework "AudioToolbox" -framework "CFNetwork" -framework "CoreFoundation" -framework "CoreGraphics" -framework "CoreMedia" -framework "CoreServices" -framework "CoreTelephony" -framework "CoreVideo" -framework "Foundation" -framework "ImageIO" -framework "MobileCoreServices" -framework "NextCV" -framework "QuartzCore" -framework "Security" -framework "SystemConfiguration" -framework "UIKit" -framework "UMSocialCore" -framework "UMSocialNetwork" -framework "UShareUI" -framework "WBCloudReflectionFaceVerify" -framework "WBOCRService" -framework "WebKit" -framework "YTCommon" -framework "YTIllumination" -framework "YTPoseDetector" -framework "YTTrackProWB" -framework "faceLiveReflect" -framework "opencv2" -framework "rapidnet_ios" -weak_framework "UserNotifications"
+HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/AFNetworking" "${PODS_ROOT}/Headers/Public/FMDB" "${PODS_ROOT}/Headers/Public/JPush" "${PODS_ROOT}/Headers/Public/MBProgressHUD" "${PODS_ROOT}/Headers/Public/SDWebImage" "${PODS_ROOT}/Headers/Public/UMengUShare" "${PODS_ROOT}/Headers/Public/WechatOpenSDK" "${PODS_ROOT}/Headers/Public/iCloudDocumentSync"
+LIBRARY_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/AFNetworking" "${PODS_CONFIGURATION_BUILD_DIR}/FMDB" "${PODS_CONFIGURATION_BUILD_DIR}/MBProgressHUD" "${PODS_CONFIGURATION_BUILD_DIR}/SDWebImage" "${PODS_CONFIGURATION_BUILD_DIR}/iCloudDocumentSync" "${PODS_ROOT}/../OCR_private_pod/Libs" "${PODS_ROOT}/JCore" "${PODS_ROOT}/JPush" "${PODS_ROOT}/UMengUShare/UShareSDK/SocialLibraries/QQ" "${PODS_ROOT}/UMengUShare/UShareSDK/SocialLibraries/WeChat" "${PODS_ROOT}/UMengUShare/UShareSDK/UMSocialSDKPlugin" "${PODS_ROOT}/WechatOpenSDK/WechatSDK1.8.2"
+OTHER_LDFLAGS = $(inherited) -ObjC -l"AFNetworking" -l"FMDB" -l"MBProgressHUD" -l"SDWebImage" -l"SocialQQ" -l"SocialWeChat" -l"UMSocialLog" -l"WeChatSDK" -l"c++" -l"iCloudDocumentSync" -l"jcore-ios-1.1.7" -l"jpush-ios-3.0.8" -l"recdetect" -l"resolv" -l"sqlite3" -l"sqlite3.0" -l"z" -framework "AVFoundation" -framework "Accelerate" -framework "AdSupport" -framework "AssetsLibrary" -framework "AudioToolbox" -framework "CFNetwork" -framework "CoreFoundation" -framework "CoreGraphics" -framework "CoreMedia" -framework "CoreServices" -framework "CoreTelephony" -framework "CoreVideo" -framework "Foundation" -framework "ImageIO" -framework "MobileCoreServices" -framework "NextCV" -framework "QuartzCore" -framework "Security" -framework "SystemConfiguration" -framework "UIKit" -framework "UMSocialCore" -framework "UMSocialNetwork" -framework "UShareUI" -framework "WBCloudReflectionFaceVerify" -framework "WBOCRService" -framework "WebKit" -framework "YTCommon" -framework "YTIllumination" -framework "YTPoseDetector" -framework "YTTrackProWB" -framework "faceLiveReflect" -framework "opencv2" -framework "rapidnet_ios" -weak_framework "UserNotifications"
 PODS_BUILD_DIR = ${BUILD_DIR}
 PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
 PODS_PODFILE_DIR_PATH = ${SRCROOT}/.

+ 3 - 3
ios/JianYuIOS/Pods/Target Support Files/Pods-JianYuIOS/Pods-JianYuIOS.release.xcconfig

@@ -1,8 +1,8 @@
 FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/../OCR_private_pod/Libs" "${PODS_ROOT}/../WBCloudReflectionFaceVerify_framework/Libs" "${PODS_ROOT}/UMengUShare/UShareSDK/UMSocialSDK" "${PODS_ROOT}/UMengUShare/UShareSDK/UMSocialUI"
 GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
-HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/AFNetworking" "${PODS_ROOT}/Headers/Public/FMDB" "${PODS_ROOT}/Headers/Public/JPush" "${PODS_ROOT}/Headers/Public/MBProgressHUD" "${PODS_ROOT}/Headers/Public/SDWebImage" "${PODS_ROOT}/Headers/Public/UMengUShare" "${PODS_ROOT}/Headers/Public/WechatOpenSDK"
-LIBRARY_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/AFNetworking" "${PODS_CONFIGURATION_BUILD_DIR}/FMDB" "${PODS_CONFIGURATION_BUILD_DIR}/MBProgressHUD" "${PODS_CONFIGURATION_BUILD_DIR}/SDWebImage" "${PODS_ROOT}/../OCR_private_pod/Libs" "${PODS_ROOT}/JCore" "${PODS_ROOT}/JPush" "${PODS_ROOT}/UMengUShare/UShareSDK/SocialLibraries/QQ" "${PODS_ROOT}/UMengUShare/UShareSDK/SocialLibraries/WeChat" "${PODS_ROOT}/UMengUShare/UShareSDK/UMSocialSDKPlugin" "${PODS_ROOT}/WechatOpenSDK/WechatSDK1.8.2"
-OTHER_LDFLAGS = $(inherited) -ObjC -l"AFNetworking" -l"FMDB" -l"MBProgressHUD" -l"SDWebImage" -l"SocialQQ" -l"SocialWeChat" -l"UMSocialLog" -l"WeChatSDK" -l"c++" -l"jcore-ios-1.1.7" -l"jpush-ios-3.0.8" -l"recdetect" -l"resolv" -l"sqlite3" -l"sqlite3.0" -l"z" -framework "AVFoundation" -framework "Accelerate" -framework "AdSupport" -framework "AssetsLibrary" -framework "AudioToolbox" -framework "CFNetwork" -framework "CoreFoundation" -framework "CoreGraphics" -framework "CoreMedia" -framework "CoreServices" -framework "CoreTelephony" -framework "CoreVideo" -framework "Foundation" -framework "ImageIO" -framework "MobileCoreServices" -framework "NextCV" -framework "QuartzCore" -framework "Security" -framework "SystemConfiguration" -framework "UIKit" -framework "UMSocialCore" -framework "UMSocialNetwork" -framework "UShareUI" -framework "WBCloudReflectionFaceVerify" -framework "WBOCRService" -framework "WebKit" -framework "YTCommon" -framework "YTIllumination" -framework "YTPoseDetector" -framework "YTTrackProWB" -framework "faceLiveReflect" -framework "opencv2" -framework "rapidnet_ios" -weak_framework "UserNotifications"
+HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/AFNetworking" "${PODS_ROOT}/Headers/Public/FMDB" "${PODS_ROOT}/Headers/Public/JPush" "${PODS_ROOT}/Headers/Public/MBProgressHUD" "${PODS_ROOT}/Headers/Public/SDWebImage" "${PODS_ROOT}/Headers/Public/UMengUShare" "${PODS_ROOT}/Headers/Public/WechatOpenSDK" "${PODS_ROOT}/Headers/Public/iCloudDocumentSync"
+LIBRARY_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/AFNetworking" "${PODS_CONFIGURATION_BUILD_DIR}/FMDB" "${PODS_CONFIGURATION_BUILD_DIR}/MBProgressHUD" "${PODS_CONFIGURATION_BUILD_DIR}/SDWebImage" "${PODS_CONFIGURATION_BUILD_DIR}/iCloudDocumentSync" "${PODS_ROOT}/../OCR_private_pod/Libs" "${PODS_ROOT}/JCore" "${PODS_ROOT}/JPush" "${PODS_ROOT}/UMengUShare/UShareSDK/SocialLibraries/QQ" "${PODS_ROOT}/UMengUShare/UShareSDK/SocialLibraries/WeChat" "${PODS_ROOT}/UMengUShare/UShareSDK/UMSocialSDKPlugin" "${PODS_ROOT}/WechatOpenSDK/WechatSDK1.8.2"
+OTHER_LDFLAGS = $(inherited) -ObjC -l"AFNetworking" -l"FMDB" -l"MBProgressHUD" -l"SDWebImage" -l"SocialQQ" -l"SocialWeChat" -l"UMSocialLog" -l"WeChatSDK" -l"c++" -l"iCloudDocumentSync" -l"jcore-ios-1.1.7" -l"jpush-ios-3.0.8" -l"recdetect" -l"resolv" -l"sqlite3" -l"sqlite3.0" -l"z" -framework "AVFoundation" -framework "Accelerate" -framework "AdSupport" -framework "AssetsLibrary" -framework "AudioToolbox" -framework "CFNetwork" -framework "CoreFoundation" -framework "CoreGraphics" -framework "CoreMedia" -framework "CoreServices" -framework "CoreTelephony" -framework "CoreVideo" -framework "Foundation" -framework "ImageIO" -framework "MobileCoreServices" -framework "NextCV" -framework "QuartzCore" -framework "Security" -framework "SystemConfiguration" -framework "UIKit" -framework "UMSocialCore" -framework "UMSocialNetwork" -framework "UShareUI" -framework "WBCloudReflectionFaceVerify" -framework "WBOCRService" -framework "WebKit" -framework "YTCommon" -framework "YTIllumination" -framework "YTPoseDetector" -framework "YTTrackProWB" -framework "faceLiveReflect" -framework "opencv2" -framework "rapidnet_ios" -weak_framework "UserNotifications"
 PODS_BUILD_DIR = ${BUILD_DIR}
 PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
 PODS_PODFILE_DIR_PATH = ${SRCROOT}/.

+ 5 - 0
ios/JianYuIOS/Pods/Target Support Files/iCloudDocumentSync/iCloudDocumentSync-dummy.m

@@ -0,0 +1,5 @@
+#import <Foundation/Foundation.h>
+@interface PodsDummy_iCloudDocumentSync : NSObject
+@end
+@implementation PodsDummy_iCloudDocumentSync
+@end

+ 12 - 0
ios/JianYuIOS/Pods/Target Support Files/iCloudDocumentSync/iCloudDocumentSync-prefix.pch

@@ -0,0 +1,12 @@
+#ifdef __OBJC__
+#import <UIKit/UIKit.h>
+#else
+#ifndef FOUNDATION_EXPORT
+#if defined(__cplusplus)
+#define FOUNDATION_EXPORT extern "C"
+#else
+#define FOUNDATION_EXPORT extern
+#endif
+#endif
+#endif
+

+ 10 - 0
ios/JianYuIOS/Pods/Target Support Files/iCloudDocumentSync/iCloudDocumentSync.debug.xcconfig

@@ -0,0 +1,10 @@
+CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/iCloudDocumentSync
+GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
+HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Private/iCloudDocumentSync" "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/iCloudDocumentSync"
+PODS_BUILD_DIR = ${BUILD_DIR}
+PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
+PODS_ROOT = ${SRCROOT}
+PODS_TARGET_SRCROOT = ${PODS_ROOT}/iCloudDocumentSync
+PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier}
+SKIP_INSTALL = YES
+USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES

+ 10 - 0
ios/JianYuIOS/Pods/Target Support Files/iCloudDocumentSync/iCloudDocumentSync.release.xcconfig

@@ -0,0 +1,10 @@
+CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/iCloudDocumentSync
+GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
+HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Private/iCloudDocumentSync" "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/iCloudDocumentSync"
+PODS_BUILD_DIR = ${BUILD_DIR}
+PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
+PODS_ROOT = ${SRCROOT}
+PODS_TARGET_SRCROOT = ${PODS_ROOT}/iCloudDocumentSync
+PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier}
+SKIP_INSTALL = YES
+USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES

+ 18 - 0
ios/JianYuIOS/Pods/iCloudDocumentSync/LICENSE.md

@@ -0,0 +1,18 @@
+## License
+It is also appreciated if you let the original developers know if you're using this in a commercial project. Please tweet @iRareMedia, or send us an email (contact[at]iraremedia.com).
+
+The MIT License (MIT)
+
+Copyright (c) 2015 iRare Media
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.

+ 259 - 0
ios/JianYuIOS/Pods/iCloudDocumentSync/README.md

@@ -0,0 +1,259 @@
+<img width=725 src="https://raw.githubusercontent.com/iRareMedia/iCloudDocumentSync/master/iCloud%20App%20-%20iOS/CloudBanner.png"/>
+
+iCloud Document Sync makes it easy for developers to integrate the iCloud document storage APIs into iOS applications. This is how iCloud document-storage and management should've been out of the box from Apple. Integrate iCloud into iOS (OS X coming soon) Objective-C document projects with one-line code methods. Sync, upload, manage, and remove documents to and from iCloud with only  a few lines of code (compared to the hundreds of lines and hours that it usually takes). Get iCloud up and running in your iOS app in only a few minutes.
+
+If you like the project, please [star it](https://github.com/iRareMedia/iCloudDocumentSync) on GitHub! Watch the project on GitHub for updates. If you use iCloud Document Sync in your app, send an email to contact[at]iraremedia.com or let us know on Twitter @iRareMedia.
+
+# Project Features
+iCloud Document Sync is a great way to use iCloud document storage in your iOS app. Below are a few key project features and highlights.
+* Sync, Upload, Read, Write, Share, Save, Remove, and Edit any iCloud document in only one line of code.  
+* Just drag and drop the iCloud Framework (`iCloud.framework`) into your project and you can begin using iCloud - no complicated setup  
+* Access in-depth documentation with docsets, code comments, and verbose logging  
+* Useful delegate methods and properties let you access and manage advanced iCloud features
+* Manage any kind of file with iCloud through use of NSData  
+* iOS Sample-app to illustrate how easy it is to use iCloud Document Sync
+* Frequent updates to the project based on user issues and requests  
+* Easily contribute to the project
+
+## Table of Contents
+
+* [**Project Information**](#project-information)
+  * [Requirements](#requirements)
+  * [License](#license)
+  * [Contributions](#contributions)
+  * [Sample App](#sample-app)
+* [**Installation**](#installation)
+  * [Cocoapods](#cocoapods-setup)
+  * [Framework](#frameworks-setup)
+  * [Traditional](#traditional-setup)
+  * [Swift Projects](#swift-projects-setup)
+* [**Setup**](#setup)
+* [**Documentation**](#documentation)
+  * [Methods](#methods)
+  * [Delegate](#delegate)
+
+# Project Information
+Learn more about the project requirements, licensing, and contributions.
+
+## Requirements
+Requires Xcode 5.0.1+ for use in any iOS Project. Requires a minimum of iOS 6.0 as the deployment target. 
+
+| Current Build Target 	| Earliest Supported Build Target 	| Earliest Compatible Build Target 	|
+|:--------------------:	|:-------------------------------:	|:--------------------------------:	|
+|       iOS 8.1        	|            iOS 7.0              	|             iOS 6.0              	|
+|     Xcode 6.1.1      	|          Xcode 5.1.1            	|           Xcode 5.0.1            	|
+|      LLVM 6.0        	|             LLVM 5.0            	|             LLVM 5.0             	|
+
+> REQUIREMENTS NOTE  
+*Supported* means that the library has been tested with this version. *Compatible* means that the library should work on this OS version (i.e. it doesn't rely on any unavailable SDK features) but is no longer being tested for compatibility and may require tweaking or bug fixes to run correctly.
+
+## License 
+This project is licensed under the MIT License. See the [full iCloud Document Sync license here](https://github.com/iRareMedia/iCloudDocumentSync/blob/master/LICENSE.md).
+
+Attribution is not required, but it appreciated. We have spent a lot of time, energy, and resources working on this project - so a little *Thanks!* (or something to that affect) would be much appreciated. If you use iCloud Document Sync in your app, send an email to contact@iraremedia.com or let us know on Twitter @iRareMedia.
+
+## Contributions
+Any contribution is more than welcome! You can contribute through pull requests and issues on GitHub. Learn more [about contributing to the project here](https://github.com/iRareMedia/iCloudDocumentSync/blob/master/CONTRIBUTING.md).
+
+## Sample App
+The iOS Sample App included with this project demonstrates how to use many of the features in iCloud Document Sync. You can refer to the sample app for an understanding of how to use and setup iCloud Document Sync. The app should work with iCloud as-is (you may need to provide your own Bundle ID though).
+
+<img width=700 src="https://raw.github.com/iRareMedia/iCloudDocumentSync/master/iCloud%20App%20-%20iOS/AppBanner.png"/>
+
+# Installation
+Adding iCloud Document Sync to your project is easy. There are multiple ways to add iCloud Document Sync to your project. Choose the process below which best suits your needs. Follow the steps to get everything up and running in only a few minutes.
+
+### Cocoapods Setup
+The easiest way to install iCloud Document Sync is to use CocoaPods. To do so, simply add the following line to your Podfile:
+
+    pod iCloudDocumentSync
+
+### Framework Setup
+The iCloud.framework can be retrieved in two different ways:  
+ 1. Clone the project to your computer and build the *Framework* target. The `iCloud.framework` file will be copied to the project directory. Drag and drop the `.framework` file into your project.  
+ 2. Download your preferred iCloud Document Sync Framework release from the [Project Releases](https://github.com/iRareMedia/iCloudDocumentSync/releases) section. Frameworks are available as far back as version 7.0. Unzip then drag and drop the `.framework` file into your project.   
+
+### Traditional Setup
+Drag and drop the *iCloud* folder into your Xcode project. When you do so, check the "Copy items into destination group's folder" box. Delete the `iCloud-Prefix.pch` file. 
+
+### Swift Project Setup
+To use iCloud Document Sync in a Swift project, you must create a [bridging header](https://developer.apple.com/library/prerelease/ios/documentation/Swift/Conceptual/BuildingCocoaApps/MixandMatch.html). 
+
+If you already have a bridging header, simply import `iCloud.h` (use the `#import <iCloud/iCloud.h>` syntax when importing the framework, otherwise use `#import "iCloud.h"`). 
+
+If you do not already have a bridging header, install iCloud Document Sync into your project using any of the above processes. When adding the files to Xcode, you will be prompted to create a bridging header - create one. Then, import iCloud Document Sync (see paragraph above).
+
+# Setup
+After installing iCloud Document Sync, it only takes a few lines of code to get it up an running.  
+  1. Import iCloud (see relevant install instructions above) to your header file(s).  
+  2. Subscribe to the `<iCloudDelegate>` delegate.  
+  3. Set the delegate and optionally enable verbose logging:  
+   
+        [[iCloud sharedCloud] setDelegate:self]; // Set this if you plan to use the delegate
+        [[iCloud sharedCloud] setVerboseLogging:YES]; // We want detailed feedback about what's going on with iCloud, this is OFF by default
+  4. Setup iCloud when your app starts. It is crucial that you call this method before doing any document handling operations. You can either pass a specific Ubiquity Container ID (see your entitlements file) or `nil` to use the first Ubiquity Container ID in your entitlements.  
+
+        [[iCloud sharedCloud] setupiCloudDocumentSyncWithUbiquityContainer:nil];   
+  5. It is recommended that the first call to `iCloud` is `setDelegate`, this way all subsequent operations and method calls can interact with the delegate and provide appropriate information.
+
+# Documentation
+Key methods, properties, types, and delegate methods available on the iCloud class are documented below. If you're using [Xcode 5](https://developer.apple.com/technologies/tools/whats-new.html) with iCloud Document Sync, documentation is available directly within Xcode (just Option-Click any method for Quick Help). For more advanced documentation please install the docset included with this project. This will allow you to view iCloud Document Sync documentation inside of Xcode's Organizer Window. Additional documentation can also be found on the Wiki page (including how to register your app for iCloud, iCloud fundamentals, etc.).   
+
+## Methods
+There are many methods available on iCloud Document Sync. The most important / highlight methods are documented below. All other methods are documented in the docset and with in-code comments.
+
+### Checking for iCloud Availability
+iCloud Document Sync checks for iCloud availability before performing any iCloud-related operations. Any iCloud Document Sync methods may return prematurely and without warning if iCloud is unavailable. Therefore, you should always check if iCloud is available before performing any iCloud operations.
+
+    BOOL cloudIsAvailable = [[iCloud sharedCloud] checkCloudAvailability];
+    if (cloudIsAvailable) {
+        //YES
+    }
+
+This checks if iCloud is available by looking for the application's ubiquity token. It returns a boolean value; YES if iCloud is available, and NO if it is not. Check the log / documentation for details on why it may not be available. You can also check for the availability of the iCloud ubiquity *container* by calling the following method:
+
+    BOOL cloudContainerIsAvailable = [[iCloud sharedCloud] checkCloudUbiquityContainer];
+
+The `checkCloudAvailability` method will call the `iCloudAvailabilityDidChangeToState: withUbiquityToken: withUbiquityContainer:` delegate method. 
+
+### Syncing Documents
+To get iCloud Document Sync to initialize for the first time, and continue to update when there are changes you'll need to initialize iCloud. By initializing iCloud, it will start syncing with iCloud for the first time and in the future.  
+
+    [[iCloud sharedCloud] init];
+
+You can manually fetch changes from iCloud too:
+
+    [[iCloud sharedCloud] updateFiles];
+
+iCloud Document Sync will automatically detect changes in iCloud documents. When something changes the delegate method below is fired and will pass an NSMutableArray of all the files (NSMetadata Items) and their names (NSStrings) stored in iCloud.
+
+    - (void)iCloudFilesDidChange:(NSMutableArray *)files withNewFileNames:(NSMutableArray *)fileNames
+
+### Uploading Documents
+iCloud Document Sync uses UIDocument and NSData to store and manage files. All of the heavy lifting with NSData and UIDocument is handled for you. There's no need to actually create or manage any files, just give iCloud Document Sync your data, and the rest is done for you.
+
+To create a new document or save and close an existing one, use the method below.
+
+    [[iCloud sharedCloud] saveAndCloseDocumentWithName:@"Name.ext" withContent:[NSData data] completion:^(UIDocument *cloudDocument, NSData *documentData, NSError *error) {
+        if (error == nil) {
+            // Code here to use the UIDocument or NSData objects which have been passed with the completion handler
+        }
+    }];
+
+The completion handler will be called when a document is saved or created. The completion handler has a UIDocument and NSData parameter that contain the document and it's contents. The third parameter is an NSError that will contain an error if one occurs, otherwise it will be `nil`.
+
+You can also upload any documents created while offline, or locally.  Files in the local documents directory that do not already exist in iCloud will be **moved** into iCloud one by one. This process involves lots of file manipulation and as a result it may take a long time. This process will be performed on the background thread to avoid any lag or memory problems. When the upload processes end, the completion block is called on the main thread.
+
+    [[iCloud sharedCloud] uploadLocalOfflineDocumentsWithRepeatingHandler:^(NSString *fileName, NSError *error) {
+        if (error == nil) {
+            // This code block is called repeatedly until all files have been uploaded (or an upload has at least been attempted). Code here to use the NSString (the name of the uploaded file) which have been passed with the repeating handler
+        }
+    } completion:^{
+        // Completion handler could be used to tell the user that the upload has completed
+    }];
+
+Note the `repeatingHandler` block. This block is called every-time a local file is uploaded, therefore it may be called multiple times in a short period. The NSError object contains any error information if an error occurred, otherwise it will be nil.
+
+### Removing Documents
+You can delete documents from iCloud by using the method below. The completion block is called when the file is successfully deleted.
+
+    [[iCloud sharedCloud] deleteDocumentWithName:@"docName.ext" completion:^(NSError *error) {
+        // Completion handler could be used to update your UI and tell the user that the document was deleted
+    }];
+
+### Retrieving Documents and Data
+You can open and retrieve a document stored in your iCloud documents directory with the method below. This method will attempt to open the specified document. If the file does not exist, a blank one will be created. The completion handler is called when the file is opened or created (either successfully or not). The completion handler contains a UIDocument, NSData, and NSError all of which contain information about the opened document.
+
+    [[iCloud sharedCloud] retrieveCloudDocumentWithName:@"docName.ext" completion:^(UIDocument *cloudDocument, NSData *documentData, NSError *error) {
+    	if (!error) {
+    		NSString *fileName = [cloudDocument.fileURL lastPathComponent];
+    		NSData *fileData = documentData;
+    	}
+    }];
+
+First check if there was an error retrieving or creating the file, if there wasn't you can proceed to get the file's contents and metadata.
+
+You can also check whether or not a file actually exists in iCloud or not by using the method below.
+
+    BOOL fileExists = [[iCloud sharedCloud] doesFileExistInCloud:@"docName.ext"];
+    if (fileExists == YES) {
+    	// File Exists in iCloud
+    }
+
+### Sharing Documents
+You can upload an iCloud document to a public URL by using the method below. The completion block is called when the public URL is created.
+
+    NSURL *publicURL = [[iCloud sharedCloud] shareDocumentWithName:@"docName.ext" completion:^(NSURL *sharedURL, NSDate *expirationDate, NSError *error) {
+        // Completion handler that passes the public URL created, the expiration date of the URL, and any errors. Could be used to update your UI and tell the user that the document was uploaded
+    }];
+
+### Renaming and Duplicating Documents
+Rename a document stored in iCloud
+
+    [[iCloud sharedCloud] renameOriginalDocument:@"oldName.ext" withNewName:@"newName.ext" completion:^(NSError *error) {
+        // Called when renaming is complete
+    }];
+
+Duplicating a document stored in iCloud
+
+    [[iCloud sharedCloud] duplicateOriginalDocument:@"docName.ext" withNewName:@"docName copy.ext" completion:^(NSError *error) {
+        // Called when duplication is complete
+    }];
+
+### Monitoring Document State
+iCloud tracks the state of a document when stored in iCloud. Document states include: Normal / Open, Closed, In Conflict, Saving Error, and Editing Disabled (learn more about [UIDocumentState](https://developer.apple.com/library/ios/documentation/uikit/reference/UIDocument_Class/UIDocument/UIDocument.html#//apple_ref/doc/c_ref/UIDocumentState)). Get the current document state of a file stored in iCloud with this method:
+
+    [[iCloud sharedCloud] documentStateForFile:@"oldName.ext" completion:^(UIDocumentState *documentState, NSString *userReadableDocumentState, NSError *error) {
+        // Completion handler that passes two parameters, an NSError and a UIDocumentState. The documentState parameter represents the document state that the specified file is currently in (may be nil if the file does not exist). The NSError parameter will contain a 404 error if the file does not exist.
+    }];
+
+Monitor changes in a document's state by subscribing a specific target / selector / method.
+
+    BOOL success = [[iCloud sharedCloud] monitorDocumentStateForFile:@"docName.ext" onTarget:self withSelector:@selector(methodName:)];
+
+Stop monitoring changes in a document's state by removing notifications for a specific target.
+
+    BOOL success = [[iCloud sharedCloud] stopMonitoringDocumentStateChangesForFile:@"docName.ext" onTarget:self];
+    
+### File Conflict Handling
+When a document's state changes to *in conflict*, your application should take the appropriate action by resolving the conflict or letting the user resolve the conflict. You can monitor for document state changes with the `monitorDocumentStateForFile:onTarget:withSelector:` method. iCloud Document Sync provides two methods that help handle a conflict with a document stored in iCloud. The first method lets you find all conflicting versions of a file:
+
+    NSArray *documentVersions = [[iCloud sharedCloud] findUnresolvedConflictingVersionsOfFile:documentName];
+
+The array returned contains a list of NSFileVersion objects for the specified file. You can then use this list of file versions to either automatically merge changes or have the user select the correct version. Use the following method to resolve the conflict by submitting the "correct" version of the file.
+
+    [[iCloud sharedCloud] resolveConflictForFile:@"docName.ext" withSelectedFileVersion:[NSFileVersion object]];
+
+
+## Delegate
+iCloud Document Sync delegate methods notify you of the status of iCloud and your documents stored in iCloud. To use the iCloud delegate, subscribe to the `iCloudDelegate` protocol and then set the `delegate` property. To use the iCloudDocument delegate, subscribe to the `iCloudDocumentDelegate` protocol and then set the `delegate` property.
+
+### iCloud Availability Changed
+Called (automatically by iOS) when the availability of iCloud changes.  The first parameter, `cloudIsAvailable`, is a boolean value that is YES if iCloud is available and NO if iCloud is not available. The second parameter, `ubiquityToken`, is an iCloud ubiquity token that represents the current iCloud identity. Can be used to determine if iCloud is available and if the iCloud account has been changed (ex. if the user logged out and then logged in with a different iCloud account). This object may be nil if iCloud is not available for any reason. The third parameter, `ubiquityContainer`, is the root URL path to the current application's ubiquity container. This URL may be nil until the ubiquity container is initialized.
+
+    - (void)iCloudAvailabilityDidChangeToState:(BOOL)cloudIsAvailable withUbiquityToken:(id)ubiquityToken withUbiquityContainer:(NSURL *)ubiquityContainer
+
+### iCloud Files Changed
+When the files stored in your app's iCloud Document's directory change, this delegate method is called.  The first parameter, `files`, contains an array of NSMetadataItems which can be used to gather information about a file (ex. URL, Name, Dates, etc). The second parameter, `fileNames`, contains an array of the name of each file as NSStrings.
+
+    - (void)iCloudFilesDidChange:(NSMutableArray *)files withNewFileNames:(NSMutableArray *)fileNames
+
+### iCloud File Conflict
+When uploading multiple files to iCloud there is a possibility that files may exist both locally and in iCloud - causing a conflict. iCloud Document Sync can handle most conflict cases and will report the action taken in the log. When iCloud Document Sync can't figure out how to resolve the file conflict (this happens when both the modified date and contents are the same), it will pass the files and relevant information to you using this delegate method.  The delegate method contains two NSDictionaries, one which contains information about the iCloud file, and the other about the local file. Both dictionaries contain the same keys with the same types of objects stored at each key:  
+* `fileContent` contains the NSData of the file.
+* `fileURL` contains the NSURL pointing to the file. This could possibly be used to gather more information about the file.
+* `modifiedDate` contains the NSDate representing the last modified date of the file.
+
+Below is the delegate method to be used
+
+    - (void)iCloudFileConflictBetweenCloudFile:(NSDictionary *)cloudFile andLocalFile:(NSDictionary *)localFile;
+
+### iCloud Query Parameter
+Called before creating an iCloud Query filter. Specify the type of file to be queried. If this delegate method is not implemented or returns nil, all files stored in the documents directory will be queried. Should return a single file extension formatted (as an NSString) like this: `@"txt"`
+
+    - (NSString *)iCloudQueryLimitedToFileExtension
+
+### iCloud Document Error
+Delegate method fired when an error occurs during an attempt to read, save, or revert a document. This delegate method is only available on the `iCloudDocumentDelegate` with the `iCloudDocument` class. If you implement the iCloudDocument delegate, then you *must* implement this method - it is required.
+
+    - (void)iCloudDocumentErrorOccured:(NSError *)error

+ 7 - 0
ios/JianYuIOS/Pods/iCloudDocumentSync/iCloud/iCloud-Prefix.pch

@@ -0,0 +1,7 @@
+//
+// Prefix header for all source files of the 'iCloud' target in the 'iCloud' project
+//
+
+#ifdef __OBJC__
+    #import <Foundation/Foundation.h>
+#endif

+ 498 - 0
ios/JianYuIOS/Pods/iCloudDocumentSync/iCloud/iCloud.h

@@ -0,0 +1,498 @@
+//
+//  iCloud.h
+//  iCloud Document Sync
+//
+//  Created by iRare Media. Last updated January 2015.
+//  Available on GitHub. Licensed under MIT with Attribution.
+//
+
+// Check for Objective-C Modules
+#if __has_feature(objc_modules)
+    // We recommend enabling Objective-C Modules in your project Build Settings for numerous benefits over regular #imports. Read more from the Modules documentation: http://clang.llvm.org/docs/Modules.html
+    @import Foundation;
+    @import UIKit;
+#else
+    #import <Foundation/Foundation.h>
+    #import <UIKit/UIKit.h>
+#endif
+
+// Import iCloudDocument
+#import "iCloudDocument.h"
+
+// Ensure that the build is for iOS 6.0 or higher
+#ifndef __IPHONE_6_0
+    #error iCloudDocumentSync is built with features only available is iOS SDK 6.0 and later.
+#endif
+
+// Create a constant for accessing the documents directory
+#define DOCUMENT_DIRECTORY @"Documents"
+
+
+/** iCloud Document Sync makes it easy for developers to integrate the iCloud document storage APIs into iOS applications. This is how iCloud document-storage and management should've been out of the box from Apple. Integrate iCloud into iOS (OS X coming soon) Objective-C document projects with one-line code methods. Sync, upload, manage, and remove documents to and from iCloud with only a few lines of code (compared to the hundreds of lines and hours that it usually takes). Get iCloud up and running in your iOS app in only a few minutes. Updates and more details on this project can be found on [GitHub](http://www.github.com/iRareMedia/iCloudDocumentSync). If you like the project, please star it on GitHub!
+ 
+ The `iCloud` class provides methods to integrate iCloud into document projects.
+ 
+ Adding iCloud Document Sync to your project is easy. Follow these steps below to get everything up and running.
+ 
+ 1. Drag the iCloud Framework into your project
+ 2. Add `#import <iCloud/iCloud.h>` to your header file(s) iCloud Document Sync
+ 3. Subscribe to the `<iCloudDelegate>` delegate.
+ 4. Call the following methods to setup iCloud when your app starts:
+ 
+    [[iCloud sharedCloud] setDelegate:self]; // Set this if you plan to use the delegate
+    [[iCloud sharedCloud] setVerboseLogging:YES]; // We want detailed feedback about what's going on with iCloud, this is OFF by default
+    [[iCloud sharedCloud] updateFiles]; // Force iCloud Update: This is done automatically when changes are made, but we want to make sure the view is always updated when presented
+ 
+ 
+ @warning Only available on iOS 6.0 and later on apps with valid code signing and entitlements. Requires Xcode 5.0.1 and later. Check the online documentation for more information on setting up iCloud in your app. */
+@class iCloud;
+@protocol iCloudDelegate;
+NS_CLASS_AVAILABLE_IOS(6_0) @interface iCloud : NSObject
+
+
+
+/** @name Singleton */
+
+/** iCloud shared instance object
+ @return The shared instance of iCloud */
++ (instancetype)sharedCloud;
+
+/** Setup iCloud Document Sync and begin the initial document syncing process.
+ 
+ @discussion You \b must call this method before using iCloud Document Sync to avoid potential issues with syncing. This setup process ensures that all variables are initialized. A preliminary file sync will be performed when this method is called.
+ 
+ @param containerID The fully-qualified container identifier for an iCloud container directory. The string you specify must not contain wildcards and must be of the form <TEAMID>.<CONTAINER>, where <TEAMID> is your development team ID and <CONTAINER> is the bundle identifier of the container you want to access.
+ The container identifiers for your app must be declared in the com.apple.developer.ubiquity-container-identifiers array of the .entitlements property list file in your Xcode project.
+ If you specify nil for this parameter, this method uses the first container listed in the com.apple.developer.ubiquity-container-identifiers entitlement array. */
+- (void)setupiCloudDocumentSyncWithUbiquityContainer:(NSString *)containerID;
+
+
+
+/** @name Delegate */
+
+/** iCloud Delegate helps call methods when document processes begin or end */
+@property (weak, nonatomic) id <iCloudDelegate> delegate;
+
+
+
+/** @name Properties */
+
+/** The current NSMetadataQuery object */
+@property (strong) NSMetadataQuery *query;
+
+/** A list of iCloud files from the current query */
+@property (strong) NSMutableArray *fileList;
+
+/** A list of iCloud files from the previous query */
+@property (strong) NSMutableArray *previousQueryResults;
+
+/** Enable verbose logging for detailed feedback in the log. Turning this off only prints crucial log notes such as errors. */
+@property BOOL verboseLogging;
+
+/** Enable verbose availability logging for repeated feedback about iCloud availability in the log. Turning this off will prevent availability-related messages from being printed in the log. This property does not relate to the verboseLogging property. */
+@property BOOL verboseAvailabilityLogging;
+
+
+
+/** @name Checking for iCloud */
+
+/** Check whether or not iCloud is available and that it can be accessed. Returns a boolean value.  
+ 
+ @discussion You should always check if iCloud is available before performing any iCloud operations (every method checks to make sure iCloud is available before continuing). Additionally, you may want to check if your users want to opt-in to iCloud on a per-app basis (according to Apple's documentation, you should only ask the user once to opt-in to iCloud). The Return value could be **NO** (iCloud Unavailable) for one or more of the following reasons:
+ 
+   - iCloud is turned off by the user
+   - The entitlements profile, code signing identity, and/or provisioning profile is invalid
+ 
+ This method uses the ubiquityIdentityToken to check if iCloud is available. The delegate method iCloudAvailabilityDidChangeToState:withUbiquityToken:withUbiquityContainer: can be used to automatically detect changes in the availability of iCloud. A ubiquity token is passed in that method which lets you know if the iCloud account has changed.
+ 
+ @return YES if iCloud is available. NO if iCloud is not available. */
+- (BOOL)checkCloudAvailability;
+
+/** Check that the current application's iCloud Ubiquity Container is available. Returns a boolean value.
+ 
+ @discussion This method may not return immediately, depending on a number of factors. It is not necessary to call this method directly, although it may become useful in certain situations.
+ 
+ @return YES if the iCloud ubiquity container is available. NO if the ubiquity container is not available. */
+- (BOOL)checkCloudUbiquityContainer;
+
+/** Retrieve the current application's ubiquitous root URL
+
+ @return An NSURL with the root iCloud Ubiquitous URL for the current app. May return nil if iCloud is not properly setup or available. */
+- (NSURL *)ubiquitousContainerURL;
+
+/** Retrieve the current application's ubiquitous documents directory URL
+ 
+ @warning If iCloud is not properly setup, this method will return the local (non-ubiquitous) documents directory. This may cause other document handling methods to return nil values. Ensure that iCloud is properly setup \b before calling any document handling methods.
+ 
+ @return An NSURL with the iCloud ubiquitous documents directory URL for the current app. Returns the local documents directory if iCloud is not properly setup or available. */
+- (NSURL *)ubiquitousDocumentsDirectoryURL;
+
+
+
+/** @name Syncing with iCloud */
+
+/** Check for and update the list of files stored in your app's iCloud Documents Folder. This method is automatically called by iOS when there are changes to files in the iCloud Directory. The iCloudFilesDidChange:withNewFileNames: delegate method is triggered by this method. */
+- (void)updateFiles;
+
+
+/** @name Uploading to iCloud */
+
+/** Create, save, and close a document in iCloud.
+ 
+ @discussion First, iCloud Document Sync checks if the specified document exists. If the document exists it is saved and closed. If the document does not exist, it is created then closed.
+ 
+ iCloud Document Sync uses UIDocument and NSData to store and manage files. All of the heavy lifting with NSData and UIDocument is handled for you. There's no need to actually create or manage any files, just give iCloud Document Sync your data, and the rest is done for you.
+ 
+ To create a new document or save an existing one (close the document), use this method. Below is a code example of how to use it.
+ 
+    [[iCloud sharedCloud] saveAndCloseDocumentWithName:@"Name.ext" withContent:[NSData data] completion:^(UIDocument *cloudDocument, NSData *documentData, NSError *error) {
+        if (error == nil) {
+            // Code here to use the UIDocument or NSData objects which have been passed with the completion handler
+        }
+    }];
+ 
+ Documents can be created even if the user is not connected to the internet. The only case in which a document will not be created is when the user has disabled iCloud or if the current application is not setup for iCloud.
+ 
+ @param documentName The name of the document being written to iCloud. This value must not be nil.
+ @param content The data to write to the document
+ @param handler Code block called when the document is successfully saved. The completion block passes UIDocument and NSData objects containing the saved document and it's contents in the form of NSData. The NSError object contains any error information if an error occurred, otherwise it will be nil. */
+- (void)saveAndCloseDocumentWithName:(NSString *)documentName withContent:(NSData *)content completion:(void (^)(UIDocument *cloudDocument, NSData *documentData, NSError *error))handler __attribute__((nonnull));
+
+/** Upload any local files that weren't created with iCloud
+ 
+ @discussion Files in the local documents directory that do not already exist in iCloud will be **moved** into iCloud one by one. This process involves lots of file manipulation and as a result it may take a long time. This process will be performed on the background thread to avoid any lag or memory problems. When the upload processes end, the completion block is called on the main thread.
+ 
+    [[iCloud sharedCloud] uploadLocalOfflineDocumentsWithRepeatingHandler:^(NSString *documentName, NSError *error) {
+        if (error == nil) {
+            // This code block is called repeatedly until all files have been uploaded (or an upload has at least been attempted). 
+            // Code here to use the NSString (the name of the uploaded file) which have been passed with the repeating handler
+        }
+     } completion:^{
+         // Completion handler could be used to tell the user that the upload has completed
+     }];
+ 
+ This method may call the iCloudFileConflictBetweenCloudFile:andLocalFile: iCloud Delegate method if there is a file conflict.
+ 
+ @param repeatingHandler Code block called after each file is uploaded to iCloud. This block is called every-time a local file is uploaded, therefore it may be called multiple times. The NSError object contains any error information if an error occurred, otherwise it will be nil.
+ @param completion Code block called after all files have been uploaded to iCloud. This block is only called once at the end of the method, regardless of any successes or failures that may have occurred during the upload(s). */
+- (void)uploadLocalOfflineDocumentsWithRepeatingHandler:(void (^)(NSString *documentName, NSError *error))repeatingHandler completion:(void (^)(void))completion __attribute__((nonnull (1)));
+
+/** Upload a local file to iCloud
+ 
+ @param documentName The name of the local file stored in the application's documents directory. This value must not be nil.
+ @param handler Code block called after the file has been uploaded to iCloud */
+- (void)uploadLocalDocumentToCloudWithName:(NSString *)documentName completion:(void (^)(NSError *error))handler __attribute__((nonnull));
+
+
+
+/** @name Sharing iCloud Content */
+
+/** Share an iCloud document by uploading it to a public URL.
+ 
+ @discussion Upload a document stored in iCloud to a public location on the internet for a limited amount of time.
+ 
+ @param documentName The name of the iCloud file being uploaded to a public URL. This value must not be nil.
+ @param handler Code block called when the document is successfully uploaded. The completion block passes NSURL, NSDate, and NSError objects. The NSURL object is the public URL where the file is available at, could be nil. The NSDate object is the date that the URL expires on, could be nil. The NSError object contains any error information if an error occurred, otherwise it will be nil.
+ 
+ @return The public URL where the file is available */
+- (NSURL *)shareDocumentWithName:(NSString *)documentName completion:(void (^)(NSURL *sharedURL, NSDate *expirationDate, NSError *error))handler __attribute__((nonnull));
+
+
+
+/** @name Deleting iCloud Content */
+
+/** Delete a document from iCloud.
+ 
+ @discussion Permanently delete a document stored in iCloud. This will only affect copies of the specified file stored in iCloud, if there is a copy stored locally it will not be affected.
+ 
+ @param documentName The name of the document to delete from iCloud. This value must not be nil.
+ @param handler Code block called when a file is successfully deleted from iCloud. The NSError object contains any error information if an error occurred, otherwise it will be nil. */
+- (void)deleteDocumentWithName:(NSString *)documentName completion:(void (^)(NSError *error))handler __attribute__((nonnull (1)));
+
+/** Evict a document from iCloud, move it from iCloud to the current application's local documents directory.
+ 
+ @discussion Remove a document from iCloud storage and move it into the local document's directory. This method may call the iCloudFileConflictBetweenCloudFile:andLocalFile: iCloud Delegate method if there is a file conflict.
+ 
+ @param documentName The name of the iCloud document being downloaded from iCloud to the local documents directory. This value must not be nil.
+ @param handler Code block called after the file has been uploaded to iCloud. This value must not be nil. */
+- (void)evictCloudDocumentWithName:(NSString *)documentName completion:(void (^)(NSError *error))handler __attribute__((nonnull));
+
+
+
+/** @name Retrieving iCloud Content and Info */
+
+/** Open a UIDocument stored in iCloud. If the document does not exist, a new blank document will be created using the documentName provided. You can use the doesFileExistInCloud: method to check if a file exists before calling this method.
+ 
+ @discussion This method will attempt to open the specified document. If the file does not exist, a blank one will be created. The completion handler is called when the file is opened or created (either successfully or not). The completion handler contains a UIDocument, NSData, and NSError all of which contain information about the opened document.
+ 
+    [[iCloud sharedCloud] retrieveCloudDocumentWithName:@"docName.ext" completion:^(UIDocument *cloudDocument, NSData *documentData, NSError *error) {
+        if (error == nil) {
+            NSString *documentName = [cloudDocument.fileURL lastPathComponent];
+            NSData *fileData = documentData;
+        }
+     }];
+ 
+ @param documentName The name of the document in iCloud. This value must not be nil.
+ @param handler Code block called when the document is successfully retrieved (opened or downloaded). The completion block passes UIDocument and NSData objects containing the opened document and it's contents in the form of NSData. If there is an error, the NSError object will have an error message (may be nil if there is no error). This value must not be nil. */
+- (void)retrieveCloudDocumentWithName:(NSString *)documentName completion:(void (^)(UIDocument *cloudDocument, NSData *documentData, NSError *error))handler __attribute__((nonnull));
+
+/** Get the relevant iCloudDocument object for the specified file
+ 
+ @discussion This method serves a very different purpose from the retrieveCloudDocumentWithName:completion: method. Understand the differences between both methods and ensure that you are using the correct one. This method does not open, create, or save any UIDocuments - it simply returns the iCloudDocument object which you can then use for various purposes.
+ 
+ @param documentName The name of the UIDocument stored in iCloud. This value must not be nil.
+ @return An iCloudDocument (UIDocument subclass) object. May return nil if iCloud is unavailable or if an error occurred */
+- (iCloudDocument *)retrieveCloudDocumentObjectWithName:(NSString *)documentName __attribute__((nonnull));
+
+/** Check if a file exists in iCloud
+ 
+ @param documentName The name of the UIDocument in iCloud. This value must not be nil.
+ @return BOOL value, YES if the file does exist in iCloud, NO if it does not. May return NO if iCloud is unavailable. */
+- (BOOL)doesFileExistInCloud:(NSString *)documentName __attribute__((nonnull));
+
+/** Get the size of a file stored in iCloud
+ 
+ @param documentName The name of the file in iCloud. This value must not be nil.
+ @return The number of bytes in an unsigned long long. Returns nil if the file does not exist. May return a nil value if iCloud is unavailable. */
+- (NSNumber *)fileSize:(NSString *)documentName __attribute__((nonnull));
+
+/** Get the last modified date of a file stored in iCloud
+ 
+ @param documentName The name of the file in iCloud. This value must not be nil.
+ @return The date that the file was last modified. Returns nil if the file does not exist. May return a nil value if iCloud is unavailable. */
+- (NSDate *)fileModifiedDate:(NSString *)documentName __attribute__((nonnull));
+
+/** Get the creation date of a file stored in iCloud
+ 
+ @param documentName The name of the file in iCloud. This value must not be nil.
+ @return The date that the file was created. Returns nil if the file does not exist. May return a nil value if iCloud is unavailable. */
+- (NSDate *)fileCreatedDate:(NSString *)documentName __attribute__((nonnull));
+
+/** Get a list of files stored in iCloud
+ 
+ @return NSArray with a list of all the files currently stored in your app's iCloud Documents directory. May return a nil value if iCloud is unavailable. */
+- (NSArray *)listCloudFiles;
+
+
+
+/** @name Managing iCloud Content */
+
+/** Rename a document in iCloud
+ 
+ @param documentName The name of the document being renamed in iCloud. The file specified should exist, otherwise an error will occur. This value must not be nil.
+ @param newName The new name which the document should be renamed with. The file specified should not exist, otherwise an error will occur. This value must not be nil.
+ @param handler Code block called when the document renaming has completed. The completion block passes and NSError object which contains any error information if an error occurred, otherwise it will be nil. */
+- (void)renameOriginalDocument:(NSString *)documentName withNewName:(NSString *)newName completion:(void (^)(NSError *error))handler __attribute__((nonnull));
+
+/** Duplicate a document in iCloud
+ 
+ @param documentName The name of the document being duplicated in iCloud. The file specified should exist, otherwise an error will occur. This value must not be nil.
+ @param newName The new name which the document should be duplicated to (usually the same name with the word "copy" appended to the end). The file specified should not exist, otherwise an error will occur. This value must not be nil.
+ @param handler Code block called when the document duplication has completed. The completion block passes and NSError object which contains any error information if an error occurred, otherwise it will be nil. */
+- (void)duplicateOriginalDocument:(NSString *)documentName withNewName:(NSString *)newName completion:(void (^)(NSError *error))handler __attribute__((nonnull));
+
+
+
+/** @name iCloud Document State */
+
+/** Get the current document state of a file stored in iCloud
+ 
+ @param documentName The name of the file in iCloud. This value must not be nil.
+ @param handler Completion handler that passes three parameters, an NSError, NSString and a UIDocumentState. The documentState parameter represents the document state that the specified file is currently in (may be nil if the file does not exist). The userReadableDocumentState parameter is an NSString which succinctly describes the current document state; if the file does not exist, a non-scary error will be displayed. The NSError parameter will contain a 404 error if the file does not exist. */
+- (void)documentStateForFile:(NSString *)documentName completion:(void (^)(UIDocumentState *documentState, NSString *userReadableDocumentState, NSError *error))handler __attribute__((nonnull));
+
+/** Monitor changes in the state of a document stored in iCloud
+ 
+ @param documentName The name of the file in iCloud. This value must not be nil.
+ @param sender Object registering as an observer. This value must not be nil.
+ @param selector Selector to be called when the document state changes. Must only have one argument, an instance of NSNotifcation whose object is an iCloudDocument (UIDocument subclass). This value must not be nil. 
+ @return YES if the monitoring was successfully setup, NO if there was an issue setting up the monitoring. */
+- (BOOL)monitorDocumentStateForFile:(NSString *)documentName onTarget:(id)sender withSelector:(SEL)selector __attribute__((nonnull));
+
+/** Stop monitoring changes to the state of a document stored in iCloud
+ 
+ @param documentName The name of the file in iCloud. This value must not be nil.
+ @param sender Object registered as an observer that will no longer receive document state updates. This value must not be nil.
+ @return YES if the monitoring was successfully setup, NO if there was an issue setting up the monitoring. */
+- (BOOL)stopMonitoringDocumentStateChangesForFile:(NSString *)documentName onTarget:(id)sender __attribute__((nonnull));
+
+
+
+/** @name Resolving iCloud Conflicts */
+
+/** Find all the conflicting versions of a specified document
+ 
+ @param documentName The name of the file in iCloud. This value must not be nil.
+ @return An array of NSFileVersion objects, or nil if no such version object exists. */
+- (NSArray *)findUnresolvedConflictingVersionsOfFile:(NSString *)documentName __attribute__((nonnull));
+
+/** Resolve a document conflict for a file stored in iCloud
+ 
+ @abstract Your application can follow one of three strategies for resolving document-version conflicts:
+ 
+ * Merge the changes from the conflicting versions.
+ * Choose one of the document versions based on some pertinent factor, such as the version with the latest modification date.
+ * Enable the user to view conflicting versions of a document and select the one to use.
+ 
+ @param documentName The name of the file in iCloud. This value must not be nil.
+ @param documentVersion The version of the document which should be kept and saved. All other conflicting versions will be removed. */
+- (void)resolveConflictForFile:(NSString *)documentName withSelectedFileVersion:(NSFileVersion *)documentVersion __attribute__((nonnull));
+
+
+
+/** @name Deprecated Methods */
+
+/** DEPRECATED. Use listCloudFiles instead. Get a list of files stored in iCloud
+ 
+ @deprecated Deprecated in version 7.3. Use listCloudFiles instead.
+ @return NSArray with a list of all the files currently stored in your app's iCloud Documents directory. May return a nil value if iCloud is unavailable. */
+- (NSArray *)getListOfCloudFiles __attribute((deprecated(" use listCloudFiles instead.")));
+
+/** DEPRECATED. Use saveAndCloseDocumentWithName:withContent:completion: instead. Record changes made to a document in iCloud. Changes are saved when the document is closed.
+ 
+ @deprecated Deprecated beginning in version 7.1. Use saveAndCloseDocumentWithName:withContent:completion: instead. This method may become unavailable in a future version.
+ 
+ @param documentName The name of the document being written to iCloud. This value must not be nil.
+ @param content The data to write to the document
+ @param handler Code block called when the document changes are recorded. The completion block passes UIDocument and NSData objects containing the saved document and it's contents in the form of NSData. The NSError object contains any error information if an error occurred, otherwise it will be nil. */
+- (void)saveChangesToDocumentWithName:(NSString *)documentName withContent:(NSData *)content completion:(void (^)(UIDocument *cloudDocument, NSData *documentData, NSError *error))handler __attribute__((nonnull)) __deprecated;
+
+/** DEPRECATED. Use uploadLocalOfflineDocuments instead, like so: [[iCloud sharedCloud] uploadLocalOfflineDocuments];
+ 
+ @deprecated Deprecated in version 7.0. Use uploadLocalOfflineDocuments instead.
+ @param delegate The iCloudDelegate object to be used for delegate notifications */
++ (void)uploadLocalOfflineDocumentsWithDelegate:(id<iCloudDelegate>)delegate __deprecated;
+
+/** DEPRECATED. Use updateFiles instead, like so: [[iCloud sharedCloud] updateFiles];
+ 
+ @deprecated Deprecated in version 7.0. Use updateFiles instead.
+ @param delegate The iCloudDelegate object to be used for delegate notifications */
++ (void)updateFilesWithDelegate:(id<iCloudDelegate>)delegate __deprecated;
+
+@end
+
+
+@class iCloud;
+/** The iCloudDelegate protocol defines the methods used to receive event notifications and allow for deeper control of the iCloud Class. */
+@protocol iCloudDelegate <NSObject>
+
+
+/** @name Optional Delegate Methods */
+
+@optional
+
+/** Called when the availability of iCloud changes
+ 
+ @param cloudIsAvailable Boolean value that is YES if iCloud is available and NO if iCloud is not available 
+ @param ubiquityToken An iCloud ubiquity token that represents the current iCloud identity. Can be used to determine if iCloud is available and if the iCloud account has been changed (ex. if the user logged out and then logged in with a different iCloud account). This object may be nil if iCloud is not available for any reason.
+ @param ubiquityContainer The root URL path to the current application's ubiquity container. This URL may be nil until the ubiquity container is initialized. */
+- (void)iCloudAvailabilityDidChangeToState:(BOOL)cloudIsAvailable withUbiquityToken:(id)ubiquityToken withUbiquityContainer:(NSURL *)ubiquityContainer;
+
+
+/** Called when the iCloud initiaization process is finished and the iCloud is available
+ 
+ @param cloudToken An iCloud ubiquity token that represents the current iCloud identity. Can be used to determine if iCloud is available and if the iCloud account has been changed (ex. if the user logged out and then logged in with a different iCloud account). This object may be nil if iCloud is not available for any reason.
+ @param ubiquityContainer The root URL path to the current application's ubiquity container. This URL may be nil until the ubiquity container is initialized. */
+- (void)iCloudDidFinishInitializingWitUbiquityToken:(id)cloudToken withUbiquityContainer:(NSURL *)ubiquityContainer;
+
+
+
+/** Called before creating an iCloud Query filter. Specify the type of file to be queried. 
+ 
+ @discussion If this delegate is not implemented or returns nil, all files stored in the documents directory will be queried.
+ 
+ @return An NSString with one file extension formatted like this: @"txt" */
+- (NSString *)iCloudQueryLimitedToFileExtension;
+
+
+/** Called before an iCloud Query begins.
+ @discussion This may be useful to display interface updates. */
+- (void)iCloudFileUpdateDidBegin;
+
+
+/** Called when an iCloud Query ends.
+ @discussion This may be useful to display interface updates. */
+- (void)iCloudFileUpdateDidEnd;
+
+
+/** Tells the delegate that the files in iCloud have been modified
+ 
+ @param files A list of the files now in the app's iCloud documents directory - each NSMetadataItem in the array contains information such as file version, url, localized name, date, etc.
+ @param fileNames A list of the file names (NSString) now in the app's iCloud documents directory */
+- (void)iCloudFilesDidChange:(NSMutableArray *)files withNewFileNames:(NSMutableArray *)fileNames;
+
+
+/** Sent to the delegate where there is a conflict between a local file and an iCloud file during an upload or download
+ 
+ @discussion When both files have the same modification date and file content, iCloud Document Sync will not be able to automatically determine how to handle the conflict. As a result, this delegate method is called to pass the file information to the delegate which should be able to appropriately handle and resolve the conflict. The delegate should, if needed, present the user with a conflict resolution interface. iCloud Document Sync does not need to know the result of the attempted resolution, it will continue to upload all files which are not conflicting. 
+ 
+ It is important to note that **this method may be called more than once in a very short period of time** - be prepared to handle the data appropriately.
+ 
+ The delegate is only notified about conflicts during upload and download procedures with iCloud. This method does not monitor for document conflicts between documents which already exist in iCloud. There are other methods provided to you to detect document state and state changes / conflicts.
+ 
+ @param cloudFile An NSDictionary with the cloud file and various other information. This parameter contains the fileContent as NSData, fileURL as NSURL, and modifiedDate as NSDate.
+ @param localFile An NSDictionary with the local file and various other information. This parameter contains the fileContent as NSData, fileURL as NSURL, and modifiedDate as NSDate. */
+- (void)iCloudFileConflictBetweenCloudFile:(NSDictionary *)cloudFile andLocalFile:(NSDictionary *)localFile;
+
+
+
+
+/** @name Deprecated Delegate Methods */
+
+
+/** DEPRECATED. Sent to the delegate where there is a conflict between a local file and an iCloud file during an upload
+ 
+ @deprecated Deprecated in version 7.0. Use iCloudFileConflictBetweenCloudFile:andLocalFile: instead.
+ 
+ @param cloudFile An NSDictionary with the cloud file and various other information. This parameter contains the fileContent as NSData, fileURL as NSURL, and modifiedDate as NSDate.
+ @param localFile An NSDictionary with the local file and various other information. This parameter contains the fileContent as NSData, fileURL as NSURL, and modifiedDate as NSDate. */
+- (void)iCloudFileUploadConflictWithCloudFile:(NSDictionary *)cloudFile andLocalFile:(NSDictionary *)localFile __deprecated;
+
+
+/** DEPRECATED. Called when there is an error while performing an iCloud process
+ 
+ @deprecated Deprecated in version 6.1. Use the NSError parameter available in corresponding methods' completion handlers.
+ @param error An NSError with a message, error code, and information */
+- (void)iCloudError:(NSError *)error __deprecated __unavailable;
+
+/** DEPRECATED. Tells the delegate that there was an error while performing a process
+ 
+ @deprecated Deprecated in version 6.0. Use the NSError parameter available in corresponding methods' completion handlers.
+ @param error Returns the NSError that occurred */
+- (void)cloudError:(NSError *)error __deprecated __unavailable;
+
+/** DEPRECATED. Tells the delegate that the files in iCloud have been modified
+ 
+ @deprecated Deprecated in version 6.0. Use iCloudFilesDidChange:withNewFileNames: instead.
+ 
+ @param files Returns a list of the files now in the app's iCloud documents directory - each file in the array contains information such as file version, url, localized name, date, etc.
+ @param fileNames Returns a list of the file names now in the app's iCloud documents directory */
+- (void)fileListChangedWithFiles:(NSMutableArray *)files andFileNames:(NSMutableArray *)fileNames __deprecated __unavailable;
+
+/** DEPRECATED. Tells the delegate that a document was successfully deleted.
+ @deprecated Deprecated in version 6.0. To be removed in version 8.0. Use the completion handlers in deleteDocumentWithName:completion: instead. */
+- (void)documentWasDeleted __deprecated __unavailable;
+
+/** DEPRECATED. Tells the delegate that a document was successfully saved
+ @deprecated Deprecated in version 6.0. To be removed in version 8.0. Use the completion handlers in saveDocumentWithName:withContent:completion: instead. */
+- (void)documentWasSaved __deprecated __unavailable;
+
+/** DEPRECATED. Tells the delegate that a document finished uploading
+ @deprecated Deprecated in version 6.0. To be removed in version 8.0. Use the completion handlers in uploadLocalOfflineDocumentsWithDelegate:repeatingHandler:completion: instead. */
+- (void)documentsFinishedUploading __deprecated __unavailable;
+
+/** DEPRECATED. Tells the delegate that a document started uploading
+ @deprecated Deprecated in version 6.0. To be removed in version 8.0. Delegate methods are no longer used to report method-specfic conditions and so this method is never called. Completion blocks are now used.  */
+- (void)documentsStartedUploading __deprecated __unavailable;
+
+/** DEPRECATED. Tells the delegate that a document started downloading
+ @deprecated Deprecated in version 6.0. To be removed in version 8.0. Delegate methods are no longer used to report method-specfic conditions and so this method is never called. Completion blocks are now used.  */
+- (void)documentsStartedDownloading __deprecated __unavailable;
+
+/** DEPRECATED. Tells the delegate that a document finished downloading
+ @deprecated Deprecated in version 6.0. To be removed in version 8.0. Delegate methods are no longer used to report method-specfic conditions and so this method is never called. Completion blocks are now used. */
+- (void)documentsFinishedDownloading __deprecated __unavailable;
+
+
+
+@end

+ 1764 - 0
ios/JianYuIOS/Pods/iCloudDocumentSync/iCloud/iCloud.m

@@ -0,0 +1,1764 @@
+//
+//  iCloud.m
+//  iCloud Document Sync
+//
+//  Created by iRare Media. Last updated January 2015.
+//  Available on GitHub. Licensed under MIT with Attribution.
+//
+
+#import "iCloud.h"
+
+// Check for ARC
+#if !__has_feature(objc_arc)
+    // Add the -fobjc-arc flag to enable ARC for only these files, as described in the ARC documentation: http://clang.llvm.org/docs/AutomaticReferenceCounting.html
+    #error iCloudDocumentSync is built with Objective-C ARC. You must enable ARC for iCloudDocumentSync.
+#endif
+
+@interface iCloud ()
+
+@property (nonatomic, assign) UIBackgroundTaskIdentifier backgroundProcess;
+@property (nonatomic, strong) NSFileManager *fileManager;
+@property (nonatomic, strong) NSNotificationCenter *notificationCenter;
+@property (nonatomic, copy) NSString *fileExtension;
+@property (nonatomic, strong) NSURL *ubiquityContainer;
+
+/// Setup and start the metadata query and related notifications
+- (void)enumerateCloudDocuments;
+
+/// Called by the NSMetadataQuery notifications to updateFiles
+- (void)startUpdate:(NSMetadataQuery *)notification;
+
+/// Perform a quick a straightforward iCloud check without logging - for internal use
+- (BOOL)quickCloudCheck;
+
+@end
+
+@implementation iCloud
+
+//---------------------------------------------------------------------------------------------------------------------------------------------//
+//------------ Setup --------------------------------------------------------------------------------------------------------------------------//
+//---------------------------------------------------------------------------------------------------------------------------------------------//
+#pragma mark - Setup
+
++ (instancetype)sharedCloud {
+    static iCloud *sharedManager = nil;
+    static dispatch_once_t onceToken;
+    dispatch_once(&onceToken, ^{
+        sharedManager = [[self alloc] init];
+    });
+    return sharedManager;
+}
+
+- (instancetype)init {
+    self = [super init];
+    return self;
+}
+
+- (void)dealloc {
+    [self.notificationCenter removeObserver:self];
+}
+
+- (void)setupiCloudDocumentSyncWithUbiquityContainer:(NSString *)containerID {
+    // Setup the File Manager
+    if (_fileManager == nil) _fileManager = [NSFileManager defaultManager];
+    
+    // Setup the Notification Center
+    if (_notificationCenter == nil) _notificationCenter = [NSNotificationCenter defaultCenter];
+    
+    // Initialize file lists, results, and queries
+    if (_fileList == nil) _fileList = [NSMutableArray array];
+    if (_previousQueryResults == nil) _previousQueryResults = [NSMutableArray array];
+    if (_query == nil) _query = [[NSMetadataQuery alloc] init];
+    
+    // Check the iCloud Ubiquity Container
+    dispatch_async(dispatch_get_global_queue (DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), ^(void) {
+        NSLog(@"[iCloud] Initializing Ubiquity Container");
+        
+        _ubiquityContainer = [[NSFileManager defaultManager] URLForUbiquityContainerIdentifier:containerID];
+        if (_ubiquityContainer) {
+            // We can write to the ubiquity container
+            
+            dispatch_async(dispatch_get_main_queue (), ^(void) {
+                // On the main thread, update UI and state as appropriate
+                NSLog(@"[iCloud] Initializing Document Enumeration");
+                
+                // Check iCloud Availability
+                id cloudToken = [_fileManager ubiquityIdentityToken];
+                
+                // Sync and Update Documents List
+                [self enumerateCloudDocuments];
+                
+                // Subscribe to changes in iCloud availability (should run on main thread)
+                [_notificationCenter addObserver:self selector:@selector(checkCloudAvailability) name:NSUbiquityIdentityDidChangeNotification object:nil];
+                
+                if ([_delegate respondsToSelector:@selector(iCloudDidFinishInitializingWitUbiquityToken: withUbiquityContainer:)])
+                    [_delegate iCloudDidFinishInitializingWitUbiquityToken:cloudToken withUbiquityContainer:_ubiquityContainer];
+            });
+            
+            // Log the setup
+            NSLog(@"[iCloud] Ubiquity Container Created and Ready");
+        } else {
+            NSString *appName = [[NSBundle mainBundle] objectForInfoDictionaryKey:@"CFBundleDisplayName"];
+            NSLog(@"[iCloud] The systemt could not retrieve a valid iCloud container URL. iCloud is not available. iCloud may be unavailable for a number of reasons:\n• The device has not yet been configured with an iCloud account, or the Documents & Data option is disabled\n• Your app, %@, does not have properly configured entitlements\n• Your app, %@, has a provisioning profile which does not support iCloud.\nGo to http://bit.ly/18HkxPp for more information on setting up iCloud", appName, appName);
+            
+            if ([self.delegate respondsToSelector:@selector(iCloudAvailabilityDidChangeToState:withUbiquityToken:withUbiquityContainer:)])
+                [self.delegate iCloudAvailabilityDidChangeToState:NO withUbiquityToken:nil withUbiquityContainer:self.ubiquityContainer];
+        }
+    });
+    
+    // Log the setup
+    NSLog(@"[iCloud] Initialized");
+}
+
+//---------------------------------------------------------------------------------------------------------------------------------------------//
+//------------ Basic --------------------------------------------------------------------------------------------------------------------------//
+//---------------------------------------------------------------------------------------------------------------------------------------------//
+#pragma mark - Basic
+
+- (BOOL)checkCloudAvailability {
+    id cloudToken = [self.fileManager ubiquityIdentityToken];
+    if (cloudToken) {
+        if (self.verboseAvailabilityLogging == YES) NSLog(@"[iCloud] iCloud is available. Ubiquity URL: %@\nUbiquity Token: %@", self.ubiquityContainer, cloudToken);
+        
+        if ([self.delegate respondsToSelector:@selector(iCloudAvailabilityDidChangeToState:withUbiquityToken:withUbiquityContainer:)])
+            [self.delegate iCloudAvailabilityDidChangeToState:YES withUbiquityToken:cloudToken withUbiquityContainer:self.ubiquityContainer];
+        
+        return YES;
+    } else {
+        if (self.verboseAvailabilityLogging == YES)
+            NSLog(@"[iCloud] iCloud is not available. iCloud may be unavailable for a number of reasons:\n• The device has not yet been configured with an iCloud account, or the Documents & Data option is disabled\n• Your app, %@, does not have properly configured entitlements\nGo to http://bit.ly/18HkxPp for more information on setting up iCloud", [[NSBundle mainBundle] infoDictionary][@"CFBundleName"]);
+        else
+            NSLog(@"[iCloud] iCloud unavailable");
+        
+        if ([self.delegate respondsToSelector:@selector(iCloudAvailabilityDidChangeToState:withUbiquityToken:withUbiquityContainer:)])
+            [self.delegate iCloudAvailabilityDidChangeToState:NO withUbiquityToken:nil withUbiquityContainer:self.ubiquityContainer];
+        
+        return NO;
+    }
+}
+
+- (BOOL)checkCloudUbiquityContainer {
+	if (self.ubiquityContainer) return YES;
+	else return NO;
+}
+
+- (BOOL)quickCloudCheck {
+    if ([self.fileManager ubiquityIdentityToken]) return YES;
+    else return NO;
+}
+
+- (NSURL *)ubiquitousContainerURL {
+    return self.ubiquityContainer;
+}
+
+- (NSURL *)ubiquitousDocumentsDirectoryURL {
+    // Use the instance variable here - no need to start the retrieval process again
+    if (self.ubiquityContainer == nil) self.ubiquityContainer = [[NSFileManager defaultManager] URLForUbiquityContainerIdentifier:nil];
+    NSURL *documentsDirectory = [self.ubiquityContainer URLByAppendingPathComponent:DOCUMENT_DIRECTORY];
+    NSError *error;
+    
+    // Ensure that the documents directory is not nil, if it is return the local path
+    if (documentsDirectory == nil) {
+        NSURL *nonUbiquitousDocumentsDirectory = [[NSFileManager defaultManager] URLsForDirectory:NSDocumentDirectory inDomains:NSUserDomainMask].firstObject;
+        
+        NSLog(@"[iCloud] iCloud is not available. iCloud may be unavailable for a number of reasons:\n• The device has not yet been configured with an iCloud account, or the Documents & Data option is disabled\n• Your app, %@, does not have properly configured entitlements\nGo to http://bit.ly/18HkxPp for more information on setting up iCloud", [[NSBundle mainBundle] infoDictionary][@"CFBundleName"]);
+        
+        NSLog(@"[iCloud] WARNING: Using local documents directory until iCloud is available.");
+        
+        if ([self.delegate respondsToSelector:@selector(iCloudAvailabilityDidChangeToState:withUbiquityToken:withUbiquityContainer:)])
+            [self.delegate iCloudAvailabilityDidChangeToState:NO withUbiquityToken:nil withUbiquityContainer:self.ubiquityContainer];
+        
+        return nonUbiquitousDocumentsDirectory;
+    }
+    
+    BOOL isDirectory = NO;
+    BOOL isFile = [self.fileManager fileExistsAtPath:[documentsDirectory path] isDirectory:&isDirectory];
+    
+    if (isFile) {
+        // It exists, check if it's a directory
+        if (isDirectory == YES) return documentsDirectory;
+        else {
+            [self.fileManager removeItemAtPath:[documentsDirectory path] error:&error];
+            [self.fileManager createDirectoryAtURL:documentsDirectory withIntermediateDirectories:YES attributes:nil error:&error];
+            return documentsDirectory;
+        }
+    } else {
+        [self.fileManager createDirectoryAtURL:documentsDirectory withIntermediateDirectories:YES attributes:nil error:&error];
+        return documentsDirectory;
+    }
+}
+
+//---------------------------------------------------------------------------------------------------------------------------------------------//
+//------------ Sync ---------------------------------------------------------------------------------------------------------------------------//
+//---------------------------------------------------------------------------------------------------------------------------------------------//
+#pragma mark - Sync
+
+- (void)enumerateCloudDocuments {
+    // Log document enumeration
+    if (self.verboseLogging == YES) NSLog(@"[iCloud] Creating metadata query and notifications");
+    
+    // Request information from the delegate
+    if ([self.delegate respondsToSelector:@selector(iCloudQueryLimitedToFileExtension)]) {
+        NSString *fileExt = [self.delegate iCloudQueryLimitedToFileExtension];
+        if (fileExt != nil && ![fileExt isEqualToString:@""]) self.fileExtension = fileExt;
+        else self.fileExtension = @"*";
+        
+        // Log file extension
+        NSLog(@"[iCloud] Document query filter has been set to %@", self.fileExtension);
+    } else self.fileExtension = @"*";
+    
+    // Setup iCloud Metadata Query
+	[self.query setSearchScopes:@[NSMetadataQueryUbiquitousDocumentsScope]];
+	[self.query setPredicate:[NSPredicate predicateWithFormat:[NSString stringWithFormat:@"%%K.pathExtension LIKE '%@'", self.fileExtension], NSMetadataItemFSNameKey]];
+    
+    // Notify the responder that an update has begun
+	[self.notificationCenter addObserver:self selector:@selector(startUpdate:) name:NSMetadataQueryDidStartGatheringNotification object:self.query];
+    
+    // Notify the responder that an update has been pushed
+	[self.notificationCenter addObserver:self selector:@selector(recievedUpdate:) name:NSMetadataQueryDidUpdateNotification object:self.query];
+    
+    // Notify the responder that the update has completed
+	[self.notificationCenter addObserver:self selector:@selector(endUpdate:) name:NSMetadataQueryDidFinishGatheringNotification object:self.query];
+    
+    // Start the query on the main thread
+    dispatch_async(dispatch_get_main_queue(), ^{
+        BOOL startedQuery = [self.query startQuery];
+        if (!startedQuery) {
+            NSLog(@"[iCloud] Failed to start query.");
+            return;
+        } else {
+            if (self.verboseLogging == YES) NSLog(@"[iCloud] Query initialized successfully"); // Log file query success
+        }
+    });
+}
+
+- (void)startUpdate:(NSNotification *)notification {
+    // Log file update
+    if (self.verboseLogging == YES) NSLog(@"[iCloud] Beginning file update with NSMetadataQuery");
+    
+    // Notify the delegate of the results on the main thread
+    dispatch_async(dispatch_get_main_queue(), ^{
+        if ([self.delegate respondsToSelector:@selector(iCloudFileUpdateDidBegin)])
+            [self.delegate iCloudFileUpdateDidBegin];
+    });
+}
+
+- (void)recievedUpdate:(NSNotification *)notification {
+    // Log file update
+    if (self.verboseLogging == YES) NSLog(@"[iCloud] An update has been pushed from iCloud with NSMetadataQuery");
+    
+    // Get the updated files
+    [self updateFiles];
+}
+
+- (void)endUpdate:(NSNotification *)notification {
+    // Get the updated files
+    [self updateFiles];
+    
+    // Notify the delegate of the results on the main thread
+    dispatch_async(dispatch_get_main_queue(), ^{
+        if ([self.delegate respondsToSelector:@selector(iCloudFileUpdateDidEnd)])
+            [self.delegate iCloudFileUpdateDidEnd];
+    });
+    
+    // Log query completion
+    if (self.verboseLogging == YES) NSLog(@"[iCloud] Finished file update with NSMetadataQuery");
+}
+
+- (void)updateFiles {
+    // Log file update
+    if (self.verboseLogging == YES) NSLog(@"[iCloud] Beginning file update with NSMetadataQuery");
+    
+    // Check for iCloud
+    if ([self quickCloudCheck] == NO) return;
+    
+    // Initialize the discovered files and file names array
+    NSMutableArray *discoveredFiles = [NSMutableArray array];
+    NSMutableArray *names = [NSMutableArray array];
+    
+#if __IPHONE_OS_VERSION_MAX_ALLOWED >= 70000
+    // Code for iOS 7.0 and later
+    
+    // Enumerate through the results
+    [self.query enumerateResultsUsingBlock:^(id result, NSUInteger idx, BOOL *stop) {
+        // Grab the file URL
+        NSURL *fileURL = [result valueForAttribute:NSMetadataItemURLKey];
+        NSString *fileStatus;
+        [fileURL getResourceValue:&fileStatus forKey:NSURLUbiquitousItemDownloadingStatusKey error:nil];
+        
+        if ([fileStatus isEqualToString:NSURLUbiquitousItemDownloadingStatusDownloaded]) {
+            // File will be updated soon
+        }
+        
+        if ([fileStatus isEqualToString:NSURLUbiquitousItemDownloadingStatusCurrent]) {
+            // Add the file metadata and file names to arrays
+            [discoveredFiles addObject:result];
+            [names addObject:[result valueForAttribute:NSMetadataItemFSNameKey]];
+            
+            if (self.query.resultCount-1 >= idx) {
+                // Notify the delegate of the results on the main thread
+                dispatch_async(dispatch_get_main_queue(), ^{
+                    if ([self.delegate respondsToSelector:@selector(iCloudFilesDidChange:withNewFileNames:)])
+                        [self.delegate iCloudFilesDidChange:discoveredFiles withNewFileNames:names];
+                });
+            }
+        } else if ([fileStatus isEqualToString:NSURLUbiquitousItemDownloadingStatusNotDownloaded]) {
+            NSError *error;
+            BOOL downloading = [[NSFileManager defaultManager] startDownloadingUbiquitousItemAtURL:fileURL error:&error];
+            if (self.verboseLogging == YES) NSLog(@"[iCloud] %@ started downloading locally, successful? %@", [fileURL lastPathComponent], downloading ? @"YES" : @"NO");
+            if (error) {
+                if (self.verboseLogging == YES) NSLog(@"[iCloud] Ubiquitous item failed to start downloading with error: %@", error);
+            }
+        }
+    }];
+#else
+    // Code for iOS 6.1 and earlier
+    
+    // Disable updates to iCloud while we update to avoid errors
+    [self.query disableUpdates];
+    
+    // The query reports all files found, every time
+    NSArray *queryResults = self.query.results;
+    
+    // Log the query results
+    if (self.verboseLogging == YES) NSLog(@"Query Results: %@", self.query.results);
+    
+    // Gather the query results
+    for (NSMetadataItem *result in queryResults) {
+        NSURL *fileURL = [result valueForAttribute:NSMetadataItemURLKey];
+        [discoveredFiles addObject:result];
+    }
+    
+    // Get file names in from the query
+    NSMutableArray *names = [NSMutableArray array];
+    for (NSMetadataItem *item in self.query.results) {
+        [names addObject:[item valueForAttribute:NSMetadataItemFSNameKey]];
+    }
+    
+    // Log query completion
+    if (self.verboseLogging == YES) NSLog(@"[iCloud] Finished file update with NSMetadataQuery");
+    
+    // Notify the delegate of the results on the main thread
+    dispatch_async(dispatch_get_main_queue(), ^{
+        if ([self.delegate respondsToSelector:@selector(iCloudFilesDidChange:withNewFileNames:)])
+            [self.delegate iCloudFilesDidChange:discoveredFiles withNewFileNames:names];
+    });
+    
+    // Reenable Updates
+    [self.query enableUpdates];
+#endif
+}
+
+
+//---------------------------------------------------------------------------------------------------------------------------------------------//
+//------------ Write --------------------------------------------------------------------------------------------------------------------------//
+//---------------------------------------------------------------------------------------------------------------------------------------------//
+#pragma mark - Write
+
+- (void)saveAndCloseDocumentWithName:(NSString *)documentName withContent:(NSData *)content completion:(void (^)(UIDocument *cloudDocument, NSData *documentData, NSError *error))handler {
+    // Log save
+    if (self.verboseLogging == YES) NSLog(@"[iCloud] Beginning document save");
+    
+    // Check for iCloud
+    if ([self quickCloudCheck] == NO) return;
+    
+    // Check for nil / null document name
+    if (documentName == nil || [documentName isEqualToString:@""]) {
+        // Log error
+        if (self.verboseLogging == YES) NSLog(@"[iCloud] Specified document name must not be empty");
+        NSError *error = [NSError errorWithDomain:@"The specified document name was empty / blank and could not be saved. Specify a document name next time." code:001 userInfo:nil];
+        
+        handler(nil, nil, error);
+        
+        return;
+    }
+    
+    // Get the URL to save the new file to
+    NSURL *fileURL = [[self ubiquitousDocumentsDirectoryURL] URLByAppendingPathComponent:documentName];
+    
+    // Initialize a document with that path
+    iCloudDocument *document = [[iCloudDocument alloc] initWithFileURL:fileURL];
+    document.contents = content;
+    [document updateChangeCount:UIDocumentChangeDone];
+    
+    if ([self.fileManager fileExistsAtPath:[fileURL path]]) {
+		// The document did not exist and is being saved for the first time.
+		
+        if (self.verboseLogging == YES) NSLog(@"[iCloud] Document exists; overwriting, saving and closing");
+        // Save and create the new document, then close it
+        [document saveToURL:document.fileURL forSaveOperation:UIDocumentSaveForOverwriting completionHandler:^(BOOL success) {
+            if (success) {
+				// Save and close the document
+				[document closeWithCompletionHandler:^(BOOL closeSuccess) {
+					if (closeSuccess) {
+						// Log
+						if (self.verboseLogging == YES) NSLog(@"[iCloud] Written, saved and closed document");
+						
+						handler(document, document.contents, nil);
+					} else {
+						NSLog(@"[iCloud] Error while saving document: %s", __PRETTY_FUNCTION__);
+						NSError *error = [NSError errorWithDomain:[NSString stringWithFormat:@"%s error while saving the document, %@, to iCloud", __PRETTY_FUNCTION__, document.fileURL] code:110 userInfo:@{@"FileURL": fileURL}];
+						
+						handler(document, document.contents, error);
+					}
+				}];
+				
+			} else {
+                NSLog(@"[iCloud] Error while writing to the document: %s", __PRETTY_FUNCTION__);
+                NSError *error = [NSError errorWithDomain:[NSString stringWithFormat:@"%s error while writing to the document, %@, in iCloud", __PRETTY_FUNCTION__, document.fileURL] code:100 userInfo:@{@"FileURL": fileURL}];
+                
+                handler(document, document.contents, error);
+            }
+		}];
+    } else {
+        if (self.verboseLogging == YES) NSLog(@"[iCloud] Document is new; creating, saving and then closing");
+        
+        // The document is being saved by overwriting the current version, then closed.
+        [document saveToURL:document.fileURL forSaveOperation:UIDocumentSaveForCreating completionHandler:^(BOOL success) {
+            if (success) {
+                // Saving implicitly opens the file
+                [document closeWithCompletionHandler:^(BOOL closeSuccess) {
+                    if (closeSuccess) {
+                        // Log the save and close
+                        if (self.verboseLogging == YES) NSLog(@"[iCloud] New document created, saved and closed successfully");
+                        
+                        handler(document, document.contents, nil);
+                    } else {
+                        NSLog(@"[iCloud] Error while saving and closing document: %s", __PRETTY_FUNCTION__);
+                        NSError *error = [NSError errorWithDomain:[NSString stringWithFormat:@"%s error while saving the document, %@, to iCloud", __PRETTY_FUNCTION__, document.fileURL] code:110 userInfo:@{@"FileURL": fileURL}];
+                        
+                        handler(document, document.contents, error);
+                    }
+                }];
+                
+                
+            } else {
+                NSLog(@"[iCloud] Error while creating the document: %s", __PRETTY_FUNCTION__);
+                NSError *error = [NSError errorWithDomain:[NSString stringWithFormat:@"%s error while creating the document, %@, in iCloud", __PRETTY_FUNCTION__, document.fileURL] code:100 userInfo:@{@"FileURL": fileURL}];
+                
+                handler(document, document.contents, error);
+            }
+        }];
+    }
+}
+
+- (void)uploadLocalOfflineDocumentsWithRepeatingHandler:(void (^)(NSString *documentName, NSError *error))repeatingHandler completion:(void (^)(void))completion {
+    // Log upload
+    if (self.verboseLogging == YES) NSLog(@"[iCloud] Beginning local file upload to iCloud. This process may take a long time.");
+    
+    // Check for iCloud
+    if ([self quickCloudCheck] == NO) return;
+    
+    // Perform tasks on background thread to avoid problems on the main / UI thread
+    dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0ul), ^{
+        // Get the array of files in the documents directory
+        NSString *documentsDirectory = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES)[0];
+        NSArray *localDocuments = [self.fileManager contentsOfDirectoryAtPath:documentsDirectory error:nil];
+        
+        // Log local files
+        if (self.verboseLogging == YES) NSLog(@"[iCloud] Files stored locally available for uploading: %@", localDocuments);
+        
+        // Compare the arrays then upload documents not already existent in iCloud
+        for (NSUInteger item = 0; item < [localDocuments count]; item++) {
+            
+            // Check to make sure the documents aren't hidden
+            if (![localDocuments[item] hasPrefix:@"."]) {
+                
+                // If the file does not exist in iCloud, upload it
+                if (![self.previousQueryResults containsObject:localDocuments[item]]) {
+                    // Log
+                    if (self.verboseLogging == YES) NSLog(@"[iCloud] Uploading %@ to iCloud (%lu out of %lu)", localDocuments[item], (unsigned long)item, (unsigned long)[localDocuments count]);
+                    
+                    // Move the file to iCloud
+                    NSURL *cloudURL = [[self ubiquitousDocumentsDirectoryURL] URLByAppendingPathComponent:localDocuments[item]];
+                    NSURL *localURL = [NSURL fileURLWithPath:[documentsDirectory stringByAppendingPathComponent:localDocuments[item]]];
+                    NSError *error;
+                    
+                    BOOL success = [self.fileManager setUbiquitous:YES itemAtURL:localURL destinationURL:cloudURL error:&error];
+                    if (success == NO) {
+                        NSLog(@"[iCloud] Error while uploading document from local directory: %@",error);
+                        dispatch_async(dispatch_get_main_queue(), ^{
+                            repeatingHandler(localDocuments[item], error);
+                        });
+                    } else {
+                        dispatch_async(dispatch_get_main_queue(), ^{
+                            repeatingHandler(localDocuments[item], nil);
+                        });
+                    }
+                    
+                } else {
+                    // Check if the local document is newer than the cloud document
+                    
+                    // Log conflict
+                    if (self.verboseLogging == YES) NSLog(@"[iCloud] Conflict between local file and remote file, attempting to automatically resolve");
+                    
+                    // Get the file URL for the iCloud document
+                    NSURL *cloudFileURL = [[self ubiquitousDocumentsDirectoryURL] URLByAppendingPathComponent:localDocuments[item]];
+                    NSURL *localFileURL = [NSURL fileURLWithPath:[documentsDirectory stringByAppendingPathComponent:localDocuments[item]]];
+                    
+                    // Create the UIDocument object from the URL
+                    iCloudDocument *document = [[iCloudDocument alloc] initWithFileURL:cloudFileURL];
+                    NSDate *cloudModDate = document.fileModificationDate;
+                    
+                    NSDictionary *fileAttributes = [self.fileManager attributesOfItemAtPath:[localFileURL absoluteString] error:nil];
+                    NSDate *localModDate = [fileAttributes fileModificationDate];
+                    NSData *localFileData = [self.fileManager contentsAtPath:[localFileURL absoluteString]];
+                    
+                    if ([cloudModDate compare:localModDate] == NSOrderedDescending) {
+                        NSLog(@"[iCloud] The iCloud file was modified more recently than the local file. The local file will be deleted and the iCloud file will be preserved.");
+                        NSError *error;
+                        
+                        if (![self.fileManager removeItemAtPath:[localFileURL absoluteString] error:&error]) {
+                            NSLog(@"[iCloud] Error deleting %@.\n\n%@", [localFileURL absoluteString], error);
+                        }
+                    } else if ([cloudModDate compare:localModDate] == NSOrderedAscending) {
+                        NSLog(@"[iCloud] The local file was modified more recently than the iCloud file. The iCloud file will be overwritten with the contents of the local file.");
+                        // Set the document's new content
+                        document.contents = localFileData;
+                        
+                        dispatch_async(dispatch_get_main_queue(), ^{
+                            // Save and close the document in iCloud
+                            [document saveToURL:document.fileURL forSaveOperation:UIDocumentSaveForOverwriting completionHandler:^(BOOL success) {
+                                if (success) {
+                                    // Close the document
+                                    [document closeWithCompletionHandler:^(BOOL closeSuccess) {
+                                        repeatingHandler(localDocuments[item], nil);
+                                    }];
+                                } else {
+                                    NSLog(@"[iCloud] Error while overwriting old iCloud file: %s", __PRETTY_FUNCTION__);
+                                    NSError *error = [NSError errorWithDomain:[NSString stringWithFormat:@"%s error while saving the document, %@, to iCloud", __PRETTY_FUNCTION__, document.fileURL] code:110 userInfo:@{@"FileName": localDocuments[item]}];
+                                    
+                                    repeatingHandler(localDocuments[item], error);
+                                }
+                            }];
+                        });
+                    } else {
+                        NSLog(@"[iCloud] The local file and iCloud file have the same modification date. Before overwriting or deleting, iCloud Document Sync will check if both files have the same content.");
+                        if ([self.fileManager contentsEqualAtPath:[cloudFileURL absoluteString] andPath:[localFileURL absoluteString]] == YES) {
+                            NSLog (@"[iCloud] The contents of the local file and the contents of the iCloud file match. The local file will be deleted.");
+                            NSError *error;
+                            
+                            if (![self.fileManager removeItemAtPath:[localFileURL absoluteString] error:&error]) {
+                                NSLog(@"[iCloud] Error deleting %@.\n\n%@", [localFileURL absoluteString], error);
+                            }
+                        } else {
+                            NSLog(@"[iCloud] Both the iCloud file and the local file were last modified at the same time, however their contents do not match. You'll need to handle the conflict using the iCloudFileConflictBetweenCloudFile:andLocalFile: delegate method.");
+                            NSDictionary *cloudFile = @{@"fileContents": document.contents, @"fileURL": cloudFileURL, @"modifiedDate": cloudModDate};
+                            NSDictionary *localFile = @{@"fileContents": localFileData, @"fileURL": localFileURL, @"modifiedDate": localModDate};;
+                            
+                            if ([self.delegate respondsToSelector:@selector(iCloudFileUploadConflictWithCloudFile:andLocalFile:)]) {
+                                [self.delegate iCloudFileConflictBetweenCloudFile:cloudFile andLocalFile:localFile];
+                            } else if ([self.delegate respondsToSelector:@selector(iCloudFileUploadConflictWithCloudFile:andLocalFile:)]) {
+                                NSLog(@"[iCloud] WARNING: iCloudFileUploadConflictWithCloudFile:andLocalFile is deprecated and will become unavailable in a future version. Use iCloudFileConflictBetweenCloudFile:andLocalFile instead.");
+#pragma clang diagnostic push
+#pragma clang diagnostic ignored "-Wdeprecated-declarations"
+                                [self.delegate iCloudFileUploadConflictWithCloudFile:cloudFile andLocalFile:localFile];
+#pragma clang diagnostic pop
+                            }
+                        }
+                    }
+                }
+            } else {
+                // The file is hidden, do not proceed
+                dispatch_async(dispatch_get_main_queue(), ^{
+                    NSError *error = [[NSError alloc] initWithDomain:@"File in directory is hidden and will not be uploaded to iCloud." code:520 userInfo:@{@"FileName": localDocuments[item]}];
+                    repeatingHandler(localDocuments[item], error);
+                });
+            }
+        }
+        
+        // Log completion
+        if (self.verboseLogging == YES) NSLog(@"[iCloud] Finished uploading all local files to iCloud");
+        
+        dispatch_async(dispatch_get_main_queue(), ^{
+            if (completion)
+                completion();
+        });
+    });
+}
+
+- (void)uploadLocalDocumentToCloudWithName:(NSString *)documentName completion:(void (^)(NSError *error))handler {
+    // Log download
+    if (self.verboseLogging == YES) NSLog(@"[iCloud] Attempting to upload document, %@", documentName);
+    
+    // Check for iCloud
+    if ([self quickCloudCheck] == NO) return;
+    
+    // Check for nil / null document name
+    if (documentName == nil || [documentName isEqualToString:@""]) {
+        // Log error
+        if (self.verboseLogging == YES) NSLog(@"[iCloud] Specified document name must not be empty");
+        NSError *error = [NSError errorWithDomain:@"The specified document name was empty / blank and could not be saved. Specify a document name next time." code:001 userInfo:nil];
+        
+        handler(error);
+        
+        return;
+    }
+    
+    // Perform tasks on background thread to avoid problems on the main / UI thread
+    dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0ul), ^{
+        // Get the array of files in the documents directory
+        NSString *documentsDirectory = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES)[0];
+        NSString *localDocument = [documentsDirectory stringByAppendingPathComponent:documentName];
+        
+        // If the file does not exist in iCloud, upload it
+        if (![self.previousQueryResults containsObject:localDocument]) {
+            // Log
+            if (self.verboseLogging == YES) NSLog(@"[iCloud] Uploading %@ to iCloud", localDocument);
+            
+            // Move the file to iCloud
+            NSURL *cloudURL = [[self ubiquitousDocumentsDirectoryURL] URLByAppendingPathComponent:documentName];
+            NSURL *localURL = [NSURL fileURLWithPath:localDocument];
+            NSError *error;
+            
+            BOOL success = [self.fileManager setUbiquitous:YES itemAtURL:localURL destinationURL:cloudURL error:&error];
+            if (!success) {
+                NSLog(@"[iCloud] Error while uploading document from local directory: %@", error);
+                dispatch_async(dispatch_get_main_queue(), ^{
+                    handler(error);
+                    return;
+                });
+            } else {
+                dispatch_async(dispatch_get_main_queue(), ^{
+                    handler(nil);
+                    return;
+                });
+            }
+            
+        } else {
+            // Check if the local document is newer than the cloud document
+            
+            // Log conflict
+            if (self.verboseLogging == YES) NSLog(@"[iCloud] Conflict between local file and remote file, attempting to automatically resolve");
+            
+            // Get the file URL for the documents
+            NSURL *cloudURL = [[self ubiquitousDocumentsDirectoryURL] URLByAppendingPathComponent:documentName];
+            NSURL *localURL = [NSURL fileURLWithPath:[documentsDirectory stringByAppendingPathComponent:localDocument]];
+            
+            // Create the UIDocument object from the URL
+            iCloudDocument *document = [[iCloudDocument alloc] initWithFileURL:cloudURL];
+            NSDate *cloudModDate = document.fileModificationDate;
+            
+            NSDictionary *fileAttributes = [self.fileManager attributesOfItemAtPath:[localURL absoluteString] error:nil];
+            NSDate *localModDate = [fileAttributes fileModificationDate];
+            NSData *localFileData = [self.fileManager contentsAtPath:[localURL absoluteString]];
+            
+            if ([cloudModDate compare:localModDate] == NSOrderedDescending) {
+                NSLog(@"[iCloud] The iCloud file was modified more recently than the local file. The local file will be deleted and the iCloud file will be preserved.");
+                NSError *error;
+                
+                if (![self.fileManager removeItemAtPath:[localURL absoluteString] error:&error]) {
+                    NSLog(@"[iCloud] Error deleting %@.\n\n%@", [localURL absoluteString], error);
+                    return;
+                }
+            } else if ([cloudModDate compare:localModDate] == NSOrderedAscending) {
+                NSLog(@"[iCloud] The local file was modified more recently than the iCloud file. The iCloud file will be overwritten with the contents of the local file.");
+                // Set the document's new content
+                document.contents = localFileData;
+                
+                dispatch_async(dispatch_get_main_queue(), ^{
+                    // Save and close the document in iCloud
+                    [document saveToURL:document.fileURL forSaveOperation:UIDocumentSaveForOverwriting completionHandler:^(BOOL success) {
+                        if (success) {
+                            // Close the document
+                            [document closeWithCompletionHandler:^(BOOL closeSuccess) {
+                                handler(nil);
+                                return;
+                            }];
+                        } else {
+                            NSLog(@"[iCloud] Error while overwriting old iCloud file: %s", __PRETTY_FUNCTION__);
+                            NSError *error = [NSError errorWithDomain:[NSString stringWithFormat:@"%s error while saving the document, %@, to iCloud", __PRETTY_FUNCTION__, document.fileURL] code:110 userInfo:@{@"FileName": localDocument}];
+                            
+                            handler(error);
+                            return;
+                        }
+                    }];
+                });
+            } else {
+                NSLog(@"[iCloud] The local file and iCloud file have the same modification date. Before overwriting or deleting, iCloud Document Sync will check if both files have the same content.");
+                if ([self.fileManager contentsEqualAtPath:[cloudURL absoluteString] andPath:[localURL absoluteString]] == YES) {
+                    NSLog (@"[iCloud] The contents of the local file and the contents of the iCloud file match. The local file will be deleted.");
+                    NSError *error;
+                    
+                    if (![self.fileManager removeItemAtPath:[localURL absoluteString] error:&error]) {
+                        NSLog(@"[iCloud] Error deleting %@.\n\n%@", [localURL absoluteString], error);
+                        return;
+                    }
+                } else {
+                    NSLog(@"[iCloud] Both the iCloud file and the local file were last modified at the same time, however their contents do not match. You'll need to handle the conflict using the iCloudFileConflictBetweenCloudFile:andLocalFile: delegate method.");
+                    NSDictionary *cloudFile = @{@"fileContents": document.contents, @"fileURL": cloudURL, @"modifiedDate": cloudModDate};
+                    NSDictionary *localFile = @{@"fileContents": localFileData, @"fileURL": localURL, @"modifiedDate": localModDate};;
+                    
+                    if ([self.delegate respondsToSelector:@selector(iCloudFileUploadConflictWithCloudFile:andLocalFile:)]) {
+                        [self.delegate iCloudFileConflictBetweenCloudFile:cloudFile andLocalFile:localFile];
+                    } else if ([self.delegate respondsToSelector:@selector(iCloudFileUploadConflictWithCloudFile:andLocalFile:)]) {
+                        NSLog(@"[iCloud] WARNING: iCloudFileUploadConflictWithCloudFile:andLocalFile is deprecated and will become unavailable in a future version. Use iCloudFileConflictBetweenCloudFile:andLocalFile instead.");
+#pragma clang diagnostic push
+#pragma clang diagnostic ignored "-Wdeprecated-declarations"
+                        [self.delegate iCloudFileUploadConflictWithCloudFile:cloudFile andLocalFile:localFile];
+#pragma clang diagnostic pop
+                    }
+                    
+                    return;
+                }
+            }
+        }
+        
+        // Log completion
+        if (self.verboseLogging == YES) NSLog(@"[iCloud] Finished uploading local file to iCloud");
+        
+        dispatch_async(dispatch_get_main_queue(), ^{
+            handler(nil);
+            return;
+        });
+    });
+}
+
+//---------------------------------------------------------------------------------------------------------------------------------------------//
+//------------ Read ---------------------------------------------------------------------------------------------------------------------------//
+//---------------------------------------------------------------------------------------------------------------------------------------------//
+#pragma mark - Read
+
+- (void)retrieveCloudDocumentWithName:(NSString *)documentName completion:(void (^)(UIDocument *cloudDocument, NSData *documentData, NSError *error))handler {
+    // Log Retrieval
+    if (self.verboseLogging == YES) NSLog(@"[iCloud] Retrieving iCloud document, %@", documentName);
+    
+    // Check for iCloud availability
+    if ([self quickCloudCheck] == NO) return;
+    
+    // Check for nil / null document name
+    if (documentName == nil || [documentName isEqualToString:@""]) {
+        // Log error
+        if (self.verboseLogging == YES) NSLog(@"[iCloud] Specified document name must not be empty");
+        NSError *error = [NSError errorWithDomain:@"The specified document name was empty / blank and could not be saved. Specify a document name next time." code:001 userInfo:nil];
+        
+        handler(nil, nil, error);
+        
+        return;
+    }
+    
+    @try {
+        // Get the URL to get the file from
+        NSURL *fileURL = [[self ubiquitousDocumentsDirectoryURL] URLByAppendingPathComponent:documentName];
+        
+        // If the file exists open it; otherwise, create it
+        if ([self.fileManager fileExistsAtPath:[fileURL path]]) {
+            // Log opening
+            if (self.verboseLogging == YES) NSLog(@"[iCloud] The document, %@, already exists and will be opened", documentName);
+            
+            // Create the UIDocument object from the URL
+            iCloudDocument *document = [[iCloudDocument alloc] initWithFileURL:fileURL];
+            
+            if (document.documentState & UIDocumentStateClosed) {
+                if (self.verboseLogging == YES) NSLog(@"[iCloud] Document is closed and will be opened");
+                
+                [document openWithCompletionHandler:^(BOOL success){
+                    if (success) {
+                        // Log open
+                        if (self.verboseLogging == YES) NSLog(@"[iCloud] Opened document");
+                        
+                        // Pass data on to the completion handler on the main thread
+                        dispatch_async(dispatch_get_main_queue(), ^{
+                            handler(document, document.contents, nil);
+                        });
+                        
+                        return;
+                    } else {
+                        NSLog(@"[iCloud] Error while retrieving document: %s", __PRETTY_FUNCTION__);
+                        NSError *error = [NSError errorWithDomain:[NSString stringWithFormat:@"%s error while retrieving document, %@, from iCloud", __PRETTY_FUNCTION__, document.fileURL] code:200 userInfo:@{@"FileURL": fileURL}];
+                        
+                        // Pass data on to the completion handler on the main thread
+                        dispatch_async(dispatch_get_main_queue(), ^{
+                            handler(document, document.contents, error);
+                        });
+                        
+                        return;
+                    }
+                }];
+            } else if (document.documentState & UIDocumentStateNormal) {
+                // Log open
+                if (self.verboseLogging == YES) NSLog(@"[iCloud] Document already opened, retrieving content");
+                
+                // Pass data on to the completion handler on the main thread
+                dispatch_async(dispatch_get_main_queue(), ^{
+                    handler(document, document.contents, nil);
+                });
+                
+                return;
+            } else if (document.documentState & UIDocumentStateInConflict) {
+                // Log open
+                if (self.verboseLogging == YES) NSLog(@"[iCloud] Document in conflict. The document may not contain correct data. An error will be returned along with the other parameters in the completion handler.");
+                
+                // Create Error
+                NSLog(@"[iCloud] Error while retrieving document, %@, because the document is in conflict", documentName);
+                NSError *error = [NSError errorWithDomain:[NSString stringWithFormat:@"The iCloud document, %@, is in conflict. Please resolve this conflict before editing the document.", documentName] code:200 userInfo:@{@"FileURL": fileURL}];
+                
+                // Pass data on to the completion handler on the main thread
+                dispatch_async(dispatch_get_main_queue(), ^{
+                    handler(document, document.contents, error);
+                });
+                
+                return;
+            } else if (document.documentState & UIDocumentStateEditingDisabled) {
+                // Log open
+                if (self.verboseLogging == YES) NSLog(@"[iCloud] Document editing disabled. The document is not currently editable, use the documentStateForFile: method to determine when the document is available again. The document and its contents will still be passed as parameters in the completion handler.");
+                
+                // Pass data on to the completion handler on the main thread
+                dispatch_async(dispatch_get_main_queue(), ^{
+                    handler(document, document.contents, nil);
+                });
+                
+                return;
+            }
+            
+        } else {
+            // Log creation
+            if (self.verboseLogging == YES) NSLog(@"[iCloud] The document, %@, does not exist and will be created as an empty document", documentName);
+            
+            // Create the UIDocument
+            iCloudDocument *document = [[iCloudDocument alloc] initWithFileURL:fileURL];
+            document.contents = [[NSData alloc] init];
+            
+            // Save the new document to disk
+            [document saveToURL:fileURL forSaveOperation:UIDocumentSaveForCreating completionHandler:^(BOOL success) {
+                // Log save
+                if (self.verboseLogging == YES) NSLog(@"[iCloud] Saved and opened the document");
+                
+                dispatch_async(dispatch_get_main_queue(), ^{
+                    handler(document, document.contents, nil);
+                });
+            }];
+        }
+    } @catch (NSException *exception) {
+        NSLog(@"[iCloud] Caught exception while retrieving document: %@\n\n%s", exception, __PRETTY_FUNCTION__);
+    }
+}
+
+- (iCloudDocument *)retrieveCloudDocumentObjectWithName:(NSString *)documentName {
+    // Log Retrieval
+    if (self.verboseLogging == YES) NSLog(@"[iCloud] Retrieving iCloudDocument object with name: %@", documentName);
+    
+    // Check for iCloud availability
+    if ([self quickCloudCheck] == NO) return nil;
+    
+    // Check for nil / null document name
+    if (documentName == nil || [documentName isEqualToString:@""]) {
+        // Log error
+        if (self.verboseLogging == YES) NSLog(@"[iCloud] Specified document name must not be empty");
+        return nil;
+    }
+    
+    @try {
+        // Get the URL to get the file from
+        NSURL *fileURL = [[self ubiquitousDocumentsDirectoryURL] URLByAppendingPathComponent:documentName];
+        
+        // Create the iCloudDocument
+        iCloudDocument *document = [[iCloudDocument alloc] initWithFileURL:fileURL];
+        
+        if ([self.fileManager fileExistsAtPath:[fileURL path]]) {
+            if (self.verboseLogging == YES) NSLog(@"[iCloud] The document, %@, exists and will be returned as an iCloudDocument object", documentName);
+        } else {
+            if (self.verboseLogging == YES) NSLog(@"[iCloud] The document, %@, does not exist but will be returned as an empty iCloudDocument object", documentName);
+        }
+        
+        // Return the iCloudDocument object
+        return document;
+        
+    } @catch (NSException *exception) {
+        NSLog(@"[iCloud] Caught exception while retrieving document: %@\n\n%s", exception, __PRETTY_FUNCTION__);
+        return nil;
+    }
+}
+
+- (NSNumber *)fileSize:(NSString *)documentName {
+    // Check for iCloud
+    if ([self quickCloudCheck] == NO) return nil;
+    
+    // Get the URL to get the file from
+	NSURL *fileURL = [[self ubiquitousDocumentsDirectoryURL] URLByAppendingPathComponent:documentName];
+    
+    // Check if the file exists, and return
+    if ([self.fileManager fileExistsAtPath:[fileURL path]]) {
+        unsigned long long fileSize = [[self.fileManager attributesOfItemAtPath:[fileURL path] error:nil] fileSize];
+        NSNumber *bytes = @(fileSize);
+        return bytes;
+    } else {
+        // The document could not be found
+        NSLog(@"[iCloud] File not found: %@", documentName);
+        
+        return nil;
+    }
+}
+
+- (NSDate *)fileModifiedDate:(NSString *)documentName {
+    // Check for iCloud
+    if ([self quickCloudCheck] == NO) return nil;
+    
+    // Get the URL to get the file from
+	NSURL *fileURL = [[self ubiquitousDocumentsDirectoryURL] URLByAppendingPathComponent:documentName];
+    
+    
+    // Check if the file exists, and return
+    if ([self.fileManager fileExistsAtPath:[fileURL path]]) {
+        NSDate *fileModified = [[self.fileManager attributesOfItemAtPath:[fileURL path] error:nil] fileModificationDate];
+        return fileModified;
+    } else {
+        // The document could not be found
+        NSLog(@"[iCloud] File not found: %@", documentName);
+        
+        return nil;
+    }
+}
+
+- (NSDate *)fileCreatedDate:(NSString *)documentName {
+    // Check for iCloud
+    if ([self quickCloudCheck] == NO) return nil;
+    
+    // Get the URL to get the file from
+	NSURL *fileURL = [[self ubiquitousDocumentsDirectoryURL] URLByAppendingPathComponent:documentName];
+    
+    
+    // Check if the file exists, and return
+    if ([self.fileManager fileExistsAtPath:[fileURL path]]) {
+        NSDate *fileModified = [[self.fileManager attributesOfItemAtPath:[fileURL path] error:nil] fileCreationDate];
+        return fileModified;
+    } else {
+        return nil;
+    }
+}
+
+- (BOOL)doesFileExistInCloud:(NSString *)documentName {
+    // Check for iCloud
+    if ([self quickCloudCheck] == NO) return NO;
+    
+    // Get the URL to get the file from
+	NSURL *fileURL = [[self ubiquitousDocumentsDirectoryURL] URLByAppendingPathComponent:documentName];
+    
+    // Check if the file exists, and return
+    if ([self.fileManager fileExistsAtPath:[fileURL path]]) return YES;
+    else return NO;
+}
+
+- (NSArray *)listCloudFiles {
+    // Log retrieval
+    if (self.verboseLogging == YES) NSLog(@"[iCloud] Getting list of iCloud documents");
+    
+    // Check for iCloud
+    if ([self quickCloudCheck] == NO) return nil;
+    
+    // Get the directory contents
+    NSArray *directoryContent = [self.fileManager contentsOfDirectoryAtURL:[self ubiquitousDocumentsDirectoryURL] includingPropertiesForKeys:nil options:0 error:nil];
+    
+    // Log retrieval
+    if (self.verboseLogging == YES) NSLog(@"[iCloud] Retrieved list of iCloud documents");
+    
+    // Return the list of files
+    return directoryContent;
+}
+
+//---------------------------------------------------------------------------------------------------------------------------------------------//
+//------------ State --------------------------------------------------------------------------------------------------------------------------//
+//---------------------------------------------------------------------------------------------------------------------------------------------//
+#pragma mark - State
+
+- (void)documentStateForFile:(NSString *)documentName completion:(void (^)(UIDocumentState *documentState, NSString *userReadableDocumentState, NSError *error))handler {
+    // Check for iCloud
+    if ([self quickCloudCheck] == NO) return;
+    
+    // Check for nil / null document name
+    if (documentName == nil || [documentName isEqualToString:@""]) {
+        // Log error
+        if (self.verboseLogging == YES) NSLog(@"[iCloud] Specified document name must not be empty");
+        NSError *error = [NSError errorWithDomain:@"The specified document name was empty / blank and could not be saved. Specify a document name next time." code:001 userInfo:nil];
+        
+        handler(nil, nil, error);
+        
+        return;
+    }
+    
+    // Get the URL to get the file from
+	NSURL *fileURL = [[self ubiquitousDocumentsDirectoryURL] URLByAppendingPathComponent:documentName];
+    
+    // Check if the file exists, and return
+    if ([self.fileManager fileExistsAtPath:[fileURL path]]) {
+        // Create the UIDocument
+        iCloudDocument *document = [[iCloudDocument alloc] initWithFileURL:fileURL];
+        UIDocumentState state = document.documentState;
+        NSString *userStateDescription = document.stateDescription;
+        handler(&state, userStateDescription, nil);
+    } else {
+        // The document could not be found
+        NSLog(@"[iCloud] File not found: %@", documentName);
+        NSError *error = [NSError errorWithDomain:[NSString stringWithFormat:@"The document, %@, does not exist at path: %@", documentName, fileURL] code:404 userInfo:@{@"FileURL": fileURL}];
+        handler(nil, @"No document available", error);
+        return;
+    }
+}
+
+- (BOOL)monitorDocumentStateForFile:(NSString *)documentName onTarget:(id)sender withSelector:(SEL)selector {
+    // Log monitoring
+    if (self.verboseLogging == YES) NSLog(@"[iCloud] Preparing to monitor for changes to %@", documentName);
+    
+    // Check for iCloud
+    if ([self quickCloudCheck] == NO) return NO;
+    
+    // Check for nil / null document name
+    if (documentName == nil || [documentName isEqualToString:@""]) {
+        // Log error
+        if (self.verboseLogging == YES) NSLog(@"[iCloud] Specified document name must not be empty");
+        return NO;
+    }
+    
+    // Log monitoring
+    if (self.verboseLogging == YES) NSLog(@"[iCloud] Checking for existance of %@", documentName);
+    
+    @try {
+        // Get the URL to get the file from
+        NSURL *fileURL = [[self ubiquitousDocumentsDirectoryURL] URLByAppendingPathComponent:documentName];
+        
+        
+        // Check if the file exists, and return
+        if ([self.fileManager fileExistsAtPath:[fileURL path]]) {
+            // Create the UIDocument
+            iCloudDocument *document = [[iCloudDocument alloc] initWithFileURL:fileURL];
+            [self.notificationCenter addObserver:sender selector:selector name:UIDocumentStateChangedNotification object:document];
+            
+            // Log monitoring
+            if (self.verboseLogging == YES) NSLog(@"[iCloud] Now successfully monitoring for changes to %@ on %@", documentName, sender);
+            
+            return YES;
+        } else {
+            // The document could not be found
+            NSLog(@"[iCloud] File not found: %@", documentName);
+            
+            return NO;
+        }
+    } @catch (NSException *exception) {
+        // Log exception
+        NSLog(@"[iCloud] Exception while attempting to stop monitoring document state changes to %@", exception);
+        
+        return NO;
+    }
+}
+
+- (BOOL)stopMonitoringDocumentStateChangesForFile:(NSString *)documentName onTarget:(id)sender {
+    // Log monitoring
+    if (self.verboseLogging == YES) NSLog(@"[iCloud] Preparing to stop monitoring document changes to %@", documentName);
+    
+    // Check for iCloud
+    if ([self quickCloudCheck] == NO) return NO;
+    
+    // Check for nil / null document name
+    if (documentName == nil || [documentName isEqualToString:@""]) {
+        // Log error
+        if (self.verboseLogging == YES) NSLog(@"[iCloud] Specified document name must not be empty");
+        return NO;
+    }
+    
+    // Log monitoring
+    if (self.verboseLogging == YES) NSLog(@"[iCloud] Checking for existance of %@", documentName);
+    
+    @try {
+        // Get the URL to get the file from
+        NSURL *fileURL = [[self ubiquitousDocumentsDirectoryURL] URLByAppendingPathComponent:documentName];
+        
+        
+        // Check if the file exists, and return
+        if ([self.fileManager fileExistsAtPath:[fileURL path]]) {
+            // Create the UIDocument
+            iCloudDocument *document = [[iCloudDocument alloc] initWithFileURL:fileURL];
+            
+            [self.notificationCenter removeObserver:sender name:UIDocumentStateChangedNotification object:document];
+            
+            // Log monitoring
+            if (self.verboseLogging == YES) NSLog(@"[iCloud] Stopped monitoring document state changes to %@", documentName);
+            
+            return YES;
+        } else {
+            // The document could not be found
+            NSLog(@"[iCloud] File not found: %@", documentName);
+            
+            return NO;
+        }
+    } @catch (NSException *exception) {
+        // Log exception
+        NSLog(@"[iCloud] Exception while attempting to stop monitoring document state changes to %@", exception);
+        
+        return NO;
+    }
+}
+
+//---------------------------------------------------------------------------------------------------------------------------------------------//
+//------------ Conflict -----------------------------------------------------------------------------------------------------------------------//
+//---------------------------------------------------------------------------------------------------------------------------------------------//
+#pragma mark - Conflict
+
+- (NSArray *)findUnresolvedConflictingVersionsOfFile:(NSString *)documentName {
+    // Log conflict search
+    if (self.verboseLogging == YES) NSLog(@"[iCloud] Preparing to find all version conflicts for %@", documentName);
+    
+    // Check for iCloud
+    if ([self quickCloudCheck] == NO) return nil;
+    
+    // Check for nil / null document name
+    if (documentName == nil || [documentName isEqualToString:@""]) {
+        // Log error
+        if (self.verboseLogging == YES) NSLog(@"[iCloud] Specified document name must not be empty");
+        return nil;
+    }
+    
+    // Log conflict search
+    if (self.verboseLogging == YES) NSLog(@"[iCloud] Checking for existance of %@", documentName);
+    
+    @try {
+        // Get the URL to get the file from
+        NSURL *fileURL = [[self ubiquitousDocumentsDirectoryURL] URLByAppendingPathComponent:documentName];
+        
+        
+        // Check if the file exists, and return
+        if ([self.fileManager fileExistsAtPath:[fileURL path]]) {
+            // Log conflict search
+            if (self.verboseLogging == YES) NSLog(@"[iCloud] %@ exists at the correct path, proceeding to find the conflicts", documentName);
+        
+            NSMutableArray *fileVersions = [NSMutableArray array];
+            
+            NSFileVersion *currentVersion = [NSFileVersion currentVersionOfItemAtURL:fileURL];
+            [fileVersions addObject:currentVersion];
+            
+            NSArray *otherVersions = [NSFileVersion otherVersionsOfItemAtURL:fileURL];
+            [fileVersions addObjectsFromArray:otherVersions];
+            
+            return fileVersions;
+        } else {
+            // The document could not be found
+            NSLog(@"[iCloud] File not found: %@", documentName);
+            
+            return nil;
+        }
+    } @catch (NSException *exception) {
+        // Log exception
+        NSLog(@"[iCloud] Exception while attempting to stop monitoring document state changes to %@", exception);
+        
+        return nil;
+    }
+}
+
+- (void)resolveConflictForFile:(NSString *)documentName withSelectedFileVersion:(NSFileVersion *)documentVersion {
+    // Log resolution
+    if (self.verboseLogging == YES) NSLog(@"[iCloud] Preparing to resolve version conflict for %@", documentName);
+    
+    // Check for iCloud
+    if ([self quickCloudCheck] == NO) return;
+    
+    // Check for nil / null document name
+    if (documentName == nil || [documentName isEqualToString:@""]) {
+        // Log error
+        if (self.verboseLogging == YES) NSLog(@"[iCloud] Specified document name must not be empty");
+        return;
+    }
+    
+    // Log resolution
+    if (self.verboseLogging == YES) NSLog(@"[iCloud] Checking for existance of %@", documentName);
+    
+    @try {
+        // Get the URL to get the file from
+        NSURL *fileURL = [[self ubiquitousDocumentsDirectoryURL] URLByAppendingPathComponent:documentName];
+        
+        
+        // Check if the file exists, and return
+        if ([self.fileManager fileExistsAtPath:[fileURL path]]) {
+            // Log resolution
+            if (self.verboseLogging == YES) NSLog(@"[iCloud] %@ exists at the correct path, proceeding to resolve the conflict", documentName);
+            
+            // Make the current version "win" the conflict if it is selected
+            if (![documentVersion isEqual:[NSFileVersion currentVersionOfItemAtURL:fileURL]]) {
+                // Log resolution
+                if (self.verboseLogging == YES) NSLog(@"[iCloud] The current version (%@) of %@ matches the selected version. Resolving conflict...", documentVersion, documentName);
+                
+                [documentVersion replaceItemAtURL:fileURL options:0 error:nil];
+            }
+            
+            // Remove other versions of the document
+            [NSFileVersion removeOtherVersionsOfItemAtURL:fileURL error:nil];
+            
+            // Log resolution
+            if (self.verboseLogging == YES) NSLog(@"[iCloud] Removing all unresolved other versions of %@", documentName);
+            
+            NSArray *conflictVersions = [NSFileVersion unresolvedConflictVersionsOfItemAtURL:fileURL];
+            for (NSFileVersion *fileVersion in conflictVersions) {
+                fileVersion.resolved = YES;
+            }
+            
+            // Log resolution
+            if (self.verboseLogging == YES) NSLog(@"[iCloud] Finished resolving conflicts for %@", documentName);
+        } else {
+            // The document could not be found
+            NSLog(@"[iCloud] File not found: %@", documentName);
+            
+            return;
+        }
+    } @catch (NSException *exception) {
+        // Log exception
+        NSLog(@"[iCloud] Exception while attempting to stop monitoring document state changes to %@", exception);
+        
+        return;
+    }
+}
+
+//---------------------------------------------------------------------------------------------------------------------------------------------//
+//------------ Share --------------------------------------------------------------------------------------------------------------------------//
+//---------------------------------------------------------------------------------------------------------------------------------------------//
+#pragma mark - Share
+
+- (NSURL *)shareDocumentWithName:(NSString *)documentName completion:(void (^)(NSURL *sharedURL, NSDate *expirationDate, NSError *error))handler {
+    // Log share
+    if (self.verboseLogging == YES) NSLog(@"[iCloud] Attempting to share document");
+    
+    // Check for iCloud
+    if ([self quickCloudCheck] == NO) return nil;
+    
+    // Check for nil / null document name
+    if (documentName == nil || [documentName isEqualToString:@""]) {
+        // Log error
+        if (self.verboseLogging == YES) NSLog(@"[iCloud] Specified document name must not be empty");
+        return nil;
+    }
+    
+    @try {
+        // Get the URL to get the file from
+        NSURL *fileURL = [[self ubiquitousDocumentsDirectoryURL] URLByAppendingPathComponent:documentName];
+        
+        // Check that the file exists
+        if ([self.fileManager fileExistsAtPath:[fileURL path]]) {
+            // Log share
+            if (self.verboseLogging == YES) NSLog(@"[iCloud] File exists, preparing to share it");
+            
+            // Create the URL to be returned outside of the block
+            __block NSURL *url;
+            
+            // Move to the background thread for safety
+            dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), ^(void) {
+                // Create the Error Object and the Date Object
+                NSError *error;
+                NSDate *date;
+                
+                // Create the URL
+                url = [self.fileManager URLForPublishingUbiquitousItemAtURL:fileURL expirationDate:&date error:&error];
+                
+                // Log share
+                if (self.verboseLogging == YES) NSLog(@"[iCloud] Shared iCloud document");
+                
+                dispatch_async(dispatch_get_main_queue(), ^{
+                    // Pass the data to the handler
+                    handler(url, date, error);
+                });
+            });
+            
+            // Return the URL
+            return url;
+        } else {
+            // The document could not be found
+            NSLog(@"[iCloud] File not found: %@", documentName);
+            NSError *error = [NSError errorWithDomain:[NSString stringWithFormat:@"The document, %@, does not exist at path: %@", documentName, fileURL] code:404 userInfo:@{@"FileURL": fileURL}];
+            dispatch_async(dispatch_get_main_queue(), ^{
+                handler(nil, nil, error);
+                return;
+            });
+        }
+    } @catch (NSException *exception) {
+        NSLog(@"[iCloud] Caught exception while sharing file: %@\n\n%s", exception, __PRETTY_FUNCTION__);
+    }
+    return nil;
+}
+
+//---------------------------------------------------------------------------------------------------------------------------------------------//
+//------------ Delete -------------------------------------------------------------------------------------------------------------------------//
+//---------------------------------------------------------------------------------------------------------------------------------------------//
+#pragma mark - Delete
+
+- (void)deleteDocumentWithName:(NSString *)documentName completion:(void (^)(NSError *error))handler {
+    // Log delete
+    if (self.verboseLogging == YES) NSLog(@"[iCloud] Attempting to delete document");
+    
+    // Check for iCloud
+    if ([self quickCloudCheck] == NO) return;
+    
+    // Check for nil / null document name
+    if (documentName == nil || [documentName isEqualToString:@""]) {
+        // Log error
+        if (self.verboseLogging == YES) NSLog(@"[iCloud] Specified document name must not be empty");
+        return;
+    }
+    
+    @try {
+        // Create the URL for the file that is being removed
+        NSURL *fileURL = [[self ubiquitousDocumentsDirectoryURL] URLByAppendingPathComponent:documentName];
+        
+        // Check that the file exists
+        if ([self.fileManager fileExistsAtPath:[fileURL path]]) {
+            // Log share
+            if (self.verboseLogging == YES) NSLog(@"[iCloud] File exists, attempting to delete it");
+            
+            // Move to the background thread for safety
+            dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), ^(void) {
+                
+                // Use a file coordinator to safely delete the file
+                NSFileCoordinator *fileCoordinator = [[NSFileCoordinator alloc] initWithFilePresenter:nil];
+                [fileCoordinator coordinateWritingItemAtURL:fileURL options:NSFileCoordinatorWritingForDeleting error:nil byAccessor:^(NSURL *writingURL) {
+                    // Create the error handler
+                    NSError *error;
+                    
+                    [self.fileManager removeItemAtURL:writingURL error:&error];
+                    if (error) {
+                        // Log failure
+                        NSLog(@"[iCloud] An error occurred while deleting the document: %@", error);
+                        
+                        dispatch_async(dispatch_get_main_queue(), ^{
+                            if (handler) handler(error);
+                        });
+                        
+                        return;
+                    } else {
+                        // Log success
+                        if (self.verboseLogging == YES) NSLog(@"[iCloud] The document has been deleted");
+                        
+                        dispatch_async(dispatch_get_main_queue(), ^{
+                            [self updateFiles];
+                            if (handler) handler(nil);
+                        });
+                        
+                        return;
+                    }
+                }];
+            });
+        } else {
+            // The document could not be found
+            NSLog(@"[iCloud] File not found: %@", documentName);
+            NSError *error = [NSError errorWithDomain:[NSString stringWithFormat:@"The document, %@, does not exist at path: %@", documentName, fileURL] code:404 userInfo:@{@"FileURL": fileURL}];
+            dispatch_async(dispatch_get_main_queue(), ^{
+                if (handler) handler(error);
+                return;
+            });
+        }
+    } @catch (NSException *exception) {
+        NSLog(@"[iCloud] Caught exception while deleting file: %@\n\n%s", exception, __PRETTY_FUNCTION__);
+    }
+}
+
+- (void)evictCloudDocumentWithName:(NSString *)documentName completion:(void (^)(NSError *error))handler {
+    // Log download
+    if (self.verboseLogging == YES) NSLog(@"[iCloud] Attempting to evict iCloud document, %@", documentName);
+    
+    // Check for iCloud
+    if ([self quickCloudCheck] == NO) return;
+    
+    // Check for nil / null document name
+    if (documentName == nil || [documentName isEqualToString:@""]) {
+        // Log error
+        if (self.verboseLogging == YES) NSLog(@"[iCloud] Specified document name must not be empty");
+        return;
+    }
+    
+    // Perform tasks on background thread to avoid problems on the main / UI thread
+    dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0ul), ^{
+        // Get the array of files in the documents directory
+        NSString *documentsDirectory = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES)[0];
+        NSString *localDocument = [documentsDirectory stringByAppendingPathComponent:documentName];
+        
+        // If the file does not exist in iCloud, upload it
+        if (![self.previousQueryResults containsObject:localDocument]) {
+            // Log
+            if (self.verboseLogging == YES) NSLog(@"[iCloud] Evicting %@ from iCloud", localDocument);
+            
+            // Move the file to iCloud
+            NSURL *cloudURL = [[self ubiquitousDocumentsDirectoryURL] URLByAppendingPathComponent:documentName];
+            NSURL *localURL = [NSURL fileURLWithPath:localDocument];
+            NSError *error;
+            
+            BOOL success = [self.fileManager setUbiquitous:NO itemAtURL:cloudURL destinationURL:localURL error:&error];
+            if (!success) {
+                NSLog(@"[iCloud] Error while evicting document from local directory: %@", error);
+                dispatch_async(dispatch_get_main_queue(), ^{
+                    handler(error);
+                    return;
+                });
+            } else {
+                dispatch_async(dispatch_get_main_queue(), ^{
+                    handler(nil);
+                    return;
+                });
+            }
+            
+        } else {
+            // Check if the cloud document is newer than the local document
+            
+            // Log conflict
+            if (self.verboseLogging == YES) NSLog(@"[iCloud] Conflict between local file and remote file, attempting to automatically resolve");
+            
+            // Get the file URL for the documents
+            NSURL *cloudURL = [[self ubiquitousDocumentsDirectoryURL] URLByAppendingPathComponent:documentName];
+            NSURL *localURL = [NSURL fileURLWithPath:[documentsDirectory stringByAppendingPathComponent:localDocument]];
+            
+            // Create the UIDocument object from the URL
+            iCloudDocument *document = [[iCloudDocument alloc] initWithFileURL:cloudURL];
+            NSDate *cloudModDate = document.fileModificationDate;
+            
+            NSDictionary *fileAttributes = [self.fileManager attributesOfItemAtPath:[localURL absoluteString] error:nil];
+            NSDate *localModDate = [fileAttributes fileModificationDate];
+            NSData *localFileData = [self.fileManager contentsAtPath:[localURL absoluteString]];
+            
+            if ([localModDate compare:cloudModDate] == NSOrderedDescending) {
+                NSLog(@"[iCloud] The local file was modified more recently than the iCloud file. The iCloud file will be deleted and the local file will be preserved.");
+                
+                [self deleteDocumentWithName:documentName completion:^(NSError *error) {
+                    if (error) {
+                        NSLog(@"[iCloud] Error deleting %@.\n\n%@", [localURL absoluteString], error);
+                        dispatch_async(dispatch_get_main_queue(), ^{
+                            handler(error);
+                            return;
+                        });
+                    } else {
+                        dispatch_async(dispatch_get_main_queue(), ^{
+                            handler(nil);
+                            return;
+                        });
+                    }
+                }];
+                
+            } else if ([localModDate compare:cloudModDate] == NSOrderedAscending) {
+                NSLog(@"[iCloud] The iCloud file was modified more recently than the local file. The local file will be overwritten with the contents of the iCloud file.");
+                
+                BOOL success = [document.contents writeToURL:localURL atomically:YES];
+                if (success) {
+                    dispatch_async(dispatch_get_main_queue(), ^{
+                        handler(nil);
+                        return;
+                    });
+                } else {
+                    NSLog(@"[iCloud] Failed to overwrite file at URL: %@", localURL);
+                    NSError *error = [[NSError alloc] initWithDomain:@"Unknown error occured while writing file to URL." code:100 userInfo:@{@"FileURL": localURL}];
+                    dispatch_async(dispatch_get_main_queue(), ^{
+                        handler(error);
+                        return;
+                    });
+                }
+            } else {
+                NSLog(@"[iCloud] The iCloud file and local file have the same modification date. Before overwriting or deleting, iCloud Document Sync will check if both files have the same content.");
+                if ([self.fileManager contentsEqualAtPath:[localURL absoluteString] andPath:[cloudURL absoluteString]] == YES) {
+                    NSLog (@"[iCloud] The contents of the iCloud file and the contents of the local file match. The iCloud file will be deleted.");
+                    
+                    [self deleteDocumentWithName:documentName completion:^(NSError *error) {
+                        if (error) {
+                            NSLog(@"[iCloud] Error deleting %@.\n\n%@", [localURL absoluteString], error);
+                            dispatch_async(dispatch_get_main_queue(), ^{
+                                handler(error);
+                                return;
+                            });
+                        } else {
+                            dispatch_async(dispatch_get_main_queue(), ^{
+                                handler(nil);
+                                return;
+                            });
+                        }
+                    }];
+                } else {
+                    NSLog(@"[iCloud] Both the local file and the iCloud file were last modified at the same time, however their contents do not match. You'll need to handle the conflict using the iCloudFileConflictBetweenCloudFile:andLocalFile: delegate method.");
+                    NSDictionary *cloudFile = @{@"fileContents": document.contents, @"fileURL": cloudURL, @"modifiedDate": cloudModDate};
+                    NSDictionary *localFile = @{@"fileContents": localFileData, @"fileURL": localURL, @"modifiedDate": localModDate};;
+                    
+                    if ([self.delegate respondsToSelector:@selector(iCloudFileUploadConflictWithCloudFile:andLocalFile:)]) {
+                        [self.delegate iCloudFileConflictBetweenCloudFile:cloudFile andLocalFile:localFile];
+                    } else if ([self.delegate respondsToSelector:@selector(iCloudFileUploadConflictWithCloudFile:andLocalFile:)]) {
+                        NSLog(@"[iCloud] WARNING: iCloudFileUploadConflictWithCloudFile:andLocalFile is deprecated and will become unavailable in a future version. Use iCloudFileConflictBetweenCloudFile:andLocalFile instead.");
+#pragma clang diagnostic push
+#pragma clang diagnostic ignored "-Wdeprecated-declarations"
+                        [self.delegate iCloudFileUploadConflictWithCloudFile:cloudFile andLocalFile:localFile];
+#pragma clang diagnostic pop
+                    }
+                    
+                    return;
+                }
+            }
+        }
+        
+        // Log completion
+        if (self.verboseLogging == YES) NSLog(@"[iCloud] Finished evicting iCloud document. Successfully moved to local storage.");
+        
+        dispatch_async(dispatch_get_main_queue(), ^{
+            handler(nil);
+            return;
+        });
+    });
+}
+
+//---------------------------------------------------------------------------------------------------------------------------------------------//
+//------------ Manage -------------------------------------------------------------------------------------------------------------------------//
+//---------------------------------------------------------------------------------------------------------------------------------------------//
+#pragma mark - Manage
+
+- (void)renameOriginalDocument:(NSString *)documentName withNewName:(NSString *)newName completion:(void (^)(NSError *error))handler {
+    // Log rename
+    if (self.verboseLogging == YES) NSLog(@"[iCloud] Attempting to rename document, %@, to the new name: %@", documentName, newName);
+    
+    // Check for iCloud
+    if ([self quickCloudCheck] == NO) return;
+    
+    // Check for nil / null document name
+    if (documentName == nil || [documentName isEqualToString:@""] || newName == nil || [newName isEqualToString:@""]) {
+        // Log error
+        if (self.verboseLogging == YES) NSLog(@"[iCloud] Specified document name must not be empty");
+        return;
+    }
+    
+    // Create the URLs for the files that are being renamed
+    NSURL *sourceFileURL = [[self ubiquitousDocumentsDirectoryURL] URLByAppendingPathComponent:documentName];
+    NSURL *newFileURL = [[self ubiquitousDocumentsDirectoryURL] URLByAppendingPathComponent:newName];
+    
+    // Check if file exists at source URL
+    if (![self.fileManager fileExistsAtPath:[sourceFileURL path]]) {
+        NSLog(@"[iCloud] File does not exist at path: %@", sourceFileURL);
+        NSError *error = [NSError errorWithDomain:[NSString stringWithFormat:@"The document, %@, does not exist at path: %@", documentName, sourceFileURL] code:404 userInfo:@{@"FileURL": sourceFileURL}];
+        
+        dispatch_async(dispatch_get_main_queue(), ^{
+            if (handler)
+                handler(error);
+        });
+        
+        return;
+    }
+    
+    // Check if file does not exist at new URL
+    if ([self.fileManager fileExistsAtPath:[newFileURL path]]) {
+        NSLog(@"[iCloud] File already exists at path: %@", newFileURL);
+        NSError *error = [NSError errorWithDomain:[NSString stringWithFormat:@"The document, %@, already exists at path: %@", newName, newFileURL] code:512 userInfo:@{@"FileURL": newFileURL}];
+        
+        dispatch_async(dispatch_get_main_queue(), ^{
+            if (handler)
+                handler(error);
+        });
+        
+        return;
+    }
+    
+    // Log success of existence
+    if (self.verboseLogging == YES) NSLog(@"[iCloud] Files passed existence check, preparing to rename");
+    
+    // Move to the background thread for safety
+    dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), ^(void) {
+        // Coordinate renaming safely with a file coordinator
+        NSError *coordinatorError = nil;
+        NSFileCoordinator *coordinator = [[NSFileCoordinator alloc] initWithFilePresenter:nil];
+        [coordinator coordinateWritingItemAtURL:sourceFileURL options:NSFileCoordinatorWritingForMoving writingItemAtURL:newFileURL options:NSFileCoordinatorWritingForReplacing error:&coordinatorError byAccessor:^(NSURL *newURL1, NSURL *newURL2) {
+            NSError *moveError;
+            BOOL moveSuccess;
+            
+            // Log rename
+            if (self.verboseLogging == YES) NSLog(@"[iCloud] Renaming Files");
+            
+            // Do the actual renaming
+            moveSuccess = [self.fileManager moveItemAtURL:sourceFileURL toURL:newFileURL error:&moveError];
+            
+            if (moveSuccess) {
+                // Log success
+                if (self.verboseLogging == YES) NSLog(@"[iCloud] Renamed Files");
+                
+                dispatch_async(dispatch_get_main_queue(), ^{
+                    if (handler)
+                        handler(nil);
+                });
+                return;
+            }
+            
+            if (moveError) {
+                // Log failure
+                NSLog(@"[iCloud] Failed to rename file, %@, to new name: %@. Error: %@", documentName, newName , moveError);
+                
+                dispatch_async(dispatch_get_main_queue(), ^{
+                    if (handler)
+                        handler(moveError);
+                });
+                
+                return;
+            }
+            
+            if (coordinatorError) {
+                // Log failure
+                NSLog(@"[iCloud] Failed to rename file, %@, to new name: %@. Error: %@", documentName, newName , coordinatorError);
+                
+                dispatch_async(dispatch_get_main_queue(), ^{
+                    if (handler)
+                        handler(coordinatorError);
+                });
+                
+                return;
+            }
+        }];
+    });
+}
+
+- (void)duplicateOriginalDocument:(NSString *)documentName withNewName:(NSString *)newName completion:(void (^)(NSError *error))handler {
+    // Log duplication
+    if (self.verboseLogging == YES) NSLog(@"[iCloud] Attempting to duplicate document, %@", documentName);
+    
+    // Check for iCloud
+    if ([self quickCloudCheck] == NO) return;
+    
+    // Check for nil / null document name
+    if (documentName == nil || [documentName isEqualToString:@""] || newName == nil || [newName isEqualToString:@""]) {
+        // Log error
+        if (self.verboseLogging == YES) NSLog(@"[iCloud] Specified document name must not be empty");
+        return;
+    }
+    
+    // Create the URLs for the files that are being renamed
+    NSURL *sourceFileURL = [[self ubiquitousDocumentsDirectoryURL] URLByAppendingPathComponent:documentName];
+    NSURL *newFileURL = [[self ubiquitousDocumentsDirectoryURL] URLByAppendingPathComponent:newName];
+    
+    // Check if file exists at source URL
+    if (![self.fileManager fileExistsAtPath:[sourceFileURL path]]) {
+        NSLog(@"[iCloud] File does not exist at path: %@", sourceFileURL);
+        NSError *error = [NSError errorWithDomain:[NSString stringWithFormat:@"The document, %@, does not exist at path: %@", documentName, sourceFileURL] code:404 userInfo:@{@"FileURL": sourceFileURL}];
+        
+        dispatch_async(dispatch_get_main_queue(), ^{
+            if (handler)
+                handler(error);
+        });
+        
+        return;
+    }
+    
+    // Check if file does not exist at new URL
+    if ([self.fileManager fileExistsAtPath:[newFileURL path]]) {
+        NSLog(@"[iCloud] File already exists at path: %@", newFileURL);
+        NSError *error = [NSError errorWithDomain:[NSString stringWithFormat:@"The document, %@, already exists at path: %@", newName, newFileURL] code:512 userInfo:@{@"FileURL": newFileURL}];
+        
+        dispatch_async(dispatch_get_main_queue(), ^{
+            if (handler)
+                handler(error);
+        });
+        
+        return;
+    }
+    
+    // Log success of existence
+    if (self.verboseLogging == YES) NSLog(@"[iCloud] Files passed existence check, preparing to duplicate");
+    
+    // Move to the background thread for safety
+    dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), ^(void) {
+        NSError *moveError;
+        BOOL moveSuccess;
+        
+        // Log duplication
+        if (self.verboseLogging == YES) NSLog(@"[iCloud] Duplicating Files");
+        
+        // Do the actual duplicating
+        moveSuccess = [self.fileManager copyItemAtURL:sourceFileURL toURL:newFileURL error:&moveError];
+        
+        if (moveSuccess) {
+            // Log success
+            if (self.verboseLogging == YES) NSLog(@"[iCloud] Duplicated Files");
+            
+            dispatch_async(dispatch_get_main_queue(), ^{
+                if (handler)
+                    handler(nil);
+            });
+            return;
+        }
+        
+        if (moveError) {
+            // Log failure
+            NSLog(@"[iCloud] Failed to duplicate file, %@, with new name: %@. Error: %@", documentName, newName , moveError);
+            
+            dispatch_async(dispatch_get_main_queue(), ^{
+                if (handler)
+                    handler(moveError);
+            });
+            
+            return;
+        }
+    });
+}
+
+//---------------------------------------------------------------------------------------------------------------------------------------------//
+//------------ Deprecated Methods -------------------------------------------------------------------------------------------------------------//
+//---------------------------------------------------------------------------------------------------------------------------------------------//
+#pragma mark - Deprecated Methods
+
++ (void)uploadLocalOfflineDocumentsWithDelegate:(id<iCloudDelegate>)delegate {
+    for (int i = 0; i <= 5; i++) NSLog(@"[iCloud] WARNING: uploadLocalOfflineDocumentsWithDelegate: is deprecated and will become unavailable in version 8.0. Use [- uploadLocalOfflineDocuments] instead.");
+}
+
++ (void)updateFilesWithDelegate:(id<iCloudDelegate>)delegate {
+    for (int i = 0; i <= 5; i++) NSLog(@"[iCloud] WARNING: updateFilesWithDelegate: is deprecated and will become unavailable in version 8.0. Use [- updateFiles] instead.");
+}
+
+- (NSArray *)getListOfCloudFiles {
+    for (int i = 0; i <= 5; i++) NSLog(@"[iCloud] WARNING: getListOfCloudFiles is deprecated and will become unavailable in a future version. Use [- listCloudFiles] instead. This method will return nil.");
+    return nil;
+}
+
+- (void)saveChangesToDocumentWithName:(NSString *)documentName withContent:(NSData *)content completion:(void (^)(UIDocument *cloudDocument, NSData *documentData, NSError *error))handler {
+    // This method is deprecated: Due to the fact, that the document is recreated in closed state on every call, it is just a copy of the saveAndCloseDocumentWithName-method above
+    for (int i = 0; i <= 5; i++) NSLog(@"[iCloud] WARNING: saveChangesToDocumentWithName:withContent:completion: is deprecated and will become unavailable in version 8.0. Use [- saveAndCloseDocumentWithName:withContent:completion:] instead.");
+    
+	[self saveAndCloseDocumentWithName:documentName withContent:content completion:handler];
+    
+	/*
+     
+     // Log save
+     if (verboseLogging == YES) NSLog(@"[iCloud] Beginning document change save");
+     
+     // Check for iCloud
+     if ([self quickCloudCheck] == NO) return;
+     
+     // Check for nil / null document name
+     if (documentName == nil || [documentName isEqualToString:@""]) {
+     // Log error
+     if (verboseLogging == YES) NSLog(@"[iCloud] Specified document name must not be empty");
+     NSError *error = [NSError errorWithDomain:@"The specified document name was empty / blank and could not be saved. Specify a document name next time." code:001 userInfo:nil];
+     
+     handler(nil, nil, error);
+     
+     return;
+     }
+     
+     // Get the URL to save the changes to
+     NSURL *fileURL = [[self ubiquitousDocumentsDirectoryURL] URLByAppendingPathComponent:documentName];
+     
+     // Initialize a document with that path
+     iCloudDocument *document = [[iCloudDocument alloc] initWithFileURL:fileURL];
+     document.contents = content;
+     
+     // If the file exists, close it; otherwise, create it.
+     if ([fileManager fileExistsAtPath:[fileURL path]]) {
+     // Log recording
+     if (verboseLogging == YES) NSLog(@"[iCloud] Document exists, saving changes");
+     
+     // Record Changes
+     [document updateChangeCount:UIDocumentChangeDone];
+     
+     handler(document, document.contents, nil);
+     } else {
+     // Log saving
+     if (verboseLogging == YES) NSLog(@"[iCloud] Document is new, saving");
+     
+     // Save and create the new document
+     [document saveToURL:document.fileURL forSaveOperation:UIDocumentSaveForCreating completionHandler:^(BOOL success) {
+     if (success) {
+     // Log the save
+     if (verboseLogging == YES) NSLog(@"[iCloud] New document created successfully, recorded changes");
+     
+     // Run the completion block and pass the document
+     handler(document, document.contents, nil);;
+     } else {
+     NSLog(@"[iCloud] Error while creating the document: %s", __PRETTY_FUNCTION__);
+     NSError *error = [NSError errorWithDomain:[NSString stringWithFormat:@"%s error while creating the document, %@, in iCloud", __PRETTY_FUNCTION__, document.fileURL] code:100 userInfo:[NSDictionary dictionaryWithObject:fileURL forKey:@"FileURL"]];
+     
+     handler(document, document.contents, error);
+     }
+     }];
+     }
+	 */
+}
+
+@end

+ 90 - 0
ios/JianYuIOS/Pods/iCloudDocumentSync/iCloud/iCloudDocument.h

@@ -0,0 +1,90 @@
+//
+//  iCloudDocument.h
+//  iCloud Document Sync
+//
+//  Created by iRare Media. Last updated January 2014.
+//  Available on GitHub. Licensed under MIT with Attribution.
+//
+
+// Check for Objective-C Modules
+#if __has_feature(objc_modules)
+    // We recommend enabling Objective-C Modules in your project Build Settings for numerous benefits over regular #imports. Read more from the Modules documentation: http://clang.llvm.org/docs/Modules.html
+    @import Foundation;
+    @import UIKit;
+#else
+    #import <Foundation/Foundation.h>
+    #import <UIKit/UIKit.h>
+#endif
+
+/** Use the iCloudDocument class (a subclass of UIDocument) to read and write documents managed by the iCloud class. You should rarely interact directly with iCloudDocument. The iCloud class manages all interactions with iCloudDocument. You can however retieve an iCloudDocument object by specifying its URL in the iCloud class.
+ 
+ iCloudDocument can read and write any files with the following exceptions:
+ 
+ - Bundles
+ - Packages
+ - Aliases
+ 
+ If you'd like support for the above faux files then please consider [filing an Issue on GitHub](https://github.com/iRareMedia/iCloudDocumentSync/issues/new) or [submitting a Pull Request](https://github.com/iRareMedia/iCloudDocumentSync/pulls) if you've figured out how. This can be done using an NSFileWrapper. 
+ 
+ You may want to consider subclassing iCloudDocument for custom implementations of many features. */
+@class iCloudDocument;
+@protocol iCloudDocumentDelegate;
+@interface iCloudDocument : UIDocument
+
+
+
+/** @name Methods */
+
+/** Initialize a new UIDocument with the specified file path
+ 
+ @param url	The path to the UIDocument file
+ @return UIDocument object at the specified URL */
+- (instancetype)initWithFileURL:(NSURL *)url __attribute__((objc_designated_initializer));
+
+
+
+
+/** @name Delegate */
+
+/** iCloud Delegate helps call methods when document processes begin or end */
+@property (weak, nonatomic) id <iCloudDocumentDelegate> delegate;
+
+
+
+
+/** @name Properties */
+
+/** The file version of the UIDocument object, used for handling file conflicts */
+NSFileVersion *laterVersion(NSFileVersion *first, NSFileVersion *second);
+
+/** The data to read or write to a UIDocument */
+@property (copy) NSData *contents;
+
+/** Retrieve the localized name of the current document
+ 
+ @return Name of document including file extension, as an NSString */
+- (NSString *)localizedName;
+
+/** Retrieve a user-readable form of the document state
+ 
+ @return Current state of the document as a user-readable NSString */
+- (NSString *)stateDescription;
+
+@end
+
+
+@class iCloudDocument;
+/** The iCloudDocumentDelegate protocol defines the methods used to receive error notifications and allow for deeper control of document handling and management. */
+@protocol iCloudDocumentDelegate <NSObject>
+
+
+/** @name Required Delegate Methods */
+
+@required
+
+/** Delegate method fired when an error occurs during an attempt to read, save, or revert a document.
+ 
+ @param error The error that occured during an attempt to read, save, or revert a document. */
+- (void)iCloudDocumentErrorOccured:(NSError *)error;
+
+@end

+ 94 - 0
ios/JianYuIOS/Pods/iCloudDocumentSync/iCloud/iCloudDocument.m

@@ -0,0 +1,94 @@
+//
+//  iCloudDocument.m
+//  iCloud Document Sync
+//
+//  Created by iRare Media. Last updated January 2014.
+//  Available on GitHub. Licensed under MIT with Attribution.
+//
+
+#import "iCloudDocument.h"
+
+NSFileVersion *laterVersion (NSFileVersion *first, NSFileVersion *second) {
+    NSDate *firstDate = first.modificationDate;
+    NSDate *secondDate = second.modificationDate;
+    return ([firstDate compare:secondDate] != NSOrderedDescending) ? second : first;
+}
+
+@implementation iCloudDocument
+
+//----------------------------------------------------------------------------------------------------------------//
+//------------  Document Life Cycle ------------------------------------------------------------------------------//
+//----------------------------------------------------------------------------------------------------------------//
+#pragma mark - Document Life Cycle
+
+- (instancetype)initWithFileURL:(NSURL *)url {
+	self = [super initWithFileURL:url];
+	if (self) {
+		_contents = [[NSData alloc] init];
+	}
+	return self;
+}
+
+- (NSString *)localizedName {
+	return [self.fileURL lastPathComponent];
+}
+
+- (NSString *)stateDescription {
+    if (!self.documentState) return @"Document state is normal";
+    
+    NSMutableString *string = [NSMutableString string];
+    if ((self.documentState & UIDocumentStateNormal) != 0) [string appendString:@"Document state is normal"];
+    if ((self.documentState & UIDocumentStateClosed) != 0) [string appendString:@"Document is closed"];
+    if ((self.documentState & UIDocumentStateInConflict) != 0) [string appendString:@"Document is in conflict"];
+    if ((self.documentState & UIDocumentStateSavingError) != 0) [string appendString:@"Document is experiencing saving error"];
+    if ((self.documentState & UIDocumentStateEditingDisabled) != 0) [string appendString:@"Document editing is disbled"];
+    
+    return string;
+}
+
+//----------------------------------------------------------------------------------------------------------------//
+//------------  Loading and Saving -------------------------------------------------------------------------------//
+//----------------------------------------------------------------------------------------------------------------//
+#pragma mark - Loading and Saving
+
+- (id)contentsForType:(NSString *)typeName error:(NSError **)outError {
+    if (!self.contents) {
+        self.contents = [[NSData alloc] init];
+    }
+    
+	return self.contents;
+}
+
+- (BOOL)loadFromContents:(id)fileContents ofType:(NSString *)typeName error:(NSError **)outError {
+    if ([fileContents length] > 0) {
+        self.contents = [[NSData alloc] initWithData:fileContents];
+    } else {
+        self.contents = [[NSData alloc] init];
+    }
+    
+    return YES;
+}
+
+- (void)setDocumentData:(NSData *)newData {
+    NSData *oldData = self.contents;
+    self.contents = [newData copy];
+        
+    // Register the undo operation
+    [self.undoManager setActionName:@"Data Change"];
+    [self.undoManager registerUndoWithTarget:self selector:@selector(setDocumentData:) object:oldData];
+}
+
+//----------------------------------------------------------------------------------------------------------------//
+//------------  Error Handling ----------------------------------------------------------------------------------//
+//----------------------------------------------------------------------------------------------------------------//
+#pragma mark - Loading and Saving
+
+- (void)handleError:(NSError *)error userInteractionPermitted:(BOOL)userInteractionPermitted {
+    [super handleError:error userInteractionPermitted:userInteractionPermitted];
+	NSLog(@"[iCloudDocument] %@", error);
+    
+    if ([self.delegate respondsToSelector:@selector(iCloudDocumentErrorOccured:)]) [self.delegate iCloudDocumentErrorOccured:error];
+}
+
+@end
+

この差分においてかなりの量のファイルが変更されているため、一部のファイルを表示していません