浏览代码

新手任务demo

靳小飞 7 年之前
父节点
当前提交
6f424e57f2
共有 100 个文件被更改,包括 3947 次插入0 次删除
  1. 665 0
      NoobTask/NoobTask.xcodeproj/project.pbxproj
  2. 7 0
      NoobTask/NoobTask.xcodeproj/project.xcworkspace/contents.xcworkspacedata
  3. 10 0
      NoobTask/NoobTask.xcworkspace/contents.xcworkspacedata
  4. 17 0
      NoobTask/NoobTask/AppDelegate.h
  5. 63 0
      NoobTask/NoobTask/AppDelegate.m
  6. 98 0
      NoobTask/NoobTask/Assets.xcassets/AppIcon.appiconset/Contents.json
  7. 25 0
      NoobTask/NoobTask/Base.lproj/LaunchScreen.storyboard
  8. 105 0
      NoobTask/NoobTask/Base.lproj/Main.storyboard
  9. 17 0
      NoobTask/NoobTask/Hud.h
  10. 33 0
      NoobTask/NoobTask/Hud.m
  11. 103 0
      NoobTask/NoobTask/Info.plist
  12. 17 0
      NoobTask/NoobTask/InnerPayHelper.h
  13. 140 0
      NoobTask/NoobTask/InnerPayHelper.m
  14. 30 0
      NoobTask/NoobTask/ThirdHelper.h
  15. 162 0
      NoobTask/NoobTask/ThirdHelper.m
  16. 15 0
      NoobTask/NoobTask/ViewController.h
  17. 67 0
      NoobTask/NoobTask/ViewController.m
  18. 16 0
      NoobTask/NoobTask/main.m
  19. 22 0
      NoobTask/NoobTaskTests/Info.plist
  20. 39 0
      NoobTask/NoobTaskTests/NoobTaskTests.m
  21. 22 0
      NoobTask/NoobTaskUITests/Info.plist
  22. 40 0
      NoobTask/NoobTaskUITests/NoobTaskUITests.m
  23. 11 0
      NoobTask/Podfile
  24. 23 0
      NoobTask/Podfile.lock
  25. 1 0
      NoobTask/Pods/Headers/Private/MBProgressHUD/MBProgressHUD.h
  26. 1 0
      NoobTask/Pods/Headers/Private/Masonry/MASCompositeConstraint.h
  27. 1 0
      NoobTask/Pods/Headers/Private/Masonry/MASConstraint+Private.h
  28. 1 0
      NoobTask/Pods/Headers/Private/Masonry/MASConstraint.h
  29. 1 0
      NoobTask/Pods/Headers/Private/Masonry/MASConstraintMaker.h
  30. 1 0
      NoobTask/Pods/Headers/Private/Masonry/MASLayoutConstraint.h
  31. 1 0
      NoobTask/Pods/Headers/Private/Masonry/MASUtilities.h
  32. 1 0
      NoobTask/Pods/Headers/Private/Masonry/MASViewAttribute.h
  33. 1 0
      NoobTask/Pods/Headers/Private/Masonry/MASViewConstraint.h
  34. 1 0
      NoobTask/Pods/Headers/Private/Masonry/Masonry.h
  35. 1 0
      NoobTask/Pods/Headers/Private/Masonry/NSArray+MASAdditions.h
  36. 1 0
      NoobTask/Pods/Headers/Private/Masonry/NSArray+MASShorthandAdditions.h
  37. 1 0
      NoobTask/Pods/Headers/Private/Masonry/NSLayoutConstraint+MASDebugAdditions.h
  38. 1 0
      NoobTask/Pods/Headers/Private/Masonry/View+MASAdditions.h
  39. 1 0
      NoobTask/Pods/Headers/Private/Masonry/View+MASShorthandAdditions.h
  40. 1 0
      NoobTask/Pods/Headers/Private/Masonry/ViewController+MASAdditions.h
  41. 1 0
      NoobTask/Pods/Headers/Private/SDWebImage/NSData+ImageContentType.h
  42. 1 0
      NoobTask/Pods/Headers/Private/SDWebImage/SDImageCache.h
  43. 1 0
      NoobTask/Pods/Headers/Private/SDWebImage/SDWebImageCompat.h
  44. 1 0
      NoobTask/Pods/Headers/Private/SDWebImage/SDWebImageDecoder.h
  45. 1 0
      NoobTask/Pods/Headers/Private/SDWebImage/SDWebImageDownloader.h
  46. 1 0
      NoobTask/Pods/Headers/Private/SDWebImage/SDWebImageDownloaderOperation.h
  47. 1 0
      NoobTask/Pods/Headers/Private/SDWebImage/SDWebImageManager.h
  48. 1 0
      NoobTask/Pods/Headers/Private/SDWebImage/SDWebImageOperation.h
  49. 1 0
      NoobTask/Pods/Headers/Private/SDWebImage/SDWebImagePrefetcher.h
  50. 1 0
      NoobTask/Pods/Headers/Private/SDWebImage/UIButton+WebCache.h
  51. 1 0
      NoobTask/Pods/Headers/Private/SDWebImage/UIImage+GIF.h
  52. 1 0
      NoobTask/Pods/Headers/Private/SDWebImage/UIImage+MultiFormat.h
  53. 1 0
      NoobTask/Pods/Headers/Private/SDWebImage/UIImageView+HighlightedWebCache.h
  54. 1 0
      NoobTask/Pods/Headers/Private/SDWebImage/UIImageView+WebCache.h
  55. 1 0
      NoobTask/Pods/Headers/Private/SDWebImage/UIView+WebCacheOperation.h
  56. 1 0
      NoobTask/Pods/Headers/Private/WechatOpenSDK/WXApi.h
  57. 1 0
      NoobTask/Pods/Headers/Private/WechatOpenSDK/WXApiObject.h
  58. 1 0
      NoobTask/Pods/Headers/Private/WechatOpenSDK/WechatAuthSDK.h
  59. 1 0
      NoobTask/Pods/Headers/Public/MBProgressHUD/MBProgressHUD.h
  60. 1 0
      NoobTask/Pods/Headers/Public/Masonry/MASCompositeConstraint.h
  61. 1 0
      NoobTask/Pods/Headers/Public/Masonry/MASConstraint+Private.h
  62. 1 0
      NoobTask/Pods/Headers/Public/Masonry/MASConstraint.h
  63. 1 0
      NoobTask/Pods/Headers/Public/Masonry/MASConstraintMaker.h
  64. 1 0
      NoobTask/Pods/Headers/Public/Masonry/MASLayoutConstraint.h
  65. 1 0
      NoobTask/Pods/Headers/Public/Masonry/MASUtilities.h
  66. 1 0
      NoobTask/Pods/Headers/Public/Masonry/MASViewAttribute.h
  67. 1 0
      NoobTask/Pods/Headers/Public/Masonry/MASViewConstraint.h
  68. 1 0
      NoobTask/Pods/Headers/Public/Masonry/Masonry.h
  69. 1 0
      NoobTask/Pods/Headers/Public/Masonry/NSArray+MASAdditions.h
  70. 1 0
      NoobTask/Pods/Headers/Public/Masonry/NSArray+MASShorthandAdditions.h
  71. 1 0
      NoobTask/Pods/Headers/Public/Masonry/NSLayoutConstraint+MASDebugAdditions.h
  72. 1 0
      NoobTask/Pods/Headers/Public/Masonry/View+MASAdditions.h
  73. 1 0
      NoobTask/Pods/Headers/Public/Masonry/View+MASShorthandAdditions.h
  74. 1 0
      NoobTask/Pods/Headers/Public/Masonry/ViewController+MASAdditions.h
  75. 1 0
      NoobTask/Pods/Headers/Public/SDWebImage/NSData+ImageContentType.h
  76. 1 0
      NoobTask/Pods/Headers/Public/SDWebImage/SDImageCache.h
  77. 1 0
      NoobTask/Pods/Headers/Public/SDWebImage/SDWebImageCompat.h
  78. 1 0
      NoobTask/Pods/Headers/Public/SDWebImage/SDWebImageDecoder.h
  79. 1 0
      NoobTask/Pods/Headers/Public/SDWebImage/SDWebImageDownloader.h
  80. 1 0
      NoobTask/Pods/Headers/Public/SDWebImage/SDWebImageDownloaderOperation.h
  81. 1 0
      NoobTask/Pods/Headers/Public/SDWebImage/SDWebImageManager.h
  82. 1 0
      NoobTask/Pods/Headers/Public/SDWebImage/SDWebImageOperation.h
  83. 1 0
      NoobTask/Pods/Headers/Public/SDWebImage/SDWebImagePrefetcher.h
  84. 1 0
      NoobTask/Pods/Headers/Public/SDWebImage/UIButton+WebCache.h
  85. 1 0
      NoobTask/Pods/Headers/Public/SDWebImage/UIImage+GIF.h
  86. 1 0
      NoobTask/Pods/Headers/Public/SDWebImage/UIImage+MultiFormat.h
  87. 1 0
      NoobTask/Pods/Headers/Public/SDWebImage/UIImageView+HighlightedWebCache.h
  88. 1 0
      NoobTask/Pods/Headers/Public/SDWebImage/UIImageView+WebCache.h
  89. 1 0
      NoobTask/Pods/Headers/Public/SDWebImage/UIView+WebCacheOperation.h
  90. 1 0
      NoobTask/Pods/Headers/Public/WechatOpenSDK/WXApi.h
  91. 1 0
      NoobTask/Pods/Headers/Public/WechatOpenSDK/WXApiObject.h
  92. 1 0
      NoobTask/Pods/Headers/Public/WechatOpenSDK/WechatAuthSDK.h
  93. 19 0
      NoobTask/Pods/MBProgressHUD/LICENSE
  94. 435 0
      NoobTask/Pods/MBProgressHUD/MBProgressHUD.h
  95. 1484 0
      NoobTask/Pods/MBProgressHUD/MBProgressHUD.m
  96. 126 0
      NoobTask/Pods/MBProgressHUD/README.mdown
  97. 23 0
      NoobTask/Pods/Manifest.lock
  98. 19 0
      NoobTask/Pods/Masonry/LICENSE
  99. 26 0
      NoobTask/Pods/Masonry/Masonry/MASCompositeConstraint.h
  100. 0 0
      NoobTask/Pods/Masonry/Masonry/MASCompositeConstraint.m

+ 665 - 0
NoobTask/NoobTask.xcodeproj/project.pbxproj

@@ -0,0 +1,665 @@
+// !$*UTF8*$!
+{
+	archiveVersion = 1;
+	classes = {
+	};
+	objectVersion = 48;
+	objects = {
+
+/* Begin PBXBuildFile section */
+		34B59D89A168E20BB80805E0 /* libPods-NoobTask.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 7296FD0E61AE0BA618D9A5F2 /* libPods-NoobTask.a */; };
+		990F3C481FD2841E00BDF0D3 /* ThirdHelper.m in Sources */ = {isa = PBXBuildFile; fileRef = 990F3C471FD2841E00BDF0D3 /* ThirdHelper.m */; };
+		9987F7421FD293BD00D7AE98 /* InnerPayHelper.m in Sources */ = {isa = PBXBuildFile; fileRef = 9987F7411FD293BD00D7AE98 /* InnerPayHelper.m */; };
+		9987F7451FD2953A00D7AE98 /* Hud.m in Sources */ = {isa = PBXBuildFile; fileRef = 9987F7441FD2953A00D7AE98 /* Hud.m */; };
+		99C43BF21FD27CC000E5EA50 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 99C43BF11FD27CC000E5EA50 /* AppDelegate.m */; };
+		99C43BF51FD27CC000E5EA50 /* ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 99C43BF41FD27CC000E5EA50 /* ViewController.m */; };
+		99C43BF81FD27CC000E5EA50 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 99C43BF61FD27CC000E5EA50 /* Main.storyboard */; };
+		99C43BFA1FD27CC000E5EA50 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 99C43BF91FD27CC000E5EA50 /* Assets.xcassets */; };
+		99C43BFD1FD27CC000E5EA50 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 99C43BFB1FD27CC000E5EA50 /* LaunchScreen.storyboard */; };
+		99C43C001FD27CC000E5EA50 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 99C43BFF1FD27CC000E5EA50 /* main.m */; };
+		99C43C0A1FD27CC100E5EA50 /* NoobTaskTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 99C43C091FD27CC100E5EA50 /* NoobTaskTests.m */; };
+		99C43C151FD27CC100E5EA50 /* NoobTaskUITests.m in Sources */ = {isa = PBXBuildFile; fileRef = 99C43C141FD27CC100E5EA50 /* NoobTaskUITests.m */; };
+/* End PBXBuildFile section */
+
+/* Begin PBXContainerItemProxy section */
+		99C43C061FD27CC100E5EA50 /* PBXContainerItemProxy */ = {
+			isa = PBXContainerItemProxy;
+			containerPortal = 99C43BE51FD27CC000E5EA50 /* Project object */;
+			proxyType = 1;
+			remoteGlobalIDString = 99C43BEC1FD27CC000E5EA50;
+			remoteInfo = NoobTask;
+		};
+		99C43C111FD27CC100E5EA50 /* PBXContainerItemProxy */ = {
+			isa = PBXContainerItemProxy;
+			containerPortal = 99C43BE51FD27CC000E5EA50 /* Project object */;
+			proxyType = 1;
+			remoteGlobalIDString = 99C43BEC1FD27CC000E5EA50;
+			remoteInfo = NoobTask;
+		};
+/* End PBXContainerItemProxy section */
+
+/* Begin PBXFileReference section */
+		7296FD0E61AE0BA618D9A5F2 /* libPods-NoobTask.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-NoobTask.a"; sourceTree = BUILT_PRODUCTS_DIR; };
+		8D76DF2E60D6B3223E5E0840 /* Pods-NoobTask.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-NoobTask.debug.xcconfig"; path = "Pods/Target Support Files/Pods-NoobTask/Pods-NoobTask.debug.xcconfig"; sourceTree = "<group>"; };
+		990F3C461FD2841E00BDF0D3 /* ThirdHelper.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ThirdHelper.h; sourceTree = "<group>"; };
+		990F3C471FD2841E00BDF0D3 /* ThirdHelper.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ThirdHelper.m; sourceTree = "<group>"; };
+		9987F7401FD293BD00D7AE98 /* InnerPayHelper.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = InnerPayHelper.h; sourceTree = "<group>"; };
+		9987F7411FD293BD00D7AE98 /* InnerPayHelper.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = InnerPayHelper.m; sourceTree = "<group>"; };
+		9987F7431FD2953A00D7AE98 /* Hud.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = Hud.h; sourceTree = "<group>"; };
+		9987F7441FD2953A00D7AE98 /* Hud.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = Hud.m; sourceTree = "<group>"; };
+		99C43BED1FD27CC000E5EA50 /* NoobTask.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = NoobTask.app; sourceTree = BUILT_PRODUCTS_DIR; };
+		99C43BF01FD27CC000E5EA50 /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = "<group>"; };
+		99C43BF11FD27CC000E5EA50 /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = "<group>"; };
+		99C43BF31FD27CC000E5EA50 /* ViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ViewController.h; sourceTree = "<group>"; };
+		99C43BF41FD27CC000E5EA50 /* ViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ViewController.m; sourceTree = "<group>"; };
+		99C43BF71FD27CC000E5EA50 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
+		99C43BF91FD27CC000E5EA50 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
+		99C43BFC1FD27CC000E5EA50 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
+		99C43BFE1FD27CC000E5EA50 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
+		99C43BFF1FD27CC000E5EA50 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
+		99C43C051FD27CC100E5EA50 /* NoobTaskTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = NoobTaskTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
+		99C43C091FD27CC100E5EA50 /* NoobTaskTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = NoobTaskTests.m; sourceTree = "<group>"; };
+		99C43C0B1FD27CC100E5EA50 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
+		99C43C101FD27CC100E5EA50 /* NoobTaskUITests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = NoobTaskUITests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
+		99C43C141FD27CC100E5EA50 /* NoobTaskUITests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = NoobTaskUITests.m; sourceTree = "<group>"; };
+		99C43C161FD27CC100E5EA50 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
+		FA10B0B2315485D6DC95F903 /* Pods-NoobTask.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-NoobTask.release.xcconfig"; path = "Pods/Target Support Files/Pods-NoobTask/Pods-NoobTask.release.xcconfig"; sourceTree = "<group>"; };
+/* End PBXFileReference section */
+
+/* Begin PBXFrameworksBuildPhase section */
+		99C43BEA1FD27CC000E5EA50 /* Frameworks */ = {
+			isa = PBXFrameworksBuildPhase;
+			buildActionMask = 2147483647;
+			files = (
+				34B59D89A168E20BB80805E0 /* libPods-NoobTask.a in Frameworks */,
+			);
+			runOnlyForDeploymentPostprocessing = 0;
+		};
+		99C43C021FD27CC100E5EA50 /* Frameworks */ = {
+			isa = PBXFrameworksBuildPhase;
+			buildActionMask = 2147483647;
+			files = (
+			);
+			runOnlyForDeploymentPostprocessing = 0;
+		};
+		99C43C0D1FD27CC100E5EA50 /* Frameworks */ = {
+			isa = PBXFrameworksBuildPhase;
+			buildActionMask = 2147483647;
+			files = (
+			);
+			runOnlyForDeploymentPostprocessing = 0;
+		};
+/* End PBXFrameworksBuildPhase section */
+
+/* Begin PBXGroup section */
+		1BB62E93FC0A43BE36F104BA /* Frameworks */ = {
+			isa = PBXGroup;
+			children = (
+				7296FD0E61AE0BA618D9A5F2 /* libPods-NoobTask.a */,
+			);
+			name = Frameworks;
+			sourceTree = "<group>";
+		};
+		99C43BE41FD27CC000E5EA50 = {
+			isa = PBXGroup;
+			children = (
+				99C43BEF1FD27CC000E5EA50 /* NoobTask */,
+				99C43C081FD27CC100E5EA50 /* NoobTaskTests */,
+				99C43C131FD27CC100E5EA50 /* NoobTaskUITests */,
+				99C43BEE1FD27CC000E5EA50 /* Products */,
+				A2E01BAECD66200ACF498B3B /* Pods */,
+				1BB62E93FC0A43BE36F104BA /* Frameworks */,
+			);
+			sourceTree = "<group>";
+		};
+		99C43BEE1FD27CC000E5EA50 /* Products */ = {
+			isa = PBXGroup;
+			children = (
+				99C43BED1FD27CC000E5EA50 /* NoobTask.app */,
+				99C43C051FD27CC100E5EA50 /* NoobTaskTests.xctest */,
+				99C43C101FD27CC100E5EA50 /* NoobTaskUITests.xctest */,
+			);
+			name = Products;
+			sourceTree = "<group>";
+		};
+		99C43BEF1FD27CC000E5EA50 /* NoobTask */ = {
+			isa = PBXGroup;
+			children = (
+				99C43C221FD27CEF00E5EA50 /* lib */,
+				99C43BF01FD27CC000E5EA50 /* AppDelegate.h */,
+				99C43BF11FD27CC000E5EA50 /* AppDelegate.m */,
+				99C43BF31FD27CC000E5EA50 /* ViewController.h */,
+				99C43BF41FD27CC000E5EA50 /* ViewController.m */,
+				990F3C461FD2841E00BDF0D3 /* ThirdHelper.h */,
+				990F3C471FD2841E00BDF0D3 /* ThirdHelper.m */,
+				9987F7401FD293BD00D7AE98 /* InnerPayHelper.h */,
+				9987F7411FD293BD00D7AE98 /* InnerPayHelper.m */,
+				9987F7431FD2953A00D7AE98 /* Hud.h */,
+				9987F7441FD2953A00D7AE98 /* Hud.m */,
+				99C43BF61FD27CC000E5EA50 /* Main.storyboard */,
+				99C43BF91FD27CC000E5EA50 /* Assets.xcassets */,
+				99C43BFB1FD27CC000E5EA50 /* LaunchScreen.storyboard */,
+				99C43BFE1FD27CC000E5EA50 /* Info.plist */,
+				99C43BFF1FD27CC000E5EA50 /* main.m */,
+			);
+			path = NoobTask;
+			sourceTree = "<group>";
+		};
+		99C43C081FD27CC100E5EA50 /* NoobTaskTests */ = {
+			isa = PBXGroup;
+			children = (
+				99C43C091FD27CC100E5EA50 /* NoobTaskTests.m */,
+				99C43C0B1FD27CC100E5EA50 /* Info.plist */,
+			);
+			path = NoobTaskTests;
+			sourceTree = "<group>";
+		};
+		99C43C131FD27CC100E5EA50 /* NoobTaskUITests */ = {
+			isa = PBXGroup;
+			children = (
+				99C43C141FD27CC100E5EA50 /* NoobTaskUITests.m */,
+				99C43C161FD27CC100E5EA50 /* Info.plist */,
+			);
+			path = NoobTaskUITests;
+			sourceTree = "<group>";
+		};
+		99C43C221FD27CEF00E5EA50 /* lib */ = {
+			isa = PBXGroup;
+			children = (
+			);
+			path = lib;
+			sourceTree = "<group>";
+		};
+		A2E01BAECD66200ACF498B3B /* Pods */ = {
+			isa = PBXGroup;
+			children = (
+				8D76DF2E60D6B3223E5E0840 /* Pods-NoobTask.debug.xcconfig */,
+				FA10B0B2315485D6DC95F903 /* Pods-NoobTask.release.xcconfig */,
+			);
+			name = Pods;
+			sourceTree = "<group>";
+		};
+/* End PBXGroup section */
+
+/* Begin PBXNativeTarget section */
+		99C43BEC1FD27CC000E5EA50 /* NoobTask */ = {
+			isa = PBXNativeTarget;
+			buildConfigurationList = 99C43C191FD27CC100E5EA50 /* Build configuration list for PBXNativeTarget "NoobTask" */;
+			buildPhases = (
+				C1C805DAAB68617BCEE5416C /* [CP] Check Pods Manifest.lock */,
+				99C43BE91FD27CC000E5EA50 /* Sources */,
+				99C43BEA1FD27CC000E5EA50 /* Frameworks */,
+				99C43BEB1FD27CC000E5EA50 /* Resources */,
+				A23745FDF8C617B11850D50F /* [CP] Embed Pods Frameworks */,
+				9EBF4B7F84503772DBC72E22 /* [CP] Copy Pods Resources */,
+			);
+			buildRules = (
+			);
+			dependencies = (
+			);
+			name = NoobTask;
+			productName = NoobTask;
+			productReference = 99C43BED1FD27CC000E5EA50 /* NoobTask.app */;
+			productType = "com.apple.product-type.application";
+		};
+		99C43C041FD27CC100E5EA50 /* NoobTaskTests */ = {
+			isa = PBXNativeTarget;
+			buildConfigurationList = 99C43C1C1FD27CC100E5EA50 /* Build configuration list for PBXNativeTarget "NoobTaskTests" */;
+			buildPhases = (
+				99C43C011FD27CC100E5EA50 /* Sources */,
+				99C43C021FD27CC100E5EA50 /* Frameworks */,
+				99C43C031FD27CC100E5EA50 /* Resources */,
+			);
+			buildRules = (
+			);
+			dependencies = (
+				99C43C071FD27CC100E5EA50 /* PBXTargetDependency */,
+			);
+			name = NoobTaskTests;
+			productName = NoobTaskTests;
+			productReference = 99C43C051FD27CC100E5EA50 /* NoobTaskTests.xctest */;
+			productType = "com.apple.product-type.bundle.unit-test";
+		};
+		99C43C0F1FD27CC100E5EA50 /* NoobTaskUITests */ = {
+			isa = PBXNativeTarget;
+			buildConfigurationList = 99C43C1F1FD27CC100E5EA50 /* Build configuration list for PBXNativeTarget "NoobTaskUITests" */;
+			buildPhases = (
+				99C43C0C1FD27CC100E5EA50 /* Sources */,
+				99C43C0D1FD27CC100E5EA50 /* Frameworks */,
+				99C43C0E1FD27CC100E5EA50 /* Resources */,
+			);
+			buildRules = (
+			);
+			dependencies = (
+				99C43C121FD27CC100E5EA50 /* PBXTargetDependency */,
+			);
+			name = NoobTaskUITests;
+			productName = NoobTaskUITests;
+			productReference = 99C43C101FD27CC100E5EA50 /* NoobTaskUITests.xctest */;
+			productType = "com.apple.product-type.bundle.ui-testing";
+		};
+/* End PBXNativeTarget section */
+
+/* Begin PBXProject section */
+		99C43BE51FD27CC000E5EA50 /* Project object */ = {
+			isa = PBXProject;
+			attributes = {
+				LastUpgradeCheck = 0910;
+				ORGANIZATIONNAME = "靳小飞";
+				TargetAttributes = {
+					99C43BEC1FD27CC000E5EA50 = {
+						CreatedOnToolsVersion = 9.1;
+						ProvisioningStyle = Automatic;
+					};
+					99C43C041FD27CC100E5EA50 = {
+						CreatedOnToolsVersion = 9.1;
+						ProvisioningStyle = Automatic;
+						TestTargetID = 99C43BEC1FD27CC000E5EA50;
+					};
+					99C43C0F1FD27CC100E5EA50 = {
+						CreatedOnToolsVersion = 9.1;
+						ProvisioningStyle = Automatic;
+						TestTargetID = 99C43BEC1FD27CC000E5EA50;
+					};
+				};
+			};
+			buildConfigurationList = 99C43BE81FD27CC000E5EA50 /* Build configuration list for PBXProject "NoobTask" */;
+			compatibilityVersion = "Xcode 8.0";
+			developmentRegion = en;
+			hasScannedForEncodings = 0;
+			knownRegions = (
+				en,
+				Base,
+			);
+			mainGroup = 99C43BE41FD27CC000E5EA50;
+			productRefGroup = 99C43BEE1FD27CC000E5EA50 /* Products */;
+			projectDirPath = "";
+			projectRoot = "";
+			targets = (
+				99C43BEC1FD27CC000E5EA50 /* NoobTask */,
+				99C43C041FD27CC100E5EA50 /* NoobTaskTests */,
+				99C43C0F1FD27CC100E5EA50 /* NoobTaskUITests */,
+			);
+		};
+/* End PBXProject section */
+
+/* Begin PBXResourcesBuildPhase section */
+		99C43BEB1FD27CC000E5EA50 /* Resources */ = {
+			isa = PBXResourcesBuildPhase;
+			buildActionMask = 2147483647;
+			files = (
+				99C43BFD1FD27CC000E5EA50 /* LaunchScreen.storyboard in Resources */,
+				99C43BFA1FD27CC000E5EA50 /* Assets.xcassets in Resources */,
+				99C43BF81FD27CC000E5EA50 /* Main.storyboard in Resources */,
+			);
+			runOnlyForDeploymentPostprocessing = 0;
+		};
+		99C43C031FD27CC100E5EA50 /* Resources */ = {
+			isa = PBXResourcesBuildPhase;
+			buildActionMask = 2147483647;
+			files = (
+			);
+			runOnlyForDeploymentPostprocessing = 0;
+		};
+		99C43C0E1FD27CC100E5EA50 /* Resources */ = {
+			isa = PBXResourcesBuildPhase;
+			buildActionMask = 2147483647;
+			files = (
+			);
+			runOnlyForDeploymentPostprocessing = 0;
+		};
+/* End PBXResourcesBuildPhase section */
+
+/* Begin PBXShellScriptBuildPhase section */
+		9EBF4B7F84503772DBC72E22 /* [CP] Copy Pods Resources */ = {
+			isa = PBXShellScriptBuildPhase;
+			buildActionMask = 2147483647;
+			files = (
+			);
+			inputPaths = (
+			);
+			name = "[CP] Copy Pods Resources";
+			outputPaths = (
+			);
+			runOnlyForDeploymentPostprocessing = 0;
+			shellPath = /bin/sh;
+			shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-NoobTask/Pods-NoobTask-resources.sh\"\n";
+			showEnvVarsInLog = 0;
+		};
+		A23745FDF8C617B11850D50F /* [CP] Embed Pods Frameworks */ = {
+			isa = PBXShellScriptBuildPhase;
+			buildActionMask = 2147483647;
+			files = (
+			);
+			inputPaths = (
+			);
+			name = "[CP] Embed Pods Frameworks";
+			outputPaths = (
+			);
+			runOnlyForDeploymentPostprocessing = 0;
+			shellPath = /bin/sh;
+			shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-NoobTask/Pods-NoobTask-frameworks.sh\"\n";
+			showEnvVarsInLog = 0;
+		};
+		C1C805DAAB68617BCEE5416C /* [CP] Check Pods Manifest.lock */ = {
+			isa = PBXShellScriptBuildPhase;
+			buildActionMask = 2147483647;
+			files = (
+			);
+			inputPaths = (
+				"${PODS_PODFILE_DIR_PATH}/Podfile.lock",
+				"${PODS_ROOT}/Manifest.lock",
+			);
+			name = "[CP] Check Pods Manifest.lock";
+			outputPaths = (
+				"$(DERIVED_FILE_DIR)/Pods-NoobTask-checkManifestLockResult.txt",
+			);
+			runOnlyForDeploymentPostprocessing = 0;
+			shellPath = /bin/sh;
+			shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n    # print error to STDERR\n    echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n    exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
+			showEnvVarsInLog = 0;
+		};
+/* End PBXShellScriptBuildPhase section */
+
+/* Begin PBXSourcesBuildPhase section */
+		99C43BE91FD27CC000E5EA50 /* Sources */ = {
+			isa = PBXSourcesBuildPhase;
+			buildActionMask = 2147483647;
+			files = (
+				99C43BF51FD27CC000E5EA50 /* ViewController.m in Sources */,
+				99C43C001FD27CC000E5EA50 /* main.m in Sources */,
+				99C43BF21FD27CC000E5EA50 /* AppDelegate.m in Sources */,
+				9987F7451FD2953A00D7AE98 /* Hud.m in Sources */,
+				990F3C481FD2841E00BDF0D3 /* ThirdHelper.m in Sources */,
+				9987F7421FD293BD00D7AE98 /* InnerPayHelper.m in Sources */,
+			);
+			runOnlyForDeploymentPostprocessing = 0;
+		};
+		99C43C011FD27CC100E5EA50 /* Sources */ = {
+			isa = PBXSourcesBuildPhase;
+			buildActionMask = 2147483647;
+			files = (
+				99C43C0A1FD27CC100E5EA50 /* NoobTaskTests.m in Sources */,
+			);
+			runOnlyForDeploymentPostprocessing = 0;
+		};
+		99C43C0C1FD27CC100E5EA50 /* Sources */ = {
+			isa = PBXSourcesBuildPhase;
+			buildActionMask = 2147483647;
+			files = (
+				99C43C151FD27CC100E5EA50 /* NoobTaskUITests.m in Sources */,
+			);
+			runOnlyForDeploymentPostprocessing = 0;
+		};
+/* End PBXSourcesBuildPhase section */
+
+/* Begin PBXTargetDependency section */
+		99C43C071FD27CC100E5EA50 /* PBXTargetDependency */ = {
+			isa = PBXTargetDependency;
+			target = 99C43BEC1FD27CC000E5EA50 /* NoobTask */;
+			targetProxy = 99C43C061FD27CC100E5EA50 /* PBXContainerItemProxy */;
+		};
+		99C43C121FD27CC100E5EA50 /* PBXTargetDependency */ = {
+			isa = PBXTargetDependency;
+			target = 99C43BEC1FD27CC000E5EA50 /* NoobTask */;
+			targetProxy = 99C43C111FD27CC100E5EA50 /* PBXContainerItemProxy */;
+		};
+/* End PBXTargetDependency section */
+
+/* Begin PBXVariantGroup section */
+		99C43BF61FD27CC000E5EA50 /* Main.storyboard */ = {
+			isa = PBXVariantGroup;
+			children = (
+				99C43BF71FD27CC000E5EA50 /* Base */,
+			);
+			name = Main.storyboard;
+			sourceTree = "<group>";
+		};
+		99C43BFB1FD27CC000E5EA50 /* LaunchScreen.storyboard */ = {
+			isa = PBXVariantGroup;
+			children = (
+				99C43BFC1FD27CC000E5EA50 /* Base */,
+			);
+			name = LaunchScreen.storyboard;
+			sourceTree = "<group>";
+		};
+/* End PBXVariantGroup section */
+
+/* Begin XCBuildConfiguration section */
+		99C43C171FD27CC100E5EA50 /* Debug */ = {
+			isa = XCBuildConfiguration;
+			buildSettings = {
+				ALWAYS_SEARCH_USER_PATHS = NO;
+				CLANG_ANALYZER_NONNULL = YES;
+				CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
+				CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
+				CLANG_CXX_LIBRARY = "libc++";
+				CLANG_ENABLE_MODULES = YES;
+				CLANG_ENABLE_OBJC_ARC = YES;
+				CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
+				CLANG_WARN_BOOL_CONVERSION = YES;
+				CLANG_WARN_COMMA = YES;
+				CLANG_WARN_CONSTANT_CONVERSION = YES;
+				CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
+				CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
+				CLANG_WARN_EMPTY_BODY = YES;
+				CLANG_WARN_ENUM_CONVERSION = YES;
+				CLANG_WARN_INFINITE_RECURSION = YES;
+				CLANG_WARN_INT_CONVERSION = YES;
+				CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
+				CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
+				CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
+				CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
+				CLANG_WARN_STRICT_PROTOTYPES = YES;
+				CLANG_WARN_SUSPICIOUS_MOVE = YES;
+				CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
+				CLANG_WARN_UNREACHABLE_CODE = YES;
+				CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
+				CODE_SIGN_IDENTITY = "iPhone Developer";
+				COPY_PHASE_STRIP = NO;
+				DEBUG_INFORMATION_FORMAT = dwarf;
+				ENABLE_STRICT_OBJC_MSGSEND = YES;
+				ENABLE_TESTABILITY = YES;
+				GCC_C_LANGUAGE_STANDARD = gnu11;
+				GCC_DYNAMIC_NO_PIC = NO;
+				GCC_NO_COMMON_BLOCKS = YES;
+				GCC_OPTIMIZATION_LEVEL = 0;
+				GCC_PREPROCESSOR_DEFINITIONS = (
+					"DEBUG=1",
+					"$(inherited)",
+				);
+				GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
+				GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
+				GCC_WARN_UNDECLARED_SELECTOR = YES;
+				GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
+				GCC_WARN_UNUSED_FUNCTION = YES;
+				GCC_WARN_UNUSED_VARIABLE = YES;
+				IPHONEOS_DEPLOYMENT_TARGET = 11.1;
+				MTL_ENABLE_DEBUG_INFO = YES;
+				ONLY_ACTIVE_ARCH = YES;
+				SDKROOT = iphoneos;
+			};
+			name = Debug;
+		};
+		99C43C181FD27CC100E5EA50 /* Release */ = {
+			isa = XCBuildConfiguration;
+			buildSettings = {
+				ALWAYS_SEARCH_USER_PATHS = NO;
+				CLANG_ANALYZER_NONNULL = YES;
+				CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
+				CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
+				CLANG_CXX_LIBRARY = "libc++";
+				CLANG_ENABLE_MODULES = YES;
+				CLANG_ENABLE_OBJC_ARC = YES;
+				CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
+				CLANG_WARN_BOOL_CONVERSION = YES;
+				CLANG_WARN_COMMA = YES;
+				CLANG_WARN_CONSTANT_CONVERSION = YES;
+				CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
+				CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
+				CLANG_WARN_EMPTY_BODY = YES;
+				CLANG_WARN_ENUM_CONVERSION = YES;
+				CLANG_WARN_INFINITE_RECURSION = YES;
+				CLANG_WARN_INT_CONVERSION = YES;
+				CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
+				CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
+				CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
+				CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
+				CLANG_WARN_STRICT_PROTOTYPES = YES;
+				CLANG_WARN_SUSPICIOUS_MOVE = YES;
+				CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
+				CLANG_WARN_UNREACHABLE_CODE = YES;
+				CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
+				CODE_SIGN_IDENTITY = "iPhone Developer";
+				COPY_PHASE_STRIP = NO;
+				DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
+				ENABLE_NS_ASSERTIONS = NO;
+				ENABLE_STRICT_OBJC_MSGSEND = YES;
+				GCC_C_LANGUAGE_STANDARD = gnu11;
+				GCC_NO_COMMON_BLOCKS = YES;
+				GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
+				GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
+				GCC_WARN_UNDECLARED_SELECTOR = YES;
+				GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
+				GCC_WARN_UNUSED_FUNCTION = YES;
+				GCC_WARN_UNUSED_VARIABLE = YES;
+				IPHONEOS_DEPLOYMENT_TARGET = 11.1;
+				MTL_ENABLE_DEBUG_INFO = NO;
+				SDKROOT = iphoneos;
+				VALIDATE_PRODUCT = YES;
+			};
+			name = Release;
+		};
+		99C43C1A1FD27CC100E5EA50 /* Debug */ = {
+			isa = XCBuildConfiguration;
+			baseConfigurationReference = 8D76DF2E60D6B3223E5E0840 /* Pods-NoobTask.debug.xcconfig */;
+			buildSettings = {
+				ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
+				CODE_SIGN_STYLE = Automatic;
+				DEVELOPMENT_TEAM = KH2JQ5CDBY;
+				INFOPLIST_FILE = NoobTask/Info.plist;
+				IPHONEOS_DEPLOYMENT_TARGET = 9.0;
+				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
+				PRODUCT_BUNDLE_IDENTIFIER = com.tuoheng.huahuo;
+				PRODUCT_NAME = "$(TARGET_NAME)";
+				TARGETED_DEVICE_FAMILY = "1,2";
+			};
+			name = Debug;
+		};
+		99C43C1B1FD27CC100E5EA50 /* Release */ = {
+			isa = XCBuildConfiguration;
+			baseConfigurationReference = FA10B0B2315485D6DC95F903 /* Pods-NoobTask.release.xcconfig */;
+			buildSettings = {
+				ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
+				CODE_SIGN_STYLE = Automatic;
+				DEVELOPMENT_TEAM = KH2JQ5CDBY;
+				INFOPLIST_FILE = NoobTask/Info.plist;
+				IPHONEOS_DEPLOYMENT_TARGET = 9.0;
+				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
+				PRODUCT_BUNDLE_IDENTIFIER = com.tuoheng.huahuo;
+				PRODUCT_NAME = "$(TARGET_NAME)";
+				TARGETED_DEVICE_FAMILY = "1,2";
+			};
+			name = Release;
+		};
+		99C43C1D1FD27CC100E5EA50 /* Debug */ = {
+			isa = XCBuildConfiguration;
+			buildSettings = {
+				BUNDLE_LOADER = "$(TEST_HOST)";
+				CODE_SIGN_STYLE = Automatic;
+				DEVELOPMENT_TEAM = KH2JQ5CDBY;
+				INFOPLIST_FILE = NoobTaskTests/Info.plist;
+				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
+				PRODUCT_BUNDLE_IDENTIFIER = com.youxiyue.noobtask.NoobTaskTests;
+				PRODUCT_NAME = "$(TARGET_NAME)";
+				TARGETED_DEVICE_FAMILY = "1,2";
+				TEST_HOST = "$(BUILT_PRODUCTS_DIR)/NoobTask.app/NoobTask";
+			};
+			name = Debug;
+		};
+		99C43C1E1FD27CC100E5EA50 /* Release */ = {
+			isa = XCBuildConfiguration;
+			buildSettings = {
+				BUNDLE_LOADER = "$(TEST_HOST)";
+				CODE_SIGN_STYLE = Automatic;
+				DEVELOPMENT_TEAM = KH2JQ5CDBY;
+				INFOPLIST_FILE = NoobTaskTests/Info.plist;
+				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
+				PRODUCT_BUNDLE_IDENTIFIER = com.youxiyue.noobtask.NoobTaskTests;
+				PRODUCT_NAME = "$(TARGET_NAME)";
+				TARGETED_DEVICE_FAMILY = "1,2";
+				TEST_HOST = "$(BUILT_PRODUCTS_DIR)/NoobTask.app/NoobTask";
+			};
+			name = Release;
+		};
+		99C43C201FD27CC100E5EA50 /* Debug */ = {
+			isa = XCBuildConfiguration;
+			buildSettings = {
+				CODE_SIGN_STYLE = Automatic;
+				DEVELOPMENT_TEAM = KH2JQ5CDBY;
+				INFOPLIST_FILE = NoobTaskUITests/Info.plist;
+				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
+				PRODUCT_BUNDLE_IDENTIFIER = com.youxiyue.noobtask.NoobTaskUITests;
+				PRODUCT_NAME = "$(TARGET_NAME)";
+				TARGETED_DEVICE_FAMILY = "1,2";
+				TEST_TARGET_NAME = NoobTask;
+			};
+			name = Debug;
+		};
+		99C43C211FD27CC100E5EA50 /* Release */ = {
+			isa = XCBuildConfiguration;
+			buildSettings = {
+				CODE_SIGN_STYLE = Automatic;
+				DEVELOPMENT_TEAM = KH2JQ5CDBY;
+				INFOPLIST_FILE = NoobTaskUITests/Info.plist;
+				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
+				PRODUCT_BUNDLE_IDENTIFIER = com.youxiyue.noobtask.NoobTaskUITests;
+				PRODUCT_NAME = "$(TARGET_NAME)";
+				TARGETED_DEVICE_FAMILY = "1,2";
+				TEST_TARGET_NAME = NoobTask;
+			};
+			name = Release;
+		};
+/* End XCBuildConfiguration section */
+
+/* Begin XCConfigurationList section */
+		99C43BE81FD27CC000E5EA50 /* Build configuration list for PBXProject "NoobTask" */ = {
+			isa = XCConfigurationList;
+			buildConfigurations = (
+				99C43C171FD27CC100E5EA50 /* Debug */,
+				99C43C181FD27CC100E5EA50 /* Release */,
+			);
+			defaultConfigurationIsVisible = 0;
+			defaultConfigurationName = Release;
+		};
+		99C43C191FD27CC100E5EA50 /* Build configuration list for PBXNativeTarget "NoobTask" */ = {
+			isa = XCConfigurationList;
+			buildConfigurations = (
+				99C43C1A1FD27CC100E5EA50 /* Debug */,
+				99C43C1B1FD27CC100E5EA50 /* Release */,
+			);
+			defaultConfigurationIsVisible = 0;
+			defaultConfigurationName = Release;
+		};
+		99C43C1C1FD27CC100E5EA50 /* Build configuration list for PBXNativeTarget "NoobTaskTests" */ = {
+			isa = XCConfigurationList;
+			buildConfigurations = (
+				99C43C1D1FD27CC100E5EA50 /* Debug */,
+				99C43C1E1FD27CC100E5EA50 /* Release */,
+			);
+			defaultConfigurationIsVisible = 0;
+			defaultConfigurationName = Release;
+		};
+		99C43C1F1FD27CC100E5EA50 /* Build configuration list for PBXNativeTarget "NoobTaskUITests" */ = {
+			isa = XCConfigurationList;
+			buildConfigurations = (
+				99C43C201FD27CC100E5EA50 /* Debug */,
+				99C43C211FD27CC100E5EA50 /* Release */,
+			);
+			defaultConfigurationIsVisible = 0;
+			defaultConfigurationName = Release;
+		};
+/* End XCConfigurationList section */
+	};
+	rootObject = 99C43BE51FD27CC000E5EA50 /* Project object */;
+}

+ 7 - 0
NoobTask/NoobTask.xcodeproj/project.xcworkspace/contents.xcworkspacedata

@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Workspace
+   version = "1.0">
+   <FileRef
+      location = "self:NoobTask.xcodeproj">
+   </FileRef>
+</Workspace>

+ 10 - 0
NoobTask/NoobTask.xcworkspace/contents.xcworkspacedata

@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Workspace
+   version = "1.0">
+   <FileRef
+      location = "group:NoobTask.xcodeproj">
+   </FileRef>
+   <FileRef
+      location = "group:Pods/Pods.xcodeproj">
+   </FileRef>
+</Workspace>

+ 17 - 0
NoobTask/NoobTask/AppDelegate.h

@@ -0,0 +1,17 @@
+//
+//  AppDelegate.h
+//  NoobTask
+//
+//  Created by 靳小飞 on 2017/12/2.
+//  Copyright © 2017年 靳小飞. All rights reserved.
+//
+
+#import <UIKit/UIKit.h>
+
+@interface AppDelegate : UIResponder <UIApplicationDelegate>
+
+@property (strong, nonatomic) UIWindow *window;
+
+
+@end
+

+ 63 - 0
NoobTask/NoobTask/AppDelegate.m

@@ -0,0 +1,63 @@
+//
+//  AppDelegate.m
+//  NoobTask
+//
+//  Created by 靳小飞 on 2017/12/2.
+//  Copyright © 2017年 靳小飞. All rights reserved.
+//
+
+#import "AppDelegate.h"
+#import "ThirdHelper.h"
+
+@interface AppDelegate ()
+
+@end
+
+@implementation AppDelegate
+
+
+- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
+    // Override point for customization after application launch.
+    
+    [ThirdHelper registerThirdHelper];
+    
+    return YES;
+}
+- (BOOL)application:(UIApplication *)application openURL:(NSURL *)url sourceApplication:(NSString *)sourceApplication annotation:(id)annotation
+{
+    return [ThirdHelper handleOpenUrl:url];
+}
+// NOTE: 9.0以后使用新API接口
+- (BOOL)application:(UIApplication *)app openURL:(NSURL *)url options:(NSDictionary<NSString*, id> *)options
+{
+    return [ThirdHelper handleOpenUrl:url];
+}
+
+- (void)applicationWillResignActive:(UIApplication *)application {
+    // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state.
+    // Use this method to pause ongoing tasks, disable timers, and invalidate graphics rendering callbacks. Games should use this method to pause the game.
+}
+
+
+- (void)applicationDidEnterBackground:(UIApplication *)application {
+    // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later.
+    // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.
+}
+
+
+- (void)applicationWillEnterForeground:(UIApplication *)application {
+    // Called as part of the transition from the background to the active state; here you can undo many of the changes made on entering the background.
+}
+
+
+- (void)applicationDidBecomeActive:(UIApplication *)application {
+    // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface.
+}
+
+
+- (void)applicationWillTerminate:(UIApplication *)application {
+    // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.
+}
+
+
+@end

+ 98 - 0
NoobTask/NoobTask/Assets.xcassets/AppIcon.appiconset/Contents.json

@@ -0,0 +1,98 @@
+{
+  "images" : [
+    {
+      "idiom" : "iphone",
+      "size" : "20x20",
+      "scale" : "2x"
+    },
+    {
+      "idiom" : "iphone",
+      "size" : "20x20",
+      "scale" : "3x"
+    },
+    {
+      "idiom" : "iphone",
+      "size" : "29x29",
+      "scale" : "2x"
+    },
+    {
+      "idiom" : "iphone",
+      "size" : "29x29",
+      "scale" : "3x"
+    },
+    {
+      "idiom" : "iphone",
+      "size" : "40x40",
+      "scale" : "2x"
+    },
+    {
+      "idiom" : "iphone",
+      "size" : "40x40",
+      "scale" : "3x"
+    },
+    {
+      "idiom" : "iphone",
+      "size" : "60x60",
+      "scale" : "2x"
+    },
+    {
+      "idiom" : "iphone",
+      "size" : "60x60",
+      "scale" : "3x"
+    },
+    {
+      "idiom" : "ipad",
+      "size" : "20x20",
+      "scale" : "1x"
+    },
+    {
+      "idiom" : "ipad",
+      "size" : "20x20",
+      "scale" : "2x"
+    },
+    {
+      "idiom" : "ipad",
+      "size" : "29x29",
+      "scale" : "1x"
+    },
+    {
+      "idiom" : "ipad",
+      "size" : "29x29",
+      "scale" : "2x"
+    },
+    {
+      "idiom" : "ipad",
+      "size" : "40x40",
+      "scale" : "1x"
+    },
+    {
+      "idiom" : "ipad",
+      "size" : "40x40",
+      "scale" : "2x"
+    },
+    {
+      "idiom" : "ipad",
+      "size" : "76x76",
+      "scale" : "1x"
+    },
+    {
+      "idiom" : "ipad",
+      "size" : "76x76",
+      "scale" : "2x"
+    },
+    {
+      "idiom" : "ipad",
+      "size" : "83.5x83.5",
+      "scale" : "2x"
+    },
+    {
+      "idiom" : "ios-marketing",
+      "size" : "1024x1024",
+      "scale" : "1x"
+    }
+  ],
+  "info" : {
+    "version" : 1,
+    "author" : "xcode"
+  }
+}

+ 25 - 0
NoobTask/NoobTask/Base.lproj/LaunchScreen.storyboard

@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="13122.16" systemVersion="17A277" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="01J-lp-oVM">
+    <dependencies>
+        <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="13104.12"/>
+        <capability name="Safe area layout guides" minToolsVersion="9.0"/>
+        <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
+    </dependencies>
+    <scenes>
+        <!--View Controller-->
+        <scene sceneID="EHf-IW-A2E">
+            <objects>
+                <viewController id="01J-lp-oVM" sceneMemberID="viewController">
+                    <view key="view" contentMode="scaleToFill" id="Ze5-6b-2t3">
+                        <rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
+                        <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
+                        <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
+                        <viewLayoutGuide key="safeArea" id="6Tk-OE-BBY"/>
+                    </view>
+                </viewController>
+                <placeholder placeholderIdentifier="IBFirstResponder" id="iYj-Kq-Ea1" userLabel="First Responder" sceneMemberID="firstResponder"/>
+            </objects>
+            <point key="canvasLocation" x="53" y="375"/>
+        </scene>
+    </scenes>
+</document>

文件差异内容过多而无法显示
+ 105 - 0
NoobTask/NoobTask/Base.lproj/Main.storyboard


+ 17 - 0
NoobTask/NoobTask/Hud.h

@@ -0,0 +1,17 @@
+//
+//  Hud.h
+//  NoobTask
+//
+//  Created by 靳小飞 on 2017/12/2.
+//  Copyright © 2017年 靳小飞. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+@class MBProgressHUD;
+
+@interface Hud : NSObject
++ (void)hud:(NSString *)text;
+
++ (MBProgressHUD *)hudProgress:(NSString *)text;
++ (void)hudDismiss:(MBProgressHUD *)hud;
+@end

+ 33 - 0
NoobTask/NoobTask/Hud.m

@@ -0,0 +1,33 @@
+//
+//  Hud.m
+//  NoobTask
+//
+//  Created by 靳小飞 on 2017/12/2.
+//  Copyright © 2017年 靳小飞. All rights reserved.
+//
+
+#import "Hud.h"
+#import <MBProgressHUD.h>
+
+@implementation Hud
+
++ (void)hud:(NSString *)text
+{
+    
+    MBProgressHUD *hud = [MBProgressHUD showHUDAddedTo:[UIApplication sharedApplication].keyWindow animated:YES];
+    hud.mode = MBProgressHUDModeText;
+    hud.label.text = text;
+    [hud hideAnimated:YES afterDelay:2.0];
+}
+
++ (MBProgressHUD *)hudProgress:(NSString *)text
+{
+    MBProgressHUD *hud = [MBProgressHUD showHUDAddedTo:[UIApplication sharedApplication].keyWindow animated:YES];
+    hud.label.text = text;
+    return hud;
+}
++ (void)hudDismiss:(MBProgressHUD *)hud
+{
+    [hud hideAnimated:YES];
+}
+@end

+ 103 - 0
NoobTask/NoobTask/Info.plist

@@ -0,0 +1,103 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+	<key>CFBundleDevelopmentRegion</key>
+	<string>$(DEVELOPMENT_LANGUAGE)</string>
+	<key>CFBundleExecutable</key>
+	<string>$(EXECUTABLE_NAME)</string>
+	<key>CFBundleIdentifier</key>
+	<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
+	<key>CFBundleInfoDictionaryVersion</key>
+	<string>6.0</string>
+	<key>CFBundleName</key>
+	<string>$(PRODUCT_NAME)</string>
+	<key>CFBundlePackageType</key>
+	<string>APPL</string>
+	<key>CFBundleShortVersionString</key>
+	<string>1.0</string>
+	<key>CFBundleURLTypes</key>
+	<array>
+		<dict>
+			<key>CFBundleTypeRole</key>
+			<string>Editor</string>
+			<key>CFBundleURLName</key>
+			<string>wxapi</string>
+			<key>CFBundleURLSchemes</key>
+			<array>
+				<string>wx7c66f3718a697d85</string>
+			</array>
+		</dict>
+		<dict>
+			<key>CFBundleTypeRole</key>
+			<string>Editor</string>
+			<key>CFBundleURLName</key>
+			<string>com.huahuo</string>
+			<key>CFBundleURLSchemes</key>
+			<array>
+				<string>yxyhh</string>
+			</array>
+		</dict>
+	</array>
+	<key>CFBundleVersion</key>
+	<string>1</string>
+	<key>LSApplicationQueriesSchemes</key>
+	<array>
+		<string>weixin</string>
+		<string>wechat</string>
+		<string>sinaweibohd</string>
+		<string>sinaweibo</string>
+		<string>sinaweibosso</string>
+		<string>weibosdk</string>
+		<string>weibosdk2.5</string>
+		<string>mqqapi</string>
+		<string>mqq</string>
+		<string>mqqOpensdkSSoLogin</string>
+		<string>mqqconnect</string>
+		<string>mqqopensdkdataline</string>
+		<string>mqqopensdkgrouptribeshare</string>
+		<string>mqqopensdkfriend</string>
+		<string>mqqopensdkapi</string>
+		<string>mqqopensdkapiV2</string>
+		<string>mqqopensdkapiV3</string>
+		<string>mqzoneopensdk</string>
+		<string>wtloginmqq</string>
+		<string>wtloginmqq2</string>
+		<string>mqqwpa</string>
+		<string>mqzone</string>
+		<string>mqzonev2</string>
+		<string>mqzoneshare</string>
+		<string>wtloginqzone</string>
+		<string>mqzonewx</string>
+		<string>mqzoneopensdkapiV2</string>
+		<string>mqzoneopensdkapi19</string>
+		<string>mqzoneopensdkapi</string>
+		<string>mqzoneopensdk</string>
+		<string>alipay</string>
+		<string>alipayshare</string>
+	</array>
+	<key>LSRequiresIPhoneOS</key>
+	<true/>
+	<key>UILaunchStoryboardName</key>
+	<string>LaunchScreen</string>
+	<key>UIMainStoryboardFile</key>
+	<string>Main</string>
+	<key>UIRequiredDeviceCapabilities</key>
+	<array>
+		<string>armv7</string>
+	</array>
+	<key>UISupportedInterfaceOrientations</key>
+	<array>
+		<string>UIInterfaceOrientationPortrait</string>
+		<string>UIInterfaceOrientationLandscapeLeft</string>
+		<string>UIInterfaceOrientationLandscapeRight</string>
+	</array>
+	<key>UISupportedInterfaceOrientations~ipad</key>
+	<array>
+		<string>UIInterfaceOrientationPortrait</string>
+		<string>UIInterfaceOrientationPortraitUpsideDown</string>
+		<string>UIInterfaceOrientationLandscapeLeft</string>
+		<string>UIInterfaceOrientationLandscapeRight</string>
+	</array>
+</dict>
+</plist>

+ 17 - 0
NoobTask/NoobTask/InnerPayHelper.h

@@ -0,0 +1,17 @@
+//
+//  InnerPayHelper.h
+//  NoobTask
+//
+//  Created by 靳小飞 on 2017/12/2.
+//  Copyright © 2017年 靳小飞. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+
+typedef void(^PaySuccessBlock)(NSDictionary *dict);//key:receipt
+typedef void(^PayFailureBlock)(NSString *reason, NSInteger statusCode);//非零为失败
+
+@interface InnerPayHelper : NSObject
++ (instancetype)shareInstance;
+- (void)appStorePayWithProductIdentify:(NSString *)productIdentify success:(PaySuccessBlock)successBlock failure:(PayFailureBlock)errorBlock;
+@end

+ 140 - 0
NoobTask/NoobTask/InnerPayHelper.m

@@ -0,0 +1,140 @@
+//
+//  InnerPayHelper.m
+//  NoobTask
+//
+//  Created by 靳小飞 on 2017/12/2.
+//  Copyright © 2017年 靳小飞. All rights reserved.
+//
+
+#import "InnerPayHelper.h"
+#import <StoreKit/StoreKit.h>
+#import "Hud.h"
+
+@interface InnerPayHelper ()<SKPaymentTransactionObserver, SKProductsRequestDelegate>
+@property (nonatomic, copy) PaySuccessBlock successBlock;
+@property (nonatomic, copy) PayFailureBlock failBlock;
+@property (nonatomic, strong) NSString *payReceipt;
+@property (nonatomic, strong) MBProgressHUD *hud;
+@end
+
+@implementation InnerPayHelper
++ (instancetype)shareInstance
+{
+    static InnerPayHelper *instance;
+    static dispatch_once_t onceToken;
+    dispatch_once(&onceToken, ^{
+        instance = [[self alloc]init];
+        
+        [[SKPaymentQueue defaultQueue] addTransactionObserver:instance];
+    });
+    return instance;
+}
+
+#pragma mark ====================== 内购
+/**
+ *  内购
+ */
+- (void)appStorePayWithProductIdentify:(NSString *)productIdentify success:(PaySuccessBlock)successBlock failure:(PayFailureBlock)errorBlock
+{
+    self.successBlock = [successBlock copy];
+    self.failBlock = [errorBlock copy];
+    
+    if ([SKPaymentQueue canMakePayments]) {
+        [self getAppStoreProductInfo:productIdentify];
+    } else {
+        [Hud hud:@"您已禁止应用内付费购买, 请取消后重试"];
+    }
+}
+- (void)getAppStoreProductInfo:(NSString *)productIdentify
+{
+    NSArray *product = [[NSArray alloc] initWithObjects:productIdentify, nil];
+    NSSet *set = [NSSet setWithArray:product];
+    SKProductsRequest * request = [[SKProductsRequest alloc] initWithProductIdentifiers:set];
+    request.delegate = self;
+    [request start];
+    self.hud = [Hud hudProgress:@"正在发起购买,请稍后"];
+}
+#pragma mark SKProductsRequestDelegate
+- (void)productsRequest:(SKProductsRequest *)request didReceiveResponse:(SKProductsResponse *)response NS_AVAILABLE_IOS(3_0)
+{
+    [Hud hudDismiss:self.hud];
+    NSArray *myProduct = response.products;
+    if (myProduct.count == 0) {
+        [Hud hud:@"无法获取产品信息,请重试"];
+        return;
+    }
+    SKPayment * payment = [SKPayment paymentWithProduct:myProduct[0]];
+    
+    [[SKPaymentQueue defaultQueue] addPayment:payment];
+}
+- (void)request:(SKRequest *)request didFailWithError:(NSError *)error {
+    [Hud hudDismiss:self.hud];
+    [Hud hud:[error localizedDescription]];
+}
+#pragma mark SKPaymentTransactionObserver
+- (void)paymentQueue:(SKPaymentQueue *)queue updatedTransactions:(NSArray<SKPaymentTransaction *> *)transactions NS_AVAILABLE_IOS(3_0)
+{
+    [Hud hudDismiss:self.hud];
+    
+    for (SKPaymentTransaction *transaction in transactions)
+    {
+        switch (transaction.transactionState)
+        {
+            case SKPaymentTransactionStatePurchased://交易完成
+            {
+                NSData *receipt = [NSData dataWithContentsOfURL:[[NSBundle mainBundle] appStoreReceiptURL]];
+                self.payReceipt = [receipt base64EncodedStringWithOptions:0];
+                [self completeTransaction:transaction];//完成交易
+            }
+                break;
+            case SKPaymentTransactionStateFailed://交易失败
+                [self failedTransaction:transaction];
+                break;
+                
+            case SKPaymentTransactionStateRestored://已经购买过该商品
+                [Hud hud:@"恢复购买成功"];
+                [self restoreTransaction:transaction];
+                break;
+                
+            case SKPaymentTransactionStatePurchasing://商品添加进列表
+                [Hud hud:@"正在请求付费信息,请稍后"];
+                break;
+                
+            default:
+                break;
+        }
+    }
+}
+- (void)completeTransaction:(SKPaymentTransaction *)transaction
+{
+    [[SKPaymentQueue defaultQueue] finishTransaction: transaction];
+    if (self.successBlock) {
+        self.successBlock(@{@"receipt" : self.payReceipt});
+    }
+    self.payReceipt = nil;
+}
+- (void)restoreTransaction:(SKPaymentTransaction *)transaction
+{
+    [[SKPaymentQueue defaultQueue] finishTransaction: transaction];
+    if (self.successBlock) {
+        self.successBlock(@{@"receipt" : @"已经购买过该商品"});
+    }
+    self.payReceipt = nil;
+}
+- (void)failedTransaction:(SKPaymentTransaction *)transaction
+{
+    NSString *reason = transaction.error.localizedDescription;
+    if(transaction.error.code == SKErrorPaymentCancelled) {
+        reason = @"用户取消交易";
+    }
+    else if(!reason.length)
+    {
+        reason = @"购买失败,请重试";
+    }
+    [[SKPaymentQueue defaultQueue] finishTransaction: transaction];
+    if (self.failBlock) {
+        self.failBlock(reason, 1);
+    }
+    self.payReceipt = nil;
+}
+@end

+ 30 - 0
NoobTask/NoobTask/ThirdHelper.h

@@ -0,0 +1,30 @@
+//
+//  ThirdHelper.h
+//  NoobTask
+//
+//  Created by 靳小飞 on 2017/12/2.
+//  Copyright © 2017年 靳小飞. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+@class UIImage;
+
+typedef NS_ENUM(NSUInteger, YXYThirdHelperShareWxScene) {
+    YXYThirdHelperShareWxSession,
+    YXYThirdHelperShareWxTimeline,
+};
+
+typedef void(^PaySuccessBlock)(NSDictionary *dict);//key:receipt
+typedef void(^PayFailureBlock)(NSString *reason, NSInteger statusCode);//非零为失败
+
+@interface ThirdHelper : NSObject
++ (void)registerThirdHelper;
++ (instancetype)shareInstance;
++ (BOOL)handleOpenUrl:(NSURL *)url;
+
+- (void)shareWxTo:(YXYThirdHelperShareWxScene)scene title:(NSString *)title desc:(NSString *)desc icon:(UIImage *)icon shareImg:(UIImage *)shareImg webUrl:(NSString *)webUrl;
+/**
+ *   wx支付
+ */
+- (void)wxPayWithParam:(id)param success:(PaySuccessBlock)successBlock failure:(PayFailureBlock)errorBlock;
+@end

+ 162 - 0
NoobTask/NoobTask/ThirdHelper.m

@@ -0,0 +1,162 @@
+//
+//  ThirdHelper.m
+//  NoobTask
+//
+//  Created by 靳小飞 on 2017/12/2.
+//  Copyright © 2017年 靳小飞. All rights reserved.
+//
+
+#import "ThirdHelper.h"
+#import <MBProgressHUD.h>
+#import <WXApi.h>
+#import <WXApiObject.h>
+#import "Hud.h"
+
+#define kWxAppId @"wx7c66f3718a697d85" 
+
+@interface ThirdHelper () <WXApiDelegate>
+@property (nonatomic, copy) PaySuccessBlock successBlock;
+@property (nonatomic, copy) PayFailureBlock failBlock;
+@end
+
+@implementation ThirdHelper
+
++ (instancetype)shareInstance
+{
+    static ThirdHelper *instance;
+    static dispatch_once_t onceToken;
+    dispatch_once(&onceToken, ^{
+        instance = [[self alloc]init];
+    });
+    return instance;
+}
+
++ (void)registerThirdHelper
+{
+    //wx
+    [WXApi registerApp:kWxAppId];
+}
+
++ (BOOL)handleOpenUrl:(NSURL *)url
+{
+    if ([[url absoluteString] hasPrefix:[NSString stringWithFormat:@"%@://", kWxAppId]])
+    {
+        // 微信回调
+        return [WXApi handleOpenURL:url delegate:[ThirdHelper shareInstance]];
+    }
+    return NO;
+}
+
+- (void)shareWxTo:(YXYThirdHelperShareWxScene)scene title:(NSString *)title desc:(NSString *)desc icon:(UIImage *)icon shareImg:(UIImage *)shareImg webUrl:(NSString *)webUrl
+{
+    if ([self checkForWechatApp] == NO) return;
+    
+    WXMediaMessage *message = [WXMediaMessage message];
+    message.title = title;
+    message.description = desc;
+    if (icon) {
+        [message setThumbImage:icon];
+    }
+    
+    if (shareImg) {
+        WXImageObject *imgObj = [[WXImageObject alloc]init];
+        imgObj.imageData = UIImageJPEGRepresentation(shareImg, 1.0);
+        message.mediaObject = imgObj;
+    }
+    if (webUrl) {
+        WXWebpageObject *webObj = [[WXWebpageObject alloc]init];
+        webObj.webpageUrl = webUrl;
+        message.mediaObject = webObj;
+    }
+    
+    SendMessageToWXReq *req = [[SendMessageToWXReq alloc]init];
+    req.bText = NO;
+    req.message = message;
+    if (scene == YXYThirdHelperShareWxSession) {
+        req.scene = WXSceneSession;
+    }else if (scene == YXYThirdHelperShareWxTimeline){
+        req.scene = WXSceneTimeline;
+    }
+    [WXApi sendReq:req];
+}
+-(void) onResp:(BaseResp*)resp
+{
+    // 微信支付回调
+    if ([resp isKindOfClass:[PayResp class]])
+    {
+        [self wxPayResultCallBackWithResp:(PayResp *)resp];
+    }
+    // 微信登录回调
+    else if ([resp isKindOfClass:[SendAuthResp class]])
+    {
+//        [self loginWithWX:(SendAuthResp *)resp];
+    }
+    else if([resp isKindOfClass:[SendMessageToWXResp class]]){
+        NSInteger errorCode = resp.errCode;
+        NSString *reason = resp.errStr;
+        if (errorCode == -2) {
+            reason = @"取消分享";
+        }
+        if (errorCode != 0) {
+            [Hud hud:reason.length?reason:@"分享失败"];
+        }else{
+            [Hud hud:@"分享成功"];
+        }
+    }
+}
+#pragma mark - wx pay
+/**
+ *   wx支付
+ */
+- (void)wxPayWithParam:(id)param success:(PaySuccessBlock)successBlock failure:(PayFailureBlock)errorBlock
+{
+    self.successBlock = [successBlock copy];
+    self.failBlock = [errorBlock copy];
+    
+    PayReq *request = [[PayReq alloc] init];
+//    request.partnerId = param.partnerid;
+//    request.prepayId= param.prepayid;
+//    request.package = param.package;
+//    request.nonceStr= param.noncestr;
+//    request.timeStamp= param.timestamp;
+//    request.sign= param.sign;
+    
+    [WXApi sendReq:request];
+}
+- (void)wxPayResultCallBackWithResp:(PayResp *)resp
+{
+    NSLog(@"wx resp errorcode : %zd", resp.errCode);
+    
+    switch (resp.errCode) {
+        case WXSuccess:
+        {
+            if (self.successBlock) {
+                self.successBlock(nil);
+            }
+        }
+            break;
+            
+        default:
+        {
+            if (self.failBlock) {
+                self.failBlock(nil, resp.errCode);
+            }
+        }
+            break;
+    }
+}
+#pragma mark - other
+- (BOOL)checkForWechatApp
+{
+    if (![WXApi isWXAppInstalled]) {
+        [Hud hud:@"微信尚未安装"];
+        return NO;
+    }else if(![WXApi isWXAppSupportApi]) {
+        [Hud hud:@"您当前的微信版本不支持"];
+        return NO;
+    }
+    return YES;
+}
+
+
+@end

+ 15 - 0
NoobTask/NoobTask/ViewController.h

@@ -0,0 +1,15 @@
+//
+//  ViewController.h
+//  NoobTask
+//
+//  Created by 靳小飞 on 2017/12/2.
+//  Copyright © 2017年 靳小飞. All rights reserved.
+//
+
+#import <UIKit/UIKit.h>
+
+@interface ViewController : UIViewController
+
+
+@end
+

+ 67 - 0
NoobTask/NoobTask/ViewController.m

@@ -0,0 +1,67 @@
+//
+//  ViewController.m
+//  NoobTask
+//
+//  Created by 靳小飞 on 2017/12/2.
+//  Copyright © 2017年 靳小飞. All rights reserved.
+//
+
+#import "ViewController.h"
+#import <SDWebImage/UIImageView+WebCache.h>
+#import "Hud.h"
+#import "ThirdHelper.h"
+#import "InnerPayHelper.h"
+
+@interface ViewController ()
+    @property (weak, nonatomic) IBOutlet UIImageView *imgView;
+    @property (weak, nonatomic) IBOutlet UITextField *imgUrlTextF;
+    
+@end
+
+@implementation ViewController
+/**
+ *  备注:演示以微信为例,微信支付需要后台支持,故没做演示。这里演示部分苹果内购功能,因测试账号为原公司的,不易做公开,请谅解
+ 
+ *  因为分享,支付相关都要配置app相关证书或平台信息,故您检查时候还是看代码为准,把demo相关数据改为自己的app相关配置
+ 
+ *  这里就大概写下,也不知道新手任务具体的规范。。。。。。。。。。。。
+ */
+- (void)viewDidLoad
+{
+    [super viewDidLoad];
+    
+    self.imgUrlTextF.text = @"https://ss0.bdstatic.com/94oJfD_bAAcT8t7mm9GUKT-xh_/timg?image&quality=100&size=b4000_4000&sec=1512196440&di=15d3bbec26caa9ea73b6a9a4a2d1643b&src=http://imgsrc.baidu.com/imgad/pic/item/4ec2d5628535e5dd17ac1ed67cc6a7efce1b6233.jpg";
+    [self reloadImg];
+}
+
+- (IBAction)loadImg:(id)sender {
+    [self reloadImg];
+}
+- (IBAction)share:(id)sender {
+    
+    [[ThirdHelper shareInstance] shareWxTo:YXYThirdHelperShareWxSession title:@"新手任务" desc:@"程序员客栈新手任务" icon:nil shareImg:self.imgView.image webUrl:nil];
+}
+- (IBAction)shareTimeline:(id)sender {
+    [[ThirdHelper shareInstance] shareWxTo:YXYThirdHelperShareWxTimeline title:@"新手任务" desc:@"程序员客栈新手任务" icon:nil shareImg:self.imgView.image webUrl:nil];
+}
+- (IBAction)pay:(id)sender {
+    NSString *testId = @"com.tuoheng.zuanshi_80";
+    /**
+      测试账号 jinxf@tuohn.com pwd: Jinxiaofei123456
+     */
+    [[InnerPayHelper shareInstance] appStorePayWithProductIdentify:testId success:^(NSDictionary *dict) {
+        [Hud hud:@"支付成功"];
+    } failure:^(NSString *reason, NSInteger statusCode) {
+        [Hud hud:reason];
+    }];
+}
+#pragma mark - private
+- (void)reloadImg
+{
+    if (!self.imgUrlTextF.text.length) {
+        [Hud hud:@"图片地址为空"];
+    }
+    
+    [self.imgView sd_setImageWithURL:[NSURL URLWithString:self.imgUrlTextF.text]];
+}
+@end

+ 16 - 0
NoobTask/NoobTask/main.m

@@ -0,0 +1,16 @@
+//
+//  main.m
+//  NoobTask
+//
+//  Created by 靳小飞 on 2017/12/2.
+//  Copyright © 2017年 靳小飞. All rights reserved.
+//
+
+#import <UIKit/UIKit.h>
+#import "AppDelegate.h"
+
+int main(int argc, char * argv[]) {
+    @autoreleasepool {
+        return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
+    }
+}

+ 22 - 0
NoobTask/NoobTaskTests/Info.plist

@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+	<key>CFBundleDevelopmentRegion</key>
+	<string>$(DEVELOPMENT_LANGUAGE)</string>
+	<key>CFBundleExecutable</key>
+	<string>$(EXECUTABLE_NAME)</string>
+	<key>CFBundleIdentifier</key>
+	<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
+	<key>CFBundleInfoDictionaryVersion</key>
+	<string>6.0</string>
+	<key>CFBundleName</key>
+	<string>$(PRODUCT_NAME)</string>
+	<key>CFBundlePackageType</key>
+	<string>BNDL</string>
+	<key>CFBundleShortVersionString</key>
+	<string>1.0</string>
+	<key>CFBundleVersion</key>
+	<string>1</string>
+</dict>
+</plist>

+ 39 - 0
NoobTask/NoobTaskTests/NoobTaskTests.m

@@ -0,0 +1,39 @@
+//
+//  NoobTaskTests.m
+//  NoobTaskTests
+//
+//  Created by 靳小飞 on 2017/12/2.
+//  Copyright © 2017年 靳小飞. All rights reserved.
+//
+
+#import <XCTest/XCTest.h>
+
+@interface NoobTaskTests : XCTestCase
+
+@end
+
+@implementation NoobTaskTests
+
+- (void)setUp {
+    [super setUp];
+    // Put setup code here. This method is called before the invocation of each test method in the class.
+}
+
+- (void)tearDown {
+    // Put teardown code here. This method is called after the invocation of each test method in the class.
+    [super tearDown];
+}
+
+- (void)testExample {
+    // This is an example of a functional test case.
+    // Use XCTAssert and related functions to verify your tests produce the correct results.
+}
+
+- (void)testPerformanceExample {
+    // This is an example of a performance test case.
+    [self measureBlock:^{
+        // Put the code you want to measure the time of here.
+    }];
+}
+
+@end

+ 22 - 0
NoobTask/NoobTaskUITests/Info.plist

@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+	<key>CFBundleDevelopmentRegion</key>
+	<string>$(DEVELOPMENT_LANGUAGE)</string>
+	<key>CFBundleExecutable</key>
+	<string>$(EXECUTABLE_NAME)</string>
+	<key>CFBundleIdentifier</key>
+	<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
+	<key>CFBundleInfoDictionaryVersion</key>
+	<string>6.0</string>
+	<key>CFBundleName</key>
+	<string>$(PRODUCT_NAME)</string>
+	<key>CFBundlePackageType</key>
+	<string>BNDL</string>
+	<key>CFBundleShortVersionString</key>
+	<string>1.0</string>
+	<key>CFBundleVersion</key>
+	<string>1</string>
+</dict>
+</plist>

+ 40 - 0
NoobTask/NoobTaskUITests/NoobTaskUITests.m

@@ -0,0 +1,40 @@
+//
+//  NoobTaskUITests.m
+//  NoobTaskUITests
+//
+//  Created by 靳小飞 on 2017/12/2.
+//  Copyright © 2017年 靳小飞. All rights reserved.
+//
+
+#import <XCTest/XCTest.h>
+
+@interface NoobTaskUITests : XCTestCase
+
+@end
+
+@implementation NoobTaskUITests
+
+- (void)setUp {
+    [super setUp];
+    
+    // Put setup code here. This method is called before the invocation of each test method in the class.
+    
+    // In UI tests it is usually best to stop immediately when a failure occurs.
+    self.continueAfterFailure = NO;
+    // UI tests must launch the application that they test. Doing this in setup will make sure it happens for each test method.
+    [[[XCUIApplication alloc] init] launch];
+    
+    // In UI tests it’s important to set the initial state - such as interface orientation - required for your tests before they run. The setUp method is a good place to do this.
+}
+
+- (void)tearDown {
+    // Put teardown code here. This method is called after the invocation of each test method in the class.
+    [super tearDown];
+}
+
+- (void)testExample {
+    // Use recording to get started writing UI tests.
+    // Use XCTAssert and related functions to verify your tests produce the correct results.
+}
+
+@end

+ 11 - 0
NoobTask/Podfile

@@ -0,0 +1,11 @@
+# Uncomment the next line to define a global platform for your project
+# platform :ios, '9.0'
+
+target 'NoobTask' do
+
+    pod 'WechatOpenSDK'
+    pod 'SDWebImage', '~>3.8'
+    pod 'Masonry', '1.0.1'
+    pod 'MBProgressHUD'
+
+end

+ 23 - 0
NoobTask/Podfile.lock

@@ -0,0 +1,23 @@
+PODS:
+  - Masonry (1.0.1)
+  - MBProgressHUD (1.0.0)
+  - SDWebImage (3.8.2):
+    - SDWebImage/Core (= 3.8.2)
+  - SDWebImage/Core (3.8.2)
+  - WechatOpenSDK (1.7.7)
+
+DEPENDENCIES:
+  - Masonry (= 1.0.1)
+  - MBProgressHUD
+  - SDWebImage (~> 3.8)
+  - WechatOpenSDK
+
+SPEC CHECKSUMS:
+  Masonry: a1a931a0d08870ed8ae415a2ea5ea68ebcac77df
+  MBProgressHUD: 4890f671c94e8a0f3cf959aa731e9de2f036d71a
+  SDWebImage: 098e97e6176540799c27e804c96653ee0833d13c
+  WechatOpenSDK: cbd332148eb792d444ed4eec94f421d98f2046ee
+
+PODFILE CHECKSUM: bf7de4292cc2664ce3483e93ad6a282d01ec9c31
+
+COCOAPODS: 1.3.1

+ 1 - 0
NoobTask/Pods/Headers/Private/MBProgressHUD/MBProgressHUD.h

@@ -0,0 +1 @@
+../../../MBProgressHUD/MBProgressHUD.h

+ 1 - 0
NoobTask/Pods/Headers/Private/Masonry/MASCompositeConstraint.h

@@ -0,0 +1 @@
+../../../Masonry/Masonry/MASCompositeConstraint.h

+ 1 - 0
NoobTask/Pods/Headers/Private/Masonry/MASConstraint+Private.h

@@ -0,0 +1 @@
+../../../Masonry/Masonry/MASConstraint+Private.h

+ 1 - 0
NoobTask/Pods/Headers/Private/Masonry/MASConstraint.h

@@ -0,0 +1 @@
+../../../Masonry/Masonry/MASConstraint.h

+ 1 - 0
NoobTask/Pods/Headers/Private/Masonry/MASConstraintMaker.h

@@ -0,0 +1 @@
+../../../Masonry/Masonry/MASConstraintMaker.h

+ 1 - 0
NoobTask/Pods/Headers/Private/Masonry/MASLayoutConstraint.h

@@ -0,0 +1 @@
+../../../Masonry/Masonry/MASLayoutConstraint.h

+ 1 - 0
NoobTask/Pods/Headers/Private/Masonry/MASUtilities.h

@@ -0,0 +1 @@
+../../../Masonry/Masonry/MASUtilities.h

+ 1 - 0
NoobTask/Pods/Headers/Private/Masonry/MASViewAttribute.h

@@ -0,0 +1 @@
+../../../Masonry/Masonry/MASViewAttribute.h

+ 1 - 0
NoobTask/Pods/Headers/Private/Masonry/MASViewConstraint.h

@@ -0,0 +1 @@
+../../../Masonry/Masonry/MASViewConstraint.h

+ 1 - 0
NoobTask/Pods/Headers/Private/Masonry/Masonry.h

@@ -0,0 +1 @@
+../../../Masonry/Masonry/Masonry.h

+ 1 - 0
NoobTask/Pods/Headers/Private/Masonry/NSArray+MASAdditions.h

@@ -0,0 +1 @@
+../../../Masonry/Masonry/NSArray+MASAdditions.h

+ 1 - 0
NoobTask/Pods/Headers/Private/Masonry/NSArray+MASShorthandAdditions.h

@@ -0,0 +1 @@
+../../../Masonry/Masonry/NSArray+MASShorthandAdditions.h

+ 1 - 0
NoobTask/Pods/Headers/Private/Masonry/NSLayoutConstraint+MASDebugAdditions.h

@@ -0,0 +1 @@
+../../../Masonry/Masonry/NSLayoutConstraint+MASDebugAdditions.h

+ 1 - 0
NoobTask/Pods/Headers/Private/Masonry/View+MASAdditions.h

@@ -0,0 +1 @@
+../../../Masonry/Masonry/View+MASAdditions.h

+ 1 - 0
NoobTask/Pods/Headers/Private/Masonry/View+MASShorthandAdditions.h

@@ -0,0 +1 @@
+../../../Masonry/Masonry/View+MASShorthandAdditions.h

+ 1 - 0
NoobTask/Pods/Headers/Private/Masonry/ViewController+MASAdditions.h

@@ -0,0 +1 @@
+../../../Masonry/Masonry/ViewController+MASAdditions.h

+ 1 - 0
NoobTask/Pods/Headers/Private/SDWebImage/NSData+ImageContentType.h

@@ -0,0 +1 @@
+../../../SDWebImage/SDWebImage/NSData+ImageContentType.h

+ 1 - 0
NoobTask/Pods/Headers/Private/SDWebImage/SDImageCache.h

@@ -0,0 +1 @@
+../../../SDWebImage/SDWebImage/SDImageCache.h

+ 1 - 0
NoobTask/Pods/Headers/Private/SDWebImage/SDWebImageCompat.h

@@ -0,0 +1 @@
+../../../SDWebImage/SDWebImage/SDWebImageCompat.h

+ 1 - 0
NoobTask/Pods/Headers/Private/SDWebImage/SDWebImageDecoder.h

@@ -0,0 +1 @@
+../../../SDWebImage/SDWebImage/SDWebImageDecoder.h

+ 1 - 0
NoobTask/Pods/Headers/Private/SDWebImage/SDWebImageDownloader.h

@@ -0,0 +1 @@
+../../../SDWebImage/SDWebImage/SDWebImageDownloader.h

+ 1 - 0
NoobTask/Pods/Headers/Private/SDWebImage/SDWebImageDownloaderOperation.h

@@ -0,0 +1 @@
+../../../SDWebImage/SDWebImage/SDWebImageDownloaderOperation.h

+ 1 - 0
NoobTask/Pods/Headers/Private/SDWebImage/SDWebImageManager.h

@@ -0,0 +1 @@
+../../../SDWebImage/SDWebImage/SDWebImageManager.h

+ 1 - 0
NoobTask/Pods/Headers/Private/SDWebImage/SDWebImageOperation.h

@@ -0,0 +1 @@
+../../../SDWebImage/SDWebImage/SDWebImageOperation.h

+ 1 - 0
NoobTask/Pods/Headers/Private/SDWebImage/SDWebImagePrefetcher.h

@@ -0,0 +1 @@
+../../../SDWebImage/SDWebImage/SDWebImagePrefetcher.h

+ 1 - 0
NoobTask/Pods/Headers/Private/SDWebImage/UIButton+WebCache.h

@@ -0,0 +1 @@
+../../../SDWebImage/SDWebImage/UIButton+WebCache.h

+ 1 - 0
NoobTask/Pods/Headers/Private/SDWebImage/UIImage+GIF.h

@@ -0,0 +1 @@
+../../../SDWebImage/SDWebImage/UIImage+GIF.h

+ 1 - 0
NoobTask/Pods/Headers/Private/SDWebImage/UIImage+MultiFormat.h

@@ -0,0 +1 @@
+../../../SDWebImage/SDWebImage/UIImage+MultiFormat.h

+ 1 - 0
NoobTask/Pods/Headers/Private/SDWebImage/UIImageView+HighlightedWebCache.h

@@ -0,0 +1 @@
+../../../SDWebImage/SDWebImage/UIImageView+HighlightedWebCache.h

+ 1 - 0
NoobTask/Pods/Headers/Private/SDWebImage/UIImageView+WebCache.h

@@ -0,0 +1 @@
+../../../SDWebImage/SDWebImage/UIImageView+WebCache.h

+ 1 - 0
NoobTask/Pods/Headers/Private/SDWebImage/UIView+WebCacheOperation.h

@@ -0,0 +1 @@
+../../../SDWebImage/SDWebImage/UIView+WebCacheOperation.h

+ 1 - 0
NoobTask/Pods/Headers/Private/WechatOpenSDK/WXApi.h

@@ -0,0 +1 @@
+../../../WechatOpenSDK/OpenSDK1.7.7/WXApi.h

+ 1 - 0
NoobTask/Pods/Headers/Private/WechatOpenSDK/WXApiObject.h

@@ -0,0 +1 @@
+../../../WechatOpenSDK/OpenSDK1.7.7/WXApiObject.h

+ 1 - 0
NoobTask/Pods/Headers/Private/WechatOpenSDK/WechatAuthSDK.h

@@ -0,0 +1 @@
+../../../WechatOpenSDK/OpenSDK1.7.7/WechatAuthSDK.h

+ 1 - 0
NoobTask/Pods/Headers/Public/MBProgressHUD/MBProgressHUD.h

@@ -0,0 +1 @@
+../../../MBProgressHUD/MBProgressHUD.h

+ 1 - 0
NoobTask/Pods/Headers/Public/Masonry/MASCompositeConstraint.h

@@ -0,0 +1 @@
+../../../Masonry/Masonry/MASCompositeConstraint.h

+ 1 - 0
NoobTask/Pods/Headers/Public/Masonry/MASConstraint+Private.h

@@ -0,0 +1 @@
+../../../Masonry/Masonry/MASConstraint+Private.h

+ 1 - 0
NoobTask/Pods/Headers/Public/Masonry/MASConstraint.h

@@ -0,0 +1 @@
+../../../Masonry/Masonry/MASConstraint.h

+ 1 - 0
NoobTask/Pods/Headers/Public/Masonry/MASConstraintMaker.h

@@ -0,0 +1 @@
+../../../Masonry/Masonry/MASConstraintMaker.h

+ 1 - 0
NoobTask/Pods/Headers/Public/Masonry/MASLayoutConstraint.h

@@ -0,0 +1 @@
+../../../Masonry/Masonry/MASLayoutConstraint.h

+ 1 - 0
NoobTask/Pods/Headers/Public/Masonry/MASUtilities.h

@@ -0,0 +1 @@
+../../../Masonry/Masonry/MASUtilities.h

+ 1 - 0
NoobTask/Pods/Headers/Public/Masonry/MASViewAttribute.h

@@ -0,0 +1 @@
+../../../Masonry/Masonry/MASViewAttribute.h

+ 1 - 0
NoobTask/Pods/Headers/Public/Masonry/MASViewConstraint.h

@@ -0,0 +1 @@
+../../../Masonry/Masonry/MASViewConstraint.h

+ 1 - 0
NoobTask/Pods/Headers/Public/Masonry/Masonry.h

@@ -0,0 +1 @@
+../../../Masonry/Masonry/Masonry.h

+ 1 - 0
NoobTask/Pods/Headers/Public/Masonry/NSArray+MASAdditions.h

@@ -0,0 +1 @@
+../../../Masonry/Masonry/NSArray+MASAdditions.h

+ 1 - 0
NoobTask/Pods/Headers/Public/Masonry/NSArray+MASShorthandAdditions.h

@@ -0,0 +1 @@
+../../../Masonry/Masonry/NSArray+MASShorthandAdditions.h

+ 1 - 0
NoobTask/Pods/Headers/Public/Masonry/NSLayoutConstraint+MASDebugAdditions.h

@@ -0,0 +1 @@
+../../../Masonry/Masonry/NSLayoutConstraint+MASDebugAdditions.h

+ 1 - 0
NoobTask/Pods/Headers/Public/Masonry/View+MASAdditions.h

@@ -0,0 +1 @@
+../../../Masonry/Masonry/View+MASAdditions.h

+ 1 - 0
NoobTask/Pods/Headers/Public/Masonry/View+MASShorthandAdditions.h

@@ -0,0 +1 @@
+../../../Masonry/Masonry/View+MASShorthandAdditions.h

+ 1 - 0
NoobTask/Pods/Headers/Public/Masonry/ViewController+MASAdditions.h

@@ -0,0 +1 @@
+../../../Masonry/Masonry/ViewController+MASAdditions.h

+ 1 - 0
NoobTask/Pods/Headers/Public/SDWebImage/NSData+ImageContentType.h

@@ -0,0 +1 @@
+../../../SDWebImage/SDWebImage/NSData+ImageContentType.h

+ 1 - 0
NoobTask/Pods/Headers/Public/SDWebImage/SDImageCache.h

@@ -0,0 +1 @@
+../../../SDWebImage/SDWebImage/SDImageCache.h

+ 1 - 0
NoobTask/Pods/Headers/Public/SDWebImage/SDWebImageCompat.h

@@ -0,0 +1 @@
+../../../SDWebImage/SDWebImage/SDWebImageCompat.h

+ 1 - 0
NoobTask/Pods/Headers/Public/SDWebImage/SDWebImageDecoder.h

@@ -0,0 +1 @@
+../../../SDWebImage/SDWebImage/SDWebImageDecoder.h

+ 1 - 0
NoobTask/Pods/Headers/Public/SDWebImage/SDWebImageDownloader.h

@@ -0,0 +1 @@
+../../../SDWebImage/SDWebImage/SDWebImageDownloader.h

+ 1 - 0
NoobTask/Pods/Headers/Public/SDWebImage/SDWebImageDownloaderOperation.h

@@ -0,0 +1 @@
+../../../SDWebImage/SDWebImage/SDWebImageDownloaderOperation.h

+ 1 - 0
NoobTask/Pods/Headers/Public/SDWebImage/SDWebImageManager.h

@@ -0,0 +1 @@
+../../../SDWebImage/SDWebImage/SDWebImageManager.h

+ 1 - 0
NoobTask/Pods/Headers/Public/SDWebImage/SDWebImageOperation.h

@@ -0,0 +1 @@
+../../../SDWebImage/SDWebImage/SDWebImageOperation.h

+ 1 - 0
NoobTask/Pods/Headers/Public/SDWebImage/SDWebImagePrefetcher.h

@@ -0,0 +1 @@
+../../../SDWebImage/SDWebImage/SDWebImagePrefetcher.h

+ 1 - 0
NoobTask/Pods/Headers/Public/SDWebImage/UIButton+WebCache.h

@@ -0,0 +1 @@
+../../../SDWebImage/SDWebImage/UIButton+WebCache.h

+ 1 - 0
NoobTask/Pods/Headers/Public/SDWebImage/UIImage+GIF.h

@@ -0,0 +1 @@
+../../../SDWebImage/SDWebImage/UIImage+GIF.h

+ 1 - 0
NoobTask/Pods/Headers/Public/SDWebImage/UIImage+MultiFormat.h

@@ -0,0 +1 @@
+../../../SDWebImage/SDWebImage/UIImage+MultiFormat.h

+ 1 - 0
NoobTask/Pods/Headers/Public/SDWebImage/UIImageView+HighlightedWebCache.h

@@ -0,0 +1 @@
+../../../SDWebImage/SDWebImage/UIImageView+HighlightedWebCache.h

+ 1 - 0
NoobTask/Pods/Headers/Public/SDWebImage/UIImageView+WebCache.h

@@ -0,0 +1 @@
+../../../SDWebImage/SDWebImage/UIImageView+WebCache.h

+ 1 - 0
NoobTask/Pods/Headers/Public/SDWebImage/UIView+WebCacheOperation.h

@@ -0,0 +1 @@
+../../../SDWebImage/SDWebImage/UIView+WebCacheOperation.h

+ 1 - 0
NoobTask/Pods/Headers/Public/WechatOpenSDK/WXApi.h

@@ -0,0 +1 @@
+../../../WechatOpenSDK/OpenSDK1.7.7/WXApi.h

+ 1 - 0
NoobTask/Pods/Headers/Public/WechatOpenSDK/WXApiObject.h

@@ -0,0 +1 @@
+../../../WechatOpenSDK/OpenSDK1.7.7/WXApiObject.h

+ 1 - 0
NoobTask/Pods/Headers/Public/WechatOpenSDK/WechatAuthSDK.h

@@ -0,0 +1 @@
+../../../WechatOpenSDK/OpenSDK1.7.7/WechatAuthSDK.h

+ 19 - 0
NoobTask/Pods/MBProgressHUD/LICENSE

@@ -0,0 +1,19 @@
+Copyright © 2009-2016 Matej Bukovinski
+
+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.

+ 435 - 0
NoobTask/Pods/MBProgressHUD/MBProgressHUD.h

@@ -0,0 +1,435 @@
+//
+//  MBProgressHUD.h
+//  Version 1.0.0
+//  Created by Matej Bukovinski on 2.4.09.
+//
+
+// This code is distributed under the terms and conditions of the MIT license. 
+
+// Copyright © 2009-2016 Matej Bukovinski
+//
+// 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.
+
+#import <Foundation/Foundation.h>
+#import <UIKit/UIKit.h>
+#import <CoreGraphics/CoreGraphics.h>
+
+@class MBBackgroundView;
+@protocol MBProgressHUDDelegate;
+
+
+extern CGFloat const MBProgressMaxOffset;
+
+typedef NS_ENUM(NSInteger, MBProgressHUDMode) {
+    /// UIActivityIndicatorView.
+    MBProgressHUDModeIndeterminate,
+    /// A round, pie-chart like, progress view.
+    MBProgressHUDModeDeterminate,
+    /// Horizontal progress bar.
+    MBProgressHUDModeDeterminateHorizontalBar,
+    /// Ring-shaped progress view.
+    MBProgressHUDModeAnnularDeterminate,
+    /// Shows a custom view.
+    MBProgressHUDModeCustomView,
+    /// Shows only labels.
+    MBProgressHUDModeText
+};
+
+typedef NS_ENUM(NSInteger, MBProgressHUDAnimation) {
+    /// Opacity animation
+    MBProgressHUDAnimationFade,
+    /// Opacity + scale animation (zoom in when appearing zoom out when disappearing)
+    MBProgressHUDAnimationZoom,
+    /// Opacity + scale animation (zoom out style)
+    MBProgressHUDAnimationZoomOut,
+    /// Opacity + scale animation (zoom in style)
+    MBProgressHUDAnimationZoomIn
+};
+
+typedef NS_ENUM(NSInteger, MBProgressHUDBackgroundStyle) {
+    /// Solid color background
+    MBProgressHUDBackgroundStyleSolidColor,
+    /// UIVisualEffectView or UIToolbar.layer background view
+    MBProgressHUDBackgroundStyleBlur
+};
+
+typedef void (^MBProgressHUDCompletionBlock)();
+
+
+NS_ASSUME_NONNULL_BEGIN
+
+
+/** 
+ * Displays a simple HUD window containing a progress indicator and two optional labels for short messages.
+ *
+ * This is a simple drop-in class for displaying a progress HUD view similar to Apple's private UIProgressHUD class.
+ * The MBProgressHUD window spans over the entire space given to it by the initWithFrame: constructor and catches all
+ * user input on this region, thereby preventing the user operations on components below the view.
+ *
+ * @note To still allow touches to pass through the HUD, you can set hud.userInteractionEnabled = NO.
+ * @attention MBProgressHUD is a UI class and should therefore only be accessed on the main thread.
+ */
+@interface MBProgressHUD : UIView
+
+/**
+ * Creates a new HUD, adds it to provided view and shows it. The counterpart to this method is hideHUDForView:animated:.
+ *
+ * @note This method sets removeFromSuperViewOnHide. The HUD will automatically be removed from the view hierarchy when hidden.
+ *
+ * @param view The view that the HUD will be added to
+ * @param animated If set to YES the HUD will appear using the current animationType. If set to NO the HUD will not use
+ * animations while appearing.
+ * @return A reference to the created HUD.
+ *
+ * @see hideHUDForView:animated:
+ * @see animationType
+ */
++ (instancetype)showHUDAddedTo:(UIView *)view animated:(BOOL)animated;
+
+/// @name Showing and hiding
+
+/**
+ * Finds the top-most HUD subview and hides it. The counterpart to this method is showHUDAddedTo:animated:.
+ *
+ * @note This method sets removeFromSuperViewOnHide. The HUD will automatically be removed from the view hierarchy when hidden.
+ *
+ * @param view The view that is going to be searched for a HUD subview.
+ * @param animated If set to YES the HUD will disappear using the current animationType. If set to NO the HUD will not use
+ * animations while disappearing.
+ * @return YES if a HUD was found and removed, NO otherwise.
+ *
+ * @see showHUDAddedTo:animated:
+ * @see animationType
+ */
++ (BOOL)hideHUDForView:(UIView *)view animated:(BOOL)animated;
+
+/**
+ * Finds the top-most HUD subview and returns it. 
+ *
+ * @param view The view that is going to be searched.
+ * @return A reference to the last HUD subview discovered.
+ */
++ (nullable MBProgressHUD *)HUDForView:(UIView *)view;
+
+/**
+ * A convenience constructor that initializes the HUD with the view's bounds. Calls the designated constructor with
+ * view.bounds as the parameter.
+ *
+ * @param view The view instance that will provide the bounds for the HUD. Should be the same instance as
+ * the HUD's superview (i.e., the view that the HUD will be added to).
+ */
+- (instancetype)initWithView:(UIView *)view;
+
+/** 
+ * Displays the HUD. 
+ *
+ * @note You need to make sure that the main thread completes its run loop soon after this method call so that
+ * the user interface can be updated. Call this method when your task is already set up to be executed in a new thread
+ * (e.g., when using something like NSOperation or making an asynchronous call like NSURLRequest).
+ *
+ * @param animated If set to YES the HUD will appear using the current animationType. If set to NO the HUD will not use
+ * animations while appearing.
+ *
+ * @see animationType
+ */
+- (void)showAnimated:(BOOL)animated;
+
+/** 
+ * Hides the HUD. This still calls the hudWasHidden: delegate. This is the counterpart of the show: method. Use it to
+ * hide the HUD when your task completes.
+ *
+ * @param animated If set to YES the HUD will disappear using the current animationType. If set to NO the HUD will not use
+ * animations while disappearing.
+ *
+ * @see animationType
+ */
+- (void)hideAnimated:(BOOL)animated;
+
+/** 
+ * Hides the HUD after a delay. This still calls the hudWasHidden: delegate. This is the counterpart of the show: method. Use it to
+ * hide the HUD when your task completes.
+ *
+ * @param animated If set to YES the HUD will disappear using the current animationType. If set to NO the HUD will not use
+ * animations while disappearing.
+ * @param delay Delay in seconds until the HUD is hidden.
+ *
+ * @see animationType
+ */
+- (void)hideAnimated:(BOOL)animated afterDelay:(NSTimeInterval)delay;
+
+/**
+ * The HUD delegate object. Receives HUD state notifications.
+ */
+@property (weak, nonatomic) id<MBProgressHUDDelegate> delegate;
+
+/**
+ * Called after the HUD is hiden.
+ */
+@property (copy, nullable) MBProgressHUDCompletionBlock completionBlock;
+
+/*
+ * Grace period is the time (in seconds) that the invoked method may be run without
+ * showing the HUD. If the task finishes before the grace time runs out, the HUD will
+ * not be shown at all.
+ * This may be used to prevent HUD display for very short tasks.
+ * Defaults to 0 (no grace time).
+ */
+@property (assign, nonatomic) NSTimeInterval graceTime;
+
+/**
+ * The minimum time (in seconds) that the HUD is shown.
+ * This avoids the problem of the HUD being shown and than instantly hidden.
+ * Defaults to 0 (no minimum show time).
+ */
+@property (assign, nonatomic) NSTimeInterval minShowTime;
+
+/**
+ * Removes the HUD from its parent view when hidden.
+ * Defaults to NO.
+ */
+@property (assign, nonatomic) BOOL removeFromSuperViewOnHide;
+
+/// @name Appearance
+
+/** 
+ * MBProgressHUD operation mode. The default is MBProgressHUDModeIndeterminate.
+ */
+@property (assign, nonatomic) MBProgressHUDMode mode;
+
+/**
+ * A color that gets forwarded to all labels and supported indicators. Also sets the tintColor
+ * for custom views on iOS 7+. Set to nil to manage color individually.
+ * Defaults to semi-translucent black on iOS 7 and later and white on earlier iOS versions.
+ */
+@property (strong, nonatomic, nullable) UIColor *contentColor UI_APPEARANCE_SELECTOR;
+
+/**
+ * The animation type that should be used when the HUD is shown and hidden.
+ */
+@property (assign, nonatomic) MBProgressHUDAnimation animationType UI_APPEARANCE_SELECTOR;
+
+/**
+ * The bezel offset relative to the center of the view. You can use MBProgressMaxOffset
+ * and -MBProgressMaxOffset to move the HUD all the way to the screen edge in each direction.
+ * E.g., CGPointMake(0.f, MBProgressMaxOffset) would position the HUD centered on the bottom edge.
+ */
+@property (assign, nonatomic) CGPoint offset UI_APPEARANCE_SELECTOR;
+
+/**
+ * The amount of space between the HUD edge and the HUD elements (labels, indicators or custom views).
+ * This also represents the minimum bezel distance to the edge of the HUD view.
+ * Defaults to 20.f
+ */
+@property (assign, nonatomic) CGFloat margin UI_APPEARANCE_SELECTOR;
+
+/**
+ * The minimum size of the HUD bezel. Defaults to CGSizeZero (no minimum size).
+ */
+@property (assign, nonatomic) CGSize minSize UI_APPEARANCE_SELECTOR;
+
+/**
+ * Force the HUD dimensions to be equal if possible.
+ */
+@property (assign, nonatomic, getter = isSquare) BOOL square UI_APPEARANCE_SELECTOR;
+
+/**
+ * When enabled, the bezel center gets slightly affected by the device accelerometer data.
+ * Has no effect on iOS < 7.0. Defaults to YES.
+ */
+@property (assign, nonatomic, getter=areDefaultMotionEffectsEnabled) BOOL defaultMotionEffectsEnabled UI_APPEARANCE_SELECTOR;
+
+/// @name Progress
+
+/**
+ * The progress of the progress indicator, from 0.0 to 1.0. Defaults to 0.0.
+ */
+@property (assign, nonatomic) float progress;
+
+/// @name ProgressObject
+
+/**
+ * The NSProgress object feeding the progress information to the progress indicator.
+ */
+@property (strong, nonatomic, nullable) NSProgress *progressObject;
+
+/// @name Views
+
+/**
+ * The view containing the labels and indicator (or customView).
+ */
+@property (strong, nonatomic, readonly) MBBackgroundView *bezelView;
+
+/**
+ * View covering the entire HUD area, placed behind bezelView.
+ */
+@property (strong, nonatomic, readonly) MBBackgroundView *backgroundView;
+
+/**
+ * The UIView (e.g., a UIImageView) to be shown when the HUD is in MBProgressHUDModeCustomView.
+ * The view should implement intrinsicContentSize for proper sizing. For best results use approximately 37 by 37 pixels.
+ */
+@property (strong, nonatomic, nullable) UIView *customView;
+
+/**
+ * A label that holds an optional short message to be displayed below the activity indicator. The HUD is automatically resized to fit
+ * the entire text.
+ */
+@property (strong, nonatomic, readonly) UILabel *label;
+
+/**
+ * A label that holds an optional details message displayed below the labelText message. The details text can span multiple lines.
+ */
+@property (strong, nonatomic, readonly) UILabel *detailsLabel;
+
+/**
+ * A button that is placed below the labels. Visible only if a target / action is added. 
+ */
+@property (strong, nonatomic, readonly) UIButton *button;
+
+@end
+
+
+@protocol MBProgressHUDDelegate <NSObject>
+
+@optional
+
+/** 
+ * Called after the HUD was fully hidden from the screen. 
+ */
+- (void)hudWasHidden:(MBProgressHUD *)hud;
+
+@end
+
+
+/**
+ * A progress view for showing definite progress by filling up a circle (pie chart).
+ */
+@interface MBRoundProgressView : UIView 
+
+/**
+ * Progress (0.0 to 1.0)
+ */
+@property (nonatomic, assign) float progress;
+
+/**
+ * Indicator progress color.
+ * Defaults to white [UIColor whiteColor].
+ */
+@property (nonatomic, strong) UIColor *progressTintColor;
+
+/**
+ * Indicator background (non-progress) color. 
+ * Only applicable on iOS versions older than iOS 7.
+ * Defaults to translucent white (alpha 0.1).
+ */
+@property (nonatomic, strong) UIColor *backgroundTintColor;
+
+/*
+ * Display mode - NO = round or YES = annular. Defaults to round.
+ */
+@property (nonatomic, assign, getter = isAnnular) BOOL annular;
+
+@end
+
+
+/**
+ * A flat bar progress view. 
+ */
+@interface MBBarProgressView : UIView
+
+/**
+ * Progress (0.0 to 1.0)
+ */
+@property (nonatomic, assign) float progress;
+
+/**
+ * Bar border line color.
+ * Defaults to white [UIColor whiteColor].
+ */
+@property (nonatomic, strong) UIColor *lineColor;
+
+/**
+ * Bar background color.
+ * Defaults to clear [UIColor clearColor];
+ */
+@property (nonatomic, strong) UIColor *progressRemainingColor;
+
+/**
+ * Bar progress color.
+ * Defaults to white [UIColor whiteColor].
+ */
+@property (nonatomic, strong) UIColor *progressColor;
+
+@end
+
+
+@interface MBBackgroundView : UIView
+
+/**
+ * The background style. 
+ * Defaults to MBProgressHUDBackgroundStyleBlur on iOS 7 or later and MBProgressHUDBackgroundStyleSolidColor otherwise.
+ * @note Due to iOS 7 not supporting UIVisualEffectView, the blur effect differs slightly between iOS 7 and later versions.
+ */
+@property (nonatomic) MBProgressHUDBackgroundStyle style;
+
+/**
+ * The background color or the blur tint color.
+ * @note Due to iOS 7 not supporting UIVisualEffectView, the blur effect differs slightly between iOS 7 and later versions.
+ */
+@property (nonatomic, strong) UIColor *color;
+
+@end
+
+@interface MBProgressHUD (Deprecated)
+
++ (NSArray *)allHUDsForView:(UIView *)view __attribute__((deprecated("Store references when using more than one HUD per view.")));
++ (NSUInteger)hideAllHUDsForView:(UIView *)view animated:(BOOL)animated __attribute__((deprecated("Store references when using more than one HUD per view.")));
+
+- (id)initWithWindow:(UIWindow *)window __attribute__((deprecated("Use initWithView: instead.")));
+
+- (void)show:(BOOL)animated __attribute__((deprecated("Use showAnimated: instead.")));
+- (void)hide:(BOOL)animated __attribute__((deprecated("Use hideAnimated: instead.")));
+- (void)hide:(BOOL)animated afterDelay:(NSTimeInterval)delay __attribute__((deprecated("Use hideAnimated:afterDelay: instead.")));
+
+- (void)showWhileExecuting:(SEL)method onTarget:(id)target withObject:(id)object animated:(BOOL)animated __attribute__((deprecated("Use GCD directly.")));
+- (void)showAnimated:(BOOL)animated whileExecutingBlock:(dispatch_block_t)block __attribute__((deprecated("Use GCD directly.")));
+- (void)showAnimated:(BOOL)animated whileExecutingBlock:(dispatch_block_t)block completionBlock:(nullable MBProgressHUDCompletionBlock)completion __attribute__((deprecated("Use GCD directly.")));
+- (void)showAnimated:(BOOL)animated whileExecutingBlock:(dispatch_block_t)block onQueue:(dispatch_queue_t)queue __attribute__((deprecated("Use GCD directly.")));
+- (void)showAnimated:(BOOL)animated whileExecutingBlock:(dispatch_block_t)block onQueue:(dispatch_queue_t)queue
+     completionBlock:(nullable MBProgressHUDCompletionBlock)completion __attribute__((deprecated("Use GCD directly.")));
+@property (assign) BOOL taskInProgress __attribute__((deprecated("No longer needed.")));
+
+@property (nonatomic, copy) NSString *labelText __attribute__((deprecated("Use label.text instead.")));
+@property (nonatomic, strong) UIFont *labelFont __attribute__((deprecated("Use label.font instead.")));
+@property (nonatomic, strong) UIColor *labelColor __attribute__((deprecated("Use label.textColor instead.")));
+@property (nonatomic, copy) NSString *detailsLabelText __attribute__((deprecated("Use detailsLabel.text instead.")));
+@property (nonatomic, strong) UIFont *detailsLabelFont __attribute__((deprecated("Use detailsLabel.font instead.")));
+@property (nonatomic, strong) UIColor *detailsLabelColor __attribute__((deprecated("Use detailsLabel.textColor instead.")));
+@property (assign, nonatomic) CGFloat opacity __attribute__((deprecated("Customize bezelView properties instead.")));
+@property (strong, nonatomic) UIColor *color __attribute__((deprecated("Customize the bezelView color instead.")));
+@property (assign, nonatomic) CGFloat xOffset __attribute__((deprecated("Set offset.x instead.")));
+@property (assign, nonatomic) CGFloat yOffset __attribute__((deprecated("Set offset.y instead.")));
+@property (assign, nonatomic) CGFloat cornerRadius __attribute__((deprecated("Set bezelView.layer.cornerRadius instead.")));
+@property (assign, nonatomic) BOOL dimBackground __attribute__((deprecated("Customize HUD background properties instead.")));
+@property (strong, nonatomic) UIColor *activityIndicatorColor __attribute__((deprecated("Use UIAppearance to customize UIActivityIndicatorView. E.g.: [UIActivityIndicatorView appearanceWhenContainedIn:[MBProgressHUD class], nil].color = [UIColor redColor];")));
+@property (atomic, assign, readonly) CGSize size __attribute__((deprecated("Get the bezelView.frame.size instead.")));
+
+@end
+
+NS_ASSUME_NONNULL_END

文件差异内容过多而无法显示
+ 1484 - 0
NoobTask/Pods/MBProgressHUD/MBProgressHUD.m


+ 126 - 0
NoobTask/Pods/MBProgressHUD/README.mdown

@@ -0,0 +1,126 @@
+# MBProgressHUD
+
+[![Build Status](https://travis-ci.org/matej/MBProgressHUD.svg?branch=master)](https://travis-ci.org/matej/MBProgressHUD) [![codecov.io](https://codecov.io/github/matej/MBProgressHUD/coverage.svg?branch=master)](https://codecov.io/github/matej/MBProgressHUD?branch=master)
+ [![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage#adding-frameworks-to-an-application) [![CocoaPods compatible](https://img.shields.io/cocoapods/v/MBProgressHUD.svg?style=flat)](https://cocoapods.org/pods/MBProgressHUD) [![License: MIT](https://img.shields.io/cocoapods/l/MBProgressHUD.svg?style=flat)](http://opensource.org/licenses/MIT)
+
+`MBProgressHUD` is an iOS drop-in class that displays a translucent HUD with an indicator and/or labels while work is being done in a background thread. The HUD is meant as a replacement for the undocumented, private `UIKit` `UIProgressHUD` with some additional features.
+
+[![](http://dl.dropbox.com/u/378729/MBProgressHUD/v1/1-thumb.png)](http://dl.dropbox.com/u/378729/MBProgressHUD/v1/1.png)
+[![](http://dl.dropbox.com/u/378729/MBProgressHUD/v1/2-thumb.png)](http://dl.dropbox.com/u/378729/MBProgressHUD/v1/2.png)
+[![](http://dl.dropbox.com/u/378729/MBProgressHUD/v1/3-thumb.png)](http://dl.dropbox.com/u/378729/MBProgressHUD/v1/3.png)
+[![](http://dl.dropbox.com/u/378729/MBProgressHUD/v1/4-thumb.png)](http://dl.dropbox.com/u/378729/MBProgressHUD/v1/4.png)
+[![](http://dl.dropbox.com/u/378729/MBProgressHUD/v1/5-thumb.png)](http://dl.dropbox.com/u/378729/MBProgressHUD/v1/5.png)
+[![](http://dl.dropbox.com/u/378729/MBProgressHUD/v1/6-thumb.png)](http://dl.dropbox.com/u/378729/MBProgressHUD/v1/6.png)
+[![](http://dl.dropbox.com/u/378729/MBProgressHUD/v1/7-thumb.png)](http://dl.dropbox.com/u/378729/MBProgressHUD/v1/7.png)
+
+**NOTE:** The class has recently undegone a major rewrite. The old version is available in the [legacy](https://github.com/jdg/MBProgressHUD/tree/legacy) branch, should you need it. 
+
+## Requirements
+
+`MBProgressHUD` works on iOS 6+ and requires ARC to build. It depends on the following Apple frameworks, which should already be included with most Xcode templates:
+
+* Foundation.framework
+* UIKit.framework
+* CoreGraphics.framework
+
+You will need the latest developer tools in order to build `MBProgressHUD`. Old Xcode versions might work, but compatibility will not be explicitly maintained.
+
+## Adding MBProgressHUD to your project
+
+### CocoaPods
+
+[CocoaPods](http://cocoapods.org) is the recommended way to add MBProgressHUD to your project.
+
+1. Add a pod entry for MBProgressHUD to your Podfile `pod 'MBProgressHUD', '~> 1.0.0'`
+2. Install the pod(s) by running `pod install`.
+3. Include MBProgressHUD wherever you need it with `#import "MBProgressHUD.h"`.
+
+### Carthage
+
+1. Add MBProgressHUD to your Cartfile. e.g., `github "jdg/MBProgressHUD" ~> 1.0.0`
+2. Run `carthage update`
+3. Follow the rest of the [standard Carthage installation instructions](https://github.com/Carthage/Carthage#adding-frameworks-to-an-application) to add MBProgressHUD to your project.
+
+### Source files
+
+Alternatively you can directly add the `MBProgressHUD.h` and `MBProgressHUD.m` source files to your project.
+
+1. Download the [latest code version](https://github.com/matej/MBProgressHUD/archive/master.zip) or add the repository as a git submodule to your git-tracked project.
+2. Open your project in Xcode, then drag and drop `MBProgressHUD.h` and `MBProgressHUD.m` onto your project (use the "Product Navigator view"). Make sure to select Copy items when asked if you extracted the code archive outside of your project.
+3. Include MBProgressHUD wherever you need it with `#import "MBProgressHUD.h"`.
+
+### Static library
+
+You can also add MBProgressHUD as a static library to your project or workspace.
+
+1. Download the [latest code version](https://github.com/matej/MBProgressHUD/downloads) or add the repository as a git submodule to your git-tracked project.
+2. Open your project in Xcode, then drag and drop `MBProgressHUD.xcodeproj` onto your project or workspace (use the "Product Navigator view").
+3. Select your target and go to the Build phases tab. In the Link Binary With Libraries section select the add button. On the sheet find and add `libMBProgressHUD.a`. You might also need to add `MBProgressHUD` to the Target Dependencies list.
+4. Include MBProgressHUD wherever you need it with `#import <MBProgressHUD/MBProgressHUD.h>`.
+
+## Usage
+
+The main guideline you need to follow when dealing with MBProgressHUD while running long-running tasks is keeping the main thread work-free, so the UI can be updated promptly. The recommended way of using MBProgressHUD is therefore to set it up on the main thread and then spinning the task, that you want to perform, off onto a new thread.
+
+```objective-c
+[MBProgressHUD showHUDAddedTo:self.view animated:YES];
+dispatch_async(dispatch_get_global_queue( DISPATCH_QUEUE_PRIORITY_LOW, 0), ^{
+	// Do something...
+	dispatch_async(dispatch_get_main_queue(), ^{
+		[MBProgressHUD hideHUDForView:self.view animated:YES];
+	});
+});
+```
+
+You can add the HUD on any view or window. It is however a good idea to avoid adding the HUD to certain `UIKit` views with complex view hierarchies - like `UITableView` or `UICollectionView`. Those can mutate their subviews in unexpected ways and thereby break HUD display. 
+
+If you need to configure the HUD you can do this by using the MBProgressHUD reference that showHUDAddedTo:animated: returns.
+
+```objective-c
+MBProgressHUD *hud = [MBProgressHUD showHUDAddedTo:self.view animated:YES];
+hud.mode = MBProgressHUDModeAnnularDeterminate;
+hud.labelText = @"Loading";
+[self doSomethingInBackgroundWithProgressCallback:^(float progress) {
+	hud.progress = progress;
+} completionCallback:^{
+	[hud hide:YES];
+}];
+```
+
+You can also use a `NSProgress` object and MBProgressHUD will update itself when there is progress reported through that object.
+
+```objective-c
+MBProgressHUD *hud = [MBProgressHUD showHUDAddedTo:self.view animated:YES];
+hud.mode = MBProgressHUDModeAnnularDeterminate;
+hud.labelText = @"Loading";
+NSProgress *progress = [self doSomethingInBackgroundCompletion:^{
+	[hud hide:YES];
+}];
+hud.progressObject = progress;
+```
+
+UI updates should always be done on the main thread. Some MBProgressHUD setters are however considered "thread safe" and can be called from background threads. Those also include `setMode:`, `setCustomView:`, `setLabelText:`, `setLabelFont:`, `setDetailsLabelText:`, `setDetailsLabelFont:` and `setProgress:`.
+
+If you need to run your long-running task in the main thread, you should perform it with a slight delay, so UIKit will have enough time to update the UI (i.e., draw the HUD) before you block the main thread with your task.
+
+```objective-c
+[MBProgressHUD showHUDAddedTo:self.view animated:YES];
+dispatch_time_t popTime = dispatch_time(DISPATCH_TIME_NOW, 0.01 * NSEC_PER_SEC);
+dispatch_after(popTime, dispatch_get_main_queue(), ^(void){
+	// Do something...
+	[MBProgressHUD hideHUDForView:self.view animated:YES];
+});
+```
+
+You should be aware that any HUD updates issued inside the above block won't be displayed until the block completes.
+
+For more examples, including how to use MBProgressHUD with asynchronous operations such as NSURLConnection, take a look at the bundled demo project. Extensive API documentation is provided in the header file (MBProgressHUD.h).
+
+
+## License
+
+This code is distributed under the terms and conditions of the [MIT license](LICENSE).
+
+## Change-log
+
+A brief summary of each MBProgressHUD release can be found in the [CHANGELOG](CHANGELOG.mdown). 

+ 23 - 0
NoobTask/Pods/Manifest.lock

@@ -0,0 +1,23 @@
+PODS:
+  - Masonry (1.0.1)
+  - MBProgressHUD (1.0.0)
+  - SDWebImage (3.8.2):
+    - SDWebImage/Core (= 3.8.2)
+  - SDWebImage/Core (3.8.2)
+  - WechatOpenSDK (1.7.7)
+
+DEPENDENCIES:
+  - Masonry (= 1.0.1)
+  - MBProgressHUD
+  - SDWebImage (~> 3.8)
+  - WechatOpenSDK
+
+SPEC CHECKSUMS:
+  Masonry: a1a931a0d08870ed8ae415a2ea5ea68ebcac77df
+  MBProgressHUD: 4890f671c94e8a0f3cf959aa731e9de2f036d71a
+  SDWebImage: 098e97e6176540799c27e804c96653ee0833d13c
+  WechatOpenSDK: cbd332148eb792d444ed4eec94f421d98f2046ee
+
+PODFILE CHECKSUM: bf7de4292cc2664ce3483e93ad6a282d01ec9c31
+
+COCOAPODS: 1.3.1

+ 19 - 0
NoobTask/Pods/Masonry/LICENSE

@@ -0,0 +1,19 @@
+Copyright (c) 2011-2012 Masonry Team - https://github.com/Masonry
+
+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.

+ 26 - 0
NoobTask/Pods/Masonry/Masonry/MASCompositeConstraint.h

@@ -0,0 +1,26 @@
+//
+//  MASCompositeConstraint.h
+//  Masonry
+//
+//  Created by Jonas Budelmann on 21/07/13.
+//  Copyright (c) 2013 cloudling. All rights reserved.
+//
+
+#import "MASConstraint.h"
+#import "MASUtilities.h"
+
+/**
+ *	A group of MASConstraint objects
+ */
+@interface MASCompositeConstraint : MASConstraint
+
+/**
+ *	Creates a composite with a predefined array of children
+ *
+ *	@param	children	child MASConstraints
+ *
+ *	@return	a composite constraint
+ */
+- (id)initWithChildren:(NSArray *)children;
+
+@end

+ 0 - 0
NoobTask/Pods/Masonry/Masonry/MASCompositeConstraint.m


部分文件因为文件数量过多而无法显示