Steven 2 years ago
parent
commit
7134abf4e4
100 changed files with 834 additions and 3482 deletions
  1. 20 0
      KulexiuForStudent/KulexiuForStudent.xcodeproj/project.pbxproj
  2. BIN
      KulexiuForStudent/KulexiuForStudent.xcworkspace/xcuserdata/wangzhi.xcuserdatad/UserInterfaceState.xcuserstate
  3. 13 81
      KulexiuForStudent/KulexiuForStudent.xcworkspace/xcuserdata/wangzhi.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist
  4. 0 22
      KulexiuForStudent/KulexiuForStudent/Assets.xcassets/MessageCenter/course_cell.imageset/Contents.json
  5. BIN
      KulexiuForStudent/KulexiuForStudent/Assets.xcassets/MessageCenter/course_cell.imageset/course_cell@2x.png
  6. BIN
      KulexiuForStudent/KulexiuForStudent/Assets.xcassets/MessageCenter/course_cell.imageset/course_cell@3x.png
  7. 0 22
      KulexiuForStudent/KulexiuForStudent/Assets.xcassets/MessageCenter/message_notice.imageset/Contents.json
  8. BIN
      KulexiuForStudent/KulexiuForStudent/Assets.xcassets/MessageCenter/message_notice.imageset/message_notice@2x.png
  9. BIN
      KulexiuForStudent/KulexiuForStudent/Assets.xcassets/MessageCenter/message_notice.imageset/message_notice@3x.png
  10. 0 22
      KulexiuForStudent/KulexiuForStudent/Assets.xcassets/MessageCenter/notice_cell.imageset/Contents.json
  11. BIN
      KulexiuForStudent/KulexiuForStudent/Assets.xcassets/MessageCenter/notice_cell.imageset/notice_cell@2x.png
  12. BIN
      KulexiuForStudent/KulexiuForStudent/Assets.xcassets/MessageCenter/notice_cell.imageset/notice_cell@3x.png
  13. 22 0
      KulexiuForStudent/KulexiuForStudent/Assets.xcassets/MessageCenter/notifer_accompany.imageset/Contents.json
  14. BIN
      KulexiuForStudent/KulexiuForStudent/Assets.xcassets/MessageCenter/notifer_accompany.imageset/notifer_accompany@2x.png
  15. BIN
      KulexiuForStudent/KulexiuForStudent/Assets.xcassets/MessageCenter/notifer_accompany.imageset/notifer_accompany@3x.png
  16. 22 0
      KulexiuForStudent/KulexiuForStudent/Assets.xcassets/MessageCenter/notifer_course.imageset/Contents.json
  17. BIN
      KulexiuForStudent/KulexiuForStudent/Assets.xcassets/MessageCenter/notifer_course.imageset/notifer_course@2x.png
  18. BIN
      KulexiuForStudent/KulexiuForStudent/Assets.xcassets/MessageCenter/notifer_course.imageset/notifer_course@3x.png
  19. 22 0
      KulexiuForStudent/KulexiuForStudent/Assets.xcassets/MessageCenter/notifer_evaluate.imageset/Contents.json
  20. BIN
      KulexiuForStudent/KulexiuForStudent/Assets.xcassets/MessageCenter/notifer_evaluate.imageset/notifer_evaluate@2x.png
  21. BIN
      KulexiuForStudent/KulexiuForStudent/Assets.xcassets/MessageCenter/notifer_evaluate.imageset/notifer_evaluate@3x.png
  22. 22 0
      KulexiuForStudent/KulexiuForStudent/Assets.xcassets/MessageCenter/notifer_groupChat.imageset/Contents.json
  23. BIN
      KulexiuForStudent/KulexiuForStudent/Assets.xcassets/MessageCenter/notifer_groupChat.imageset/notifer_groupChat@2x.png
  24. BIN
      KulexiuForStudent/KulexiuForStudent/Assets.xcassets/MessageCenter/notifer_groupChat.imageset/notifer_groupChat@3x.png
  25. 22 0
      KulexiuForStudent/KulexiuForStudent/Assets.xcassets/MessageCenter/notifer_homework.imageset/Contents.json
  26. BIN
      KulexiuForStudent/KulexiuForStudent/Assets.xcassets/MessageCenter/notifer_homework.imageset/notifer_homework@2x.png
  27. BIN
      KulexiuForStudent/KulexiuForStudent/Assets.xcassets/MessageCenter/notifer_homework.imageset/notifer_homework@3x.png
  28. 22 0
      KulexiuForStudent/KulexiuForStudent/Assets.xcassets/MessageCenter/notifer_income.imageset/Contents.json
  29. BIN
      KulexiuForStudent/KulexiuForStudent/Assets.xcassets/MessageCenter/notifer_income.imageset/notifer_income@2x.png
  30. BIN
      KulexiuForStudent/KulexiuForStudent/Assets.xcassets/MessageCenter/notifer_income.imageset/notifer_income@3x.png
  31. 22 0
      KulexiuForStudent/KulexiuForStudent/Assets.xcassets/MessageCenter/notifer_live.imageset/Contents.json
  32. BIN
      KulexiuForStudent/KulexiuForStudent/Assets.xcassets/MessageCenter/notifer_live.imageset/notifer_live@2x.png
  33. BIN
      KulexiuForStudent/KulexiuForStudent/Assets.xcassets/MessageCenter/notifer_live.imageset/notifer_live@3x.png
  34. 22 0
      KulexiuForStudent/KulexiuForStudent/Assets.xcassets/MessageCenter/notifer_musianAuth.imageset/Contents.json
  35. BIN
      KulexiuForStudent/KulexiuForStudent/Assets.xcassets/MessageCenter/notifer_musianAuth.imageset/notifer_musianAuth@2x.png
  36. BIN
      KulexiuForStudent/KulexiuForStudent/Assets.xcassets/MessageCenter/notifer_musianAuth.imageset/notifer_musianAuth@3x.png
  37. 22 0
      KulexiuForStudent/KulexiuForStudent/Assets.xcassets/MessageCenter/notifer_music.imageset/Contents.json
  38. BIN
      KulexiuForStudent/KulexiuForStudent/Assets.xcassets/MessageCenter/notifer_music.imageset/notifer_music@2x.png
  39. BIN
      KulexiuForStudent/KulexiuForStudent/Assets.xcassets/MessageCenter/notifer_music.imageset/notifer_music@3x.png
  40. 22 0
      KulexiuForStudent/KulexiuForStudent/Assets.xcassets/MessageCenter/notifer_teacherAuth.imageset/Contents.json
  41. BIN
      KulexiuForStudent/KulexiuForStudent/Assets.xcassets/MessageCenter/notifer_teacherAuth.imageset/notifer_teacherAuth@2x.png
  42. BIN
      KulexiuForStudent/KulexiuForStudent/Assets.xcassets/MessageCenter/notifer_teacherAuth.imageset/notifer_teacherAuth@3x.png
  43. 22 0
      KulexiuForStudent/KulexiuForStudent/Assets.xcassets/MessageCenter/notifer_unknow.imageset/Contents.json
  44. BIN
      KulexiuForStudent/KulexiuForStudent/Assets.xcassets/MessageCenter/notifer_unknow.imageset/notifer_unknow@2x.png
  45. BIN
      KulexiuForStudent/KulexiuForStudent/Assets.xcassets/MessageCenter/notifer_unknow.imageset/notifer_unknow@3x.png
  46. 22 0
      KulexiuForStudent/KulexiuForStudent/Assets.xcassets/MessageCenter/notifer_video.imageset/Contents.json
  47. BIN
      KulexiuForStudent/KulexiuForStudent/Assets.xcassets/MessageCenter/notifer_video.imageset/notifer_video@2x.png
  48. BIN
      KulexiuForStudent/KulexiuForStudent/Assets.xcassets/MessageCenter/notifer_video.imageset/notifer_video@3x.png
  49. 22 0
      KulexiuForStudent/KulexiuForStudent/Assets.xcassets/MessageCenter/notifer_vip.imageset/Contents.json
  50. BIN
      KulexiuForStudent/KulexiuForStudent/Assets.xcassets/MessageCenter/notifer_vip.imageset/notifer_vip@2x.png
  51. BIN
      KulexiuForStudent/KulexiuForStudent/Assets.xcassets/MessageCenter/notifer_vip.imageset/notifer_vip@3x.png
  52. 0 22
      KulexiuForStudent/KulexiuForStudent/Assets.xcassets/MessageCenter/system_cell.imageset/Contents.json
  53. BIN
      KulexiuForStudent/KulexiuForStudent/Assets.xcassets/MessageCenter/system_cell.imageset/system_cell@2x.png
  54. BIN
      KulexiuForStudent/KulexiuForStudent/Assets.xcassets/MessageCenter/system_cell.imageset/system_cell@3x.png
  55. 2 2
      KulexiuForStudent/KulexiuForStudent/Common/Base/KSAccompanyWebViewController.m
  56. 5 2
      KulexiuForStudent/KulexiuForStudent/Common/Base/KSBaseViewController.m
  57. 2 1
      KulexiuForStudent/KulexiuForStudent/Common/Base/KSNetworkingManager.h
  58. 3 1
      KulexiuForStudent/KulexiuForStudent/Common/Base/KSNetworkingManager.m
  59. 1 1
      KulexiuForStudent/KulexiuForStudent/Module/Course/AccompanyCourse/Controller/AccompanyDetailViewController.m
  60. 2 0
      KulexiuForStudent/KulexiuForStudent/Module/Course/Model/TableCourseModel.h
  61. 14 4
      KulexiuForStudent/KulexiuForStudent/Module/Course/Model/TableCourseModel.m
  62. 2 2
      KulexiuForStudent/KulexiuForStudent/Module/Course/View/AccompanyCourseCell.m
  63. 85 115
      KulexiuForStudent/KulexiuForStudent/Module/Home/Controller/HomeViewController.m
  64. 11 15
      KulexiuForStudent/KulexiuForStudent/Module/Home/NoticeCenter/Controller/NotiferMessageViewController.m
  65. 1 0
      KulexiuForStudent/KulexiuForStudent/Module/Home/NoticeCenter/Model/NotiferMessageModel.h
  66. 7 3
      KulexiuForStudent/KulexiuForStudent/Module/Home/NoticeCenter/Model/NotiferMessageModel.m
  67. 1 2
      KulexiuForStudent/KulexiuForStudent/Module/Home/NoticeCenter/View/NotiferHeadView.h
  68. 3 38
      KulexiuForStudent/KulexiuForStudent/Module/Home/NoticeCenter/View/NotiferHeadView.m
  69. 17 93
      KulexiuForStudent/KulexiuForStudent/Module/Home/NoticeCenter/View/NotiferHeadView.xib
  70. 43 6
      KulexiuForStudent/KulexiuForStudent/Module/Home/NoticeCenter/View/NotiferMessageCell.m
  71. 8 4
      KulexiuForStudent/KulexiuForStudent/Module/Home/NoticeCenter/View/NotiferMessageCell.xib
  72. 26 0
      KulexiuForStudent/KulexiuForStudent/Module/Home/View/HomeLiveCourseView.h
  73. 47 0
      KulexiuForStudent/KulexiuForStudent/Module/Home/View/HomeLiveCourseView.m
  74. 80 0
      KulexiuForStudent/KulexiuForStudent/Module/Home/View/HomeLiveCourseView.xib
  75. 1 1
      KulexiuForStudent/KulexiuForStudent/Module/Home/View/HomeNavView.xib
  76. 26 0
      KulexiuForStudent/KulexiuForStudent/Module/Home/View/HomeVideoCourseView.h
  77. 45 0
      KulexiuForStudent/KulexiuForStudent/Module/Home/View/HomeVideoCourseView.m
  78. 80 0
      KulexiuForStudent/KulexiuForStudent/Module/Home/View/HomeVideoCourseView.xib
  79. 1 1
      KulexiuForStudent/KulexiuForStudent/Module/Login/Controller/VefiCodeLoginController.m
  80. 1 1
      KulexiuForStudent/KulexiuForStudent/Module/Mine/Setting/Controller/ModifyPhoneChangeController.m
  81. 1 1
      KulexiuForStudent/KulexiuForStudent/Module/Mine/Setting/Controller/ModifyViewController.m
  82. BIN
      KulexiuForStudent/build/Debug-iphonesimulator/AFNetworking/AFNetworking.framework/AFNetworking
  83. 0 160
      KulexiuForStudent/build/Debug-iphonesimulator/AFNetworking/AFNetworking.framework/Headers/AFAutoPurgingImageCache.h
  84. 0 49
      KulexiuForStudent/build/Debug-iphonesimulator/AFNetworking/AFNetworking.framework/Headers/AFCompatibilityMacros.h
  85. 0 285
      KulexiuForStudent/build/Debug-iphonesimulator/AFNetworking/AFNetworking.framework/Headers/AFHTTPSessionManager.h
  86. 0 171
      KulexiuForStudent/build/Debug-iphonesimulator/AFNetworking/AFNetworking.framework/Headers/AFImageDownloader.h
  87. 0 103
      KulexiuForStudent/build/Debug-iphonesimulator/AFNetworking/AFNetworking.framework/Headers/AFNetworkActivityIndicatorManager.h
  88. 0 216
      KulexiuForStudent/build/Debug-iphonesimulator/AFNetworking/AFNetworking.framework/Headers/AFNetworkReachabilityManager.h
  89. 0 34
      KulexiuForStudent/build/Debug-iphonesimulator/AFNetworking/AFNetworking.framework/Headers/AFNetworking-umbrella.h
  90. 0 41
      KulexiuForStudent/build/Debug-iphonesimulator/AFNetworking/AFNetworking.framework/Headers/AFNetworking.h
  91. 0 161
      KulexiuForStudent/build/Debug-iphonesimulator/AFNetworking/AFNetworking.framework/Headers/AFSecurityPolicy.h
  92. 0 479
      KulexiuForStudent/build/Debug-iphonesimulator/AFNetworking/AFNetworking.framework/Headers/AFURLRequestSerialization.h
  93. 0 313
      KulexiuForStudent/build/Debug-iphonesimulator/AFNetworking/AFNetworking.framework/Headers/AFURLResponseSerialization.h
  94. 0 516
      KulexiuForStudent/build/Debug-iphonesimulator/AFNetworking/AFNetworking.framework/Headers/AFURLSessionManager.h
  95. 0 48
      KulexiuForStudent/build/Debug-iphonesimulator/AFNetworking/AFNetworking.framework/Headers/UIActivityIndicatorView+AFNetworking.h
  96. 0 175
      KulexiuForStudent/build/Debug-iphonesimulator/AFNetworking/AFNetworking.framework/Headers/UIButton+AFNetworking.h
  97. 0 109
      KulexiuForStudent/build/Debug-iphonesimulator/AFNetworking/AFNetworking.framework/Headers/UIImageView+AFNetworking.h
  98. 0 43
      KulexiuForStudent/build/Debug-iphonesimulator/AFNetworking/AFNetworking.framework/Headers/UIKit+AFNetworking.h
  99. 0 64
      KulexiuForStudent/build/Debug-iphonesimulator/AFNetworking/AFNetworking.framework/Headers/UIProgressView+AFNetworking.h
  100. 0 53
      KulexiuForStudent/build/Debug-iphonesimulator/AFNetworking/AFNetworking.framework/Headers/UIRefreshControl+AFNetworking.h

+ 20 - 0
KulexiuForStudent/KulexiuForStudent.xcodeproj/project.pbxproj

@@ -442,6 +442,10 @@
 		BC50171527FC0D8300F8BCBC /* SubjectChooseBodyView.m in Sources */ = {isa = PBXBuildFile; fileRef = BC50171427FC0D8300F8BCBC /* SubjectChooseBodyView.m */; };
 		BC50171727FC0D8E00F8BCBC /* SubjectChooseBodyView.xib in Resources */ = {isa = PBXBuildFile; fileRef = BC50171627FC0D8D00F8BCBC /* SubjectChooseBodyView.xib */; };
 		BC5082B4283345A10031DD0A /* KSChatListCell.m in Sources */ = {isa = PBXBuildFile; fileRef = BC5082B3283345A10031DD0A /* KSChatListCell.m */; };
+		BC5367C2283F6D4D008428E8 /* HomeLiveCourseView.m in Sources */ = {isa = PBXBuildFile; fileRef = BC5367C1283F6D4C008428E8 /* HomeLiveCourseView.m */; };
+		BC5367C4283F6D58008428E8 /* HomeLiveCourseView.xib in Resources */ = {isa = PBXBuildFile; fileRef = BC5367C3283F6D58008428E8 /* HomeLiveCourseView.xib */; };
+		BC5367C7283F6D6B008428E8 /* HomeVideoCourseView.m in Sources */ = {isa = PBXBuildFile; fileRef = BC5367C6283F6D6B008428E8 /* HomeVideoCourseView.m */; };
+		BC5367C9283F6D72008428E8 /* HomeVideoCourseView.xib in Resources */ = {isa = PBXBuildFile; fileRef = BC5367C8283F6D72008428E8 /* HomeVideoCourseView.xib */; };
 		BC76630E2827E48800C91A1D /* NotiferMessageModel.m in Sources */ = {isa = PBXBuildFile; fileRef = BC76630C2827E48800C91A1D /* NotiferMessageModel.m */; };
 		BC7663152827E49900C91A1D /* NotiferHeadView.m in Sources */ = {isa = PBXBuildFile; fileRef = BC76630F2827E49800C91A1D /* NotiferHeadView.m */; };
 		BC7663162827E49900C91A1D /* NotiferHeadView.xib in Resources */ = {isa = PBXBuildFile; fileRef = BC7663102827E49800C91A1D /* NotiferHeadView.xib */; };
@@ -1478,6 +1482,12 @@
 		BC50171627FC0D8D00F8BCBC /* SubjectChooseBodyView.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = SubjectChooseBodyView.xib; sourceTree = "<group>"; };
 		BC5082B2283345A10031DD0A /* KSChatListCell.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = KSChatListCell.h; sourceTree = "<group>"; };
 		BC5082B3283345A10031DD0A /* KSChatListCell.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = KSChatListCell.m; sourceTree = "<group>"; };
+		BC5367C0283F6D4C008428E8 /* HomeLiveCourseView.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = HomeLiveCourseView.h; sourceTree = "<group>"; };
+		BC5367C1283F6D4C008428E8 /* HomeLiveCourseView.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = HomeLiveCourseView.m; sourceTree = "<group>"; };
+		BC5367C3283F6D58008428E8 /* HomeLiveCourseView.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = HomeLiveCourseView.xib; sourceTree = "<group>"; };
+		BC5367C5283F6D6B008428E8 /* HomeVideoCourseView.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = HomeVideoCourseView.h; sourceTree = "<group>"; };
+		BC5367C6283F6D6B008428E8 /* HomeVideoCourseView.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = HomeVideoCourseView.m; sourceTree = "<group>"; };
+		BC5367C8283F6D72008428E8 /* HomeVideoCourseView.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = HomeVideoCourseView.xib; sourceTree = "<group>"; };
 		BC76630C2827E48800C91A1D /* NotiferMessageModel.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = NotiferMessageModel.m; sourceTree = "<group>"; };
 		BC76630D2827E48800C91A1D /* NotiferMessageModel.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = NotiferMessageModel.h; sourceTree = "<group>"; };
 		BC76630F2827E49800C91A1D /* NotiferHeadView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = NotiferHeadView.m; sourceTree = "<group>"; };
@@ -2216,6 +2226,12 @@
 				BCBFDF4928115C6F0052AFE5 /* HomeHotCourseView.h */,
 				BCBFDF4A28115C6F0052AFE5 /* HomeHotCourseView.m */,
 				BCBFDF4C28115C7A0052AFE5 /* HomeHotCourseView.xib */,
+				BC5367C0283F6D4C008428E8 /* HomeLiveCourseView.h */,
+				BC5367C1283F6D4C008428E8 /* HomeLiveCourseView.m */,
+				BC5367C3283F6D58008428E8 /* HomeLiveCourseView.xib */,
+				BC5367C5283F6D6B008428E8 /* HomeVideoCourseView.h */,
+				BC5367C6283F6D6B008428E8 /* HomeVideoCourseView.m */,
+				BC5367C8283F6D72008428E8 /* HomeVideoCourseView.xib */,
 				BCBFDF4E28115D9A0052AFE5 /* HomeIntroduceView.h */,
 				BCBFDF4F28115D9A0052AFE5 /* HomeIntroduceView.m */,
 				BCBFDF5128115DA40052AFE5 /* HomeIntroduceView.xib */,
@@ -4589,6 +4605,7 @@
 				2723B63727F157D500E0B90B /* ApplyBottomView.xib in Resources */,
 				2723B62F27F157D500E0B90B /* ChatComplainBodyView.xib in Resources */,
 				2723B62127F157D500E0B90B /* NoticeEditBodyView.xib in Resources */,
+				BC5367C9283F6D72008428E8 /* HomeVideoCourseView.xib in Resources */,
 				2723B66127F15CFB00E0B90B /* SettingBodyView.xib in Resources */,
 				BC11928C280FB44300A716F7 /* HomeworkVideoView.xib in Resources */,
 				275E8AB527E18F8B00DD3F6E /* Assets.xcassets in Resources */,
@@ -4603,6 +4620,7 @@
 				BC8A459E283DC33400094BBB /* FingerList.plist in Resources */,
 				275FA23D27E7356B00CFEA2E /* PasswordBodyView.xib in Resources */,
 				2723B66227F15CFC00E0B90B /* FeedbackBodyView.xib in Resources */,
+				BC5367C4283F6D58008428E8 /* HomeLiveCourseView.xib in Resources */,
 				2723B66527F15CFC00E0B90B /* ModifyBodyView.xib in Resources */,
 				BCB6353027F6D2A300ACFDCF /* SealClass.strings in Resources */,
 				BCB635AE27F6E06500ACFDCF /* LiveRoomHeadView.xib in Resources */,
@@ -4864,6 +4882,7 @@
 				BCB6353127F6D2A300ACFDCF /* ZoomControl.m in Sources */,
 				2779353427E324A60010E277 /* UIImageView+CornerRadius.m in Sources */,
 				2779357827E324A70010E277 /* NSString+phone.m in Sources */,
+				BC5367C7283F6D6B008428E8 /* HomeVideoCourseView.m in Sources */,
 				2779357D27E324A80010E277 /* KSMessageInputView.m in Sources */,
 				277935BE27E324A90010E277 /* FSCalendarCalculator.m in Sources */,
 				BCB6347727F6D29600ACFDCF /* LiveRoomLikeLayer.m in Sources */,
@@ -5168,6 +5187,7 @@
 				277935AD27E324A80010E277 /* MSSBrowseZoomScrollView.m in Sources */,
 				BCB6348227F6D29600ACFDCF /* SeatContentView.m in Sources */,
 				2723B68227F15D3D00E0B90B /* ModifyPhoneChangeController.m in Sources */,
+				BC5367C2283F6D4D008428E8 /* HomeLiveCourseView.m in Sources */,
 				BC40BA1F2812552300DEC0D1 /* KSHomeButton.m in Sources */,
 				277935C827E324A90010E277 /* TADotView.m in Sources */,
 				BC1191FF280ED64E00A716F7 /* MyCourseViewController.m in Sources */,

BIN
KulexiuForStudent/KulexiuForStudent.xcworkspace/xcuserdata/wangzhi.xcuserdatad/UserInterfaceState.xcuserstate


+ 13 - 81
KulexiuForStudent/KulexiuForStudent.xcworkspace/xcuserdata/wangzhi.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist

@@ -55,22 +55,6 @@
       <BreakpointProxy
          BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
          <BreakpointContent
-            uuid = "A085F06F-9154-4262-B0F9-974A805509C6"
-            shouldBeEnabled = "Yes"
-            ignoreCount = "0"
-            continueAfterRunningActions = "No"
-            filePath = "KulexiuForStudent/Module/Home/Controller/HomeViewController.m"
-            startingColumnNumber = "9223372036854775807"
-            endingColumnNumber = "9223372036854775807"
-            startingLineNumber = "1003"
-            endingLineNumber = "1003"
-            landmarkName = "-homeCourseChooseAction:"
-            landmarkType = "7">
-         </BreakpointContent>
-      </BreakpointProxy>
-      <BreakpointProxy
-         BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
-         <BreakpointContent
             uuid = "68B45DB8-FA35-44FF-84DB-7F955970CF6B"
             shouldBeEnabled = "Yes"
             ignoreCount = "0"
@@ -112,7 +96,7 @@
                   endingColumnNumber = "9223372036854775807"
                   startingLineNumber = "426"
                   endingLineNumber = "426"
-                  offsetFromSymbolStart = "8606">
+                  offsetFromSymbolStart = "7404">
                </Location>
                <Location
                   uuid = "4F6C61A9-D4D5-4F22-B8F3-ED812BE470A4 - e7532b659385b70f"
@@ -127,7 +111,7 @@
                   endingColumnNumber = "9223372036854775807"
                   startingLineNumber = "426"
                   endingLineNumber = "426"
-                  offsetFromSymbolStart = "8638">
+                  offsetFromSymbolStart = "7420">
                </Location>
             </Locations>
          </BreakpointContent>
@@ -167,22 +151,6 @@
       <BreakpointProxy
          BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
          <BreakpointContent
-            uuid = "C4FA01F2-D5AA-4A5F-9771-ACBE64179067"
-            shouldBeEnabled = "No"
-            ignoreCount = "0"
-            continueAfterRunningActions = "No"
-            filePath = "KulexiuForStudent/Module/Home/Controller/HomeViewController.m"
-            startingColumnNumber = "9223372036854775807"
-            endingColumnNumber = "9223372036854775807"
-            startingLineNumber = "400"
-            endingLineNumber = "400"
-            landmarkName = "-requestCourseInfo"
-            landmarkType = "7">
-         </BreakpointContent>
-      </BreakpointProxy>
-      <BreakpointProxy
-         BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
-         <BreakpointContent
             uuid = "3D9A202F-F457-4AD7-B097-BA348C19E5C4"
             shouldBeEnabled = "No"
             ignoreCount = "0"
@@ -190,8 +158,8 @@
             filePath = "KulexiuForStudent/Module/Home/Controller/HomeViewController.m"
             startingColumnNumber = "9223372036854775807"
             endingColumnNumber = "9223372036854775807"
-            startingLineNumber = "1261"
-            endingLineNumber = "1261"
+            startingLineNumber = "1231"
+            endingLineNumber = "1231"
             landmarkName = "-showNewsWithSource:"
             landmarkType = "7">
          </BreakpointContent>
@@ -254,8 +222,8 @@
             filePath = "KulexiuForStudent/Module/Home/NoticeCenter/Controller/NotiferMessageViewController.m"
             startingColumnNumber = "9223372036854775807"
             endingColumnNumber = "9223372036854775807"
-            startingLineNumber = "231"
-            endingLineNumber = "231"
+            startingLineNumber = "233"
+            endingLineNumber = "233"
             landmarkName = "-toDetailViewWithTypeString:"
             landmarkType = "7">
          </BreakpointContent>
@@ -270,8 +238,8 @@
             filePath = "KulexiuForStudent/Module/Home/NoticeCenter/Controller/NotiferMessageViewController.m"
             startingColumnNumber = "9223372036854775807"
             endingColumnNumber = "9223372036854775807"
-            startingLineNumber = "220"
-            endingLineNumber = "220"
+            startingLineNumber = "222"
+            endingLineNumber = "222"
             landmarkName = "-readMessage:baseCell:"
             landmarkType = "7">
          </BreakpointContent>
@@ -279,22 +247,6 @@
       <BreakpointProxy
          BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
          <BreakpointContent
-            uuid = "36C40FE3-CAEF-46A9-A4B4-4A4D4F9439E2"
-            shouldBeEnabled = "Yes"
-            ignoreCount = "0"
-            continueAfterRunningActions = "No"
-            filePath = "KulexiuForStudent/Module/Home/NoticeCenter/Controller/NotiferMessageViewController.m"
-            startingColumnNumber = "9223372036854775807"
-            endingColumnNumber = "9223372036854775807"
-            startingLineNumber = "210"
-            endingLineNumber = "210"
-            landmarkName = "-tableView:didSelectRowAtIndexPath:"
-            landmarkType = "7">
-         </BreakpointContent>
-      </BreakpointProxy>
-      <BreakpointProxy
-         BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
-         <BreakpointContent
             uuid = "D5E3B422-122A-4823-9B39-37B001FCDAC9"
             shouldBeEnabled = "Yes"
             ignoreCount = "0"
@@ -309,35 +261,15 @@
          </BreakpointContent>
       </BreakpointProxy>
       <BreakpointProxy
-         BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
-         <BreakpointContent
-            uuid = "93E8EED7-BB69-43C2-8AFE-DC21C9719D11"
-            shouldBeEnabled = "Yes"
-            ignoreCount = "0"
-            continueAfterRunningActions = "No"
-            filePath = "KulexiuForStudent/Common/Base/KSBaseWKWebViewController.m"
-            startingColumnNumber = "9223372036854775807"
-            endingColumnNumber = "9223372036854775807"
-            startingLineNumber = "225"
-            endingLineNumber = "225"
-            landmarkName = "-url"
-            landmarkType = "7">
-         </BreakpointContent>
-      </BreakpointProxy>
-      <BreakpointProxy
-         BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
+         BreakpointExtensionID = "Xcode.Breakpoint.ExceptionBreakpoint">
          <BreakpointContent
-            uuid = "281CEB55-31B3-443E-848C-64B427010347"
+            uuid = "EBB87FB0-8EEB-4CB8-96AB-84A8BBE18213"
             shouldBeEnabled = "Yes"
             ignoreCount = "0"
             continueAfterRunningActions = "No"
-            filePath = "KulexiuForStudent/Common/Base/KSBaseWKWebViewController.m"
-            startingColumnNumber = "9223372036854775807"
-            endingColumnNumber = "9223372036854775807"
-            startingLineNumber = "209"
-            endingLineNumber = "209"
-            landmarkName = "-url"
-            landmarkType = "7">
+            breakpointStackSelectionBehavior = "1"
+            scope = "1"
+            stopOnStyle = "0">
          </BreakpointContent>
       </BreakpointProxy>
    </Breakpoints>

+ 0 - 22
KulexiuForStudent/KulexiuForStudent/Assets.xcassets/MessageCenter/course_cell.imageset/Contents.json

@@ -1,22 +0,0 @@
-{
-  "images" : [
-    {
-      "idiom" : "universal",
-      "scale" : "1x"
-    },
-    {
-      "filename" : "course_cell@2x.png",
-      "idiom" : "universal",
-      "scale" : "2x"
-    },
-    {
-      "filename" : "course_cell@3x.png",
-      "idiom" : "universal",
-      "scale" : "3x"
-    }
-  ],
-  "info" : {
-    "author" : "xcode",
-    "version" : 1
-  }
-}

BIN
KulexiuForStudent/KulexiuForStudent/Assets.xcassets/MessageCenter/course_cell.imageset/course_cell@2x.png


BIN
KulexiuForStudent/KulexiuForStudent/Assets.xcassets/MessageCenter/course_cell.imageset/course_cell@3x.png


+ 0 - 22
KulexiuForStudent/KulexiuForStudent/Assets.xcassets/MessageCenter/message_notice.imageset/Contents.json

@@ -1,22 +0,0 @@
-{
-  "images" : [
-    {
-      "idiom" : "universal",
-      "scale" : "1x"
-    },
-    {
-      "filename" : "message_notice@2x.png",
-      "idiom" : "universal",
-      "scale" : "2x"
-    },
-    {
-      "filename" : "message_notice@3x.png",
-      "idiom" : "universal",
-      "scale" : "3x"
-    }
-  ],
-  "info" : {
-    "author" : "xcode",
-    "version" : 1
-  }
-}

BIN
KulexiuForStudent/KulexiuForStudent/Assets.xcassets/MessageCenter/message_notice.imageset/message_notice@2x.png


BIN
KulexiuForStudent/KulexiuForStudent/Assets.xcassets/MessageCenter/message_notice.imageset/message_notice@3x.png


+ 0 - 22
KulexiuForStudent/KulexiuForStudent/Assets.xcassets/MessageCenter/notice_cell.imageset/Contents.json

@@ -1,22 +0,0 @@
-{
-  "images" : [
-    {
-      "idiom" : "universal",
-      "scale" : "1x"
-    },
-    {
-      "filename" : "notice_cell@2x.png",
-      "idiom" : "universal",
-      "scale" : "2x"
-    },
-    {
-      "filename" : "notice_cell@3x.png",
-      "idiom" : "universal",
-      "scale" : "3x"
-    }
-  ],
-  "info" : {
-    "author" : "xcode",
-    "version" : 1
-  }
-}

BIN
KulexiuForStudent/KulexiuForStudent/Assets.xcassets/MessageCenter/notice_cell.imageset/notice_cell@2x.png


BIN
KulexiuForStudent/KulexiuForStudent/Assets.xcassets/MessageCenter/notice_cell.imageset/notice_cell@3x.png


+ 22 - 0
KulexiuForStudent/KulexiuForStudent/Assets.xcassets/MessageCenter/notifer_accompany.imageset/Contents.json

@@ -0,0 +1,22 @@
+{
+  "images" : [
+    {
+      "idiom" : "universal",
+      "scale" : "1x"
+    },
+    {
+      "filename" : "notifer_accompany@2x.png",
+      "idiom" : "universal",
+      "scale" : "2x"
+    },
+    {
+      "filename" : "notifer_accompany@3x.png",
+      "idiom" : "universal",
+      "scale" : "3x"
+    }
+  ],
+  "info" : {
+    "author" : "xcode",
+    "version" : 1
+  }
+}

BIN
KulexiuForStudent/KulexiuForStudent/Assets.xcassets/MessageCenter/notifer_accompany.imageset/notifer_accompany@2x.png


BIN
KulexiuForStudent/KulexiuForStudent/Assets.xcassets/MessageCenter/notifer_accompany.imageset/notifer_accompany@3x.png


+ 22 - 0
KulexiuForStudent/KulexiuForStudent/Assets.xcassets/MessageCenter/notifer_course.imageset/Contents.json

@@ -0,0 +1,22 @@
+{
+  "images" : [
+    {
+      "idiom" : "universal",
+      "scale" : "1x"
+    },
+    {
+      "filename" : "notifer_course@2x.png",
+      "idiom" : "universal",
+      "scale" : "2x"
+    },
+    {
+      "filename" : "notifer_course@3x.png",
+      "idiom" : "universal",
+      "scale" : "3x"
+    }
+  ],
+  "info" : {
+    "author" : "xcode",
+    "version" : 1
+  }
+}

BIN
KulexiuForStudent/KulexiuForStudent/Assets.xcassets/MessageCenter/notifer_course.imageset/notifer_course@2x.png


BIN
KulexiuForStudent/KulexiuForStudent/Assets.xcassets/MessageCenter/notifer_course.imageset/notifer_course@3x.png


+ 22 - 0
KulexiuForStudent/KulexiuForStudent/Assets.xcassets/MessageCenter/notifer_evaluate.imageset/Contents.json

@@ -0,0 +1,22 @@
+{
+  "images" : [
+    {
+      "idiom" : "universal",
+      "scale" : "1x"
+    },
+    {
+      "filename" : "notifer_evaluate@2x.png",
+      "idiom" : "universal",
+      "scale" : "2x"
+    },
+    {
+      "filename" : "notifer_evaluate@3x.png",
+      "idiom" : "universal",
+      "scale" : "3x"
+    }
+  ],
+  "info" : {
+    "author" : "xcode",
+    "version" : 1
+  }
+}

BIN
KulexiuForStudent/KulexiuForStudent/Assets.xcassets/MessageCenter/notifer_evaluate.imageset/notifer_evaluate@2x.png


BIN
KulexiuForStudent/KulexiuForStudent/Assets.xcassets/MessageCenter/notifer_evaluate.imageset/notifer_evaluate@3x.png


+ 22 - 0
KulexiuForStudent/KulexiuForStudent/Assets.xcassets/MessageCenter/notifer_groupChat.imageset/Contents.json

@@ -0,0 +1,22 @@
+{
+  "images" : [
+    {
+      "idiom" : "universal",
+      "scale" : "1x"
+    },
+    {
+      "filename" : "notifer_groupChat@2x.png",
+      "idiom" : "universal",
+      "scale" : "2x"
+    },
+    {
+      "filename" : "notifer_groupChat@3x.png",
+      "idiom" : "universal",
+      "scale" : "3x"
+    }
+  ],
+  "info" : {
+    "author" : "xcode",
+    "version" : 1
+  }
+}

BIN
KulexiuForStudent/KulexiuForStudent/Assets.xcassets/MessageCenter/notifer_groupChat.imageset/notifer_groupChat@2x.png


BIN
KulexiuForStudent/KulexiuForStudent/Assets.xcassets/MessageCenter/notifer_groupChat.imageset/notifer_groupChat@3x.png


+ 22 - 0
KulexiuForStudent/KulexiuForStudent/Assets.xcassets/MessageCenter/notifer_homework.imageset/Contents.json

@@ -0,0 +1,22 @@
+{
+  "images" : [
+    {
+      "idiom" : "universal",
+      "scale" : "1x"
+    },
+    {
+      "filename" : "notifer_homework@2x.png",
+      "idiom" : "universal",
+      "scale" : "2x"
+    },
+    {
+      "filename" : "notifer_homework@3x.png",
+      "idiom" : "universal",
+      "scale" : "3x"
+    }
+  ],
+  "info" : {
+    "author" : "xcode",
+    "version" : 1
+  }
+}

BIN
KulexiuForStudent/KulexiuForStudent/Assets.xcassets/MessageCenter/notifer_homework.imageset/notifer_homework@2x.png


BIN
KulexiuForStudent/KulexiuForStudent/Assets.xcassets/MessageCenter/notifer_homework.imageset/notifer_homework@3x.png


+ 22 - 0
KulexiuForStudent/KulexiuForStudent/Assets.xcassets/MessageCenter/notifer_income.imageset/Contents.json

@@ -0,0 +1,22 @@
+{
+  "images" : [
+    {
+      "idiom" : "universal",
+      "scale" : "1x"
+    },
+    {
+      "filename" : "notifer_income@2x.png",
+      "idiom" : "universal",
+      "scale" : "2x"
+    },
+    {
+      "filename" : "notifer_income@3x.png",
+      "idiom" : "universal",
+      "scale" : "3x"
+    }
+  ],
+  "info" : {
+    "author" : "xcode",
+    "version" : 1
+  }
+}

BIN
KulexiuForStudent/KulexiuForStudent/Assets.xcassets/MessageCenter/notifer_income.imageset/notifer_income@2x.png


BIN
KulexiuForStudent/KulexiuForStudent/Assets.xcassets/MessageCenter/notifer_income.imageset/notifer_income@3x.png


+ 22 - 0
KulexiuForStudent/KulexiuForStudent/Assets.xcassets/MessageCenter/notifer_live.imageset/Contents.json

@@ -0,0 +1,22 @@
+{
+  "images" : [
+    {
+      "idiom" : "universal",
+      "scale" : "1x"
+    },
+    {
+      "filename" : "notifer_live@2x.png",
+      "idiom" : "universal",
+      "scale" : "2x"
+    },
+    {
+      "filename" : "notifer_live@3x.png",
+      "idiom" : "universal",
+      "scale" : "3x"
+    }
+  ],
+  "info" : {
+    "author" : "xcode",
+    "version" : 1
+  }
+}

BIN
KulexiuForStudent/KulexiuForStudent/Assets.xcassets/MessageCenter/notifer_live.imageset/notifer_live@2x.png


BIN
KulexiuForStudent/KulexiuForStudent/Assets.xcassets/MessageCenter/notifer_live.imageset/notifer_live@3x.png


+ 22 - 0
KulexiuForStudent/KulexiuForStudent/Assets.xcassets/MessageCenter/notifer_musianAuth.imageset/Contents.json

@@ -0,0 +1,22 @@
+{
+  "images" : [
+    {
+      "idiom" : "universal",
+      "scale" : "1x"
+    },
+    {
+      "filename" : "notifer_musianAuth@2x.png",
+      "idiom" : "universal",
+      "scale" : "2x"
+    },
+    {
+      "filename" : "notifer_musianAuth@3x.png",
+      "idiom" : "universal",
+      "scale" : "3x"
+    }
+  ],
+  "info" : {
+    "author" : "xcode",
+    "version" : 1
+  }
+}

BIN
KulexiuForStudent/KulexiuForStudent/Assets.xcassets/MessageCenter/notifer_musianAuth.imageset/notifer_musianAuth@2x.png


BIN
KulexiuForStudent/KulexiuForStudent/Assets.xcassets/MessageCenter/notifer_musianAuth.imageset/notifer_musianAuth@3x.png


+ 22 - 0
KulexiuForStudent/KulexiuForStudent/Assets.xcassets/MessageCenter/notifer_music.imageset/Contents.json

@@ -0,0 +1,22 @@
+{
+  "images" : [
+    {
+      "idiom" : "universal",
+      "scale" : "1x"
+    },
+    {
+      "filename" : "notifer_music@2x.png",
+      "idiom" : "universal",
+      "scale" : "2x"
+    },
+    {
+      "filename" : "notifer_music@3x.png",
+      "idiom" : "universal",
+      "scale" : "3x"
+    }
+  ],
+  "info" : {
+    "author" : "xcode",
+    "version" : 1
+  }
+}

BIN
KulexiuForStudent/KulexiuForStudent/Assets.xcassets/MessageCenter/notifer_music.imageset/notifer_music@2x.png


BIN
KulexiuForStudent/KulexiuForStudent/Assets.xcassets/MessageCenter/notifer_music.imageset/notifer_music@3x.png


+ 22 - 0
KulexiuForStudent/KulexiuForStudent/Assets.xcassets/MessageCenter/notifer_teacherAuth.imageset/Contents.json

@@ -0,0 +1,22 @@
+{
+  "images" : [
+    {
+      "idiom" : "universal",
+      "scale" : "1x"
+    },
+    {
+      "filename" : "notifer_teacherAuth@2x.png",
+      "idiom" : "universal",
+      "scale" : "2x"
+    },
+    {
+      "filename" : "notifer_teacherAuth@3x.png",
+      "idiom" : "universal",
+      "scale" : "3x"
+    }
+  ],
+  "info" : {
+    "author" : "xcode",
+    "version" : 1
+  }
+}

BIN
KulexiuForStudent/KulexiuForStudent/Assets.xcassets/MessageCenter/notifer_teacherAuth.imageset/notifer_teacherAuth@2x.png


BIN
KulexiuForStudent/KulexiuForStudent/Assets.xcassets/MessageCenter/notifer_teacherAuth.imageset/notifer_teacherAuth@3x.png


+ 22 - 0
KulexiuForStudent/KulexiuForStudent/Assets.xcassets/MessageCenter/notifer_unknow.imageset/Contents.json

@@ -0,0 +1,22 @@
+{
+  "images" : [
+    {
+      "idiom" : "universal",
+      "scale" : "1x"
+    },
+    {
+      "filename" : "notifer_unknow@2x.png",
+      "idiom" : "universal",
+      "scale" : "2x"
+    },
+    {
+      "filename" : "notifer_unknow@3x.png",
+      "idiom" : "universal",
+      "scale" : "3x"
+    }
+  ],
+  "info" : {
+    "author" : "xcode",
+    "version" : 1
+  }
+}

BIN
KulexiuForStudent/KulexiuForStudent/Assets.xcassets/MessageCenter/notifer_unknow.imageset/notifer_unknow@2x.png


BIN
KulexiuForStudent/KulexiuForStudent/Assets.xcassets/MessageCenter/notifer_unknow.imageset/notifer_unknow@3x.png


+ 22 - 0
KulexiuForStudent/KulexiuForStudent/Assets.xcassets/MessageCenter/notifer_video.imageset/Contents.json

@@ -0,0 +1,22 @@
+{
+  "images" : [
+    {
+      "idiom" : "universal",
+      "scale" : "1x"
+    },
+    {
+      "filename" : "notifer_video@2x.png",
+      "idiom" : "universal",
+      "scale" : "2x"
+    },
+    {
+      "filename" : "notifer_video@3x.png",
+      "idiom" : "universal",
+      "scale" : "3x"
+    }
+  ],
+  "info" : {
+    "author" : "xcode",
+    "version" : 1
+  }
+}

BIN
KulexiuForStudent/KulexiuForStudent/Assets.xcassets/MessageCenter/notifer_video.imageset/notifer_video@2x.png


BIN
KulexiuForStudent/KulexiuForStudent/Assets.xcassets/MessageCenter/notifer_video.imageset/notifer_video@3x.png


+ 22 - 0
KulexiuForStudent/KulexiuForStudent/Assets.xcassets/MessageCenter/notifer_vip.imageset/Contents.json

@@ -0,0 +1,22 @@
+{
+  "images" : [
+    {
+      "idiom" : "universal",
+      "scale" : "1x"
+    },
+    {
+      "filename" : "notifer_vip@2x.png",
+      "idiom" : "universal",
+      "scale" : "2x"
+    },
+    {
+      "filename" : "notifer_vip@3x.png",
+      "idiom" : "universal",
+      "scale" : "3x"
+    }
+  ],
+  "info" : {
+    "author" : "xcode",
+    "version" : 1
+  }
+}

BIN
KulexiuForStudent/KulexiuForStudent/Assets.xcassets/MessageCenter/notifer_vip.imageset/notifer_vip@2x.png


BIN
KulexiuForStudent/KulexiuForStudent/Assets.xcassets/MessageCenter/notifer_vip.imageset/notifer_vip@3x.png


+ 0 - 22
KulexiuForStudent/KulexiuForStudent/Assets.xcassets/MessageCenter/system_cell.imageset/Contents.json

@@ -1,22 +0,0 @@
-{
-  "images" : [
-    {
-      "idiom" : "universal",
-      "scale" : "1x"
-    },
-    {
-      "filename" : "system_cell@2x.png",
-      "idiom" : "universal",
-      "scale" : "2x"
-    },
-    {
-      "filename" : "system_cell@3x.png",
-      "idiom" : "universal",
-      "scale" : "3x"
-    }
-  ],
-  "info" : {
-    "author" : "xcode",
-    "version" : 1
-  }
-}

BIN
KulexiuForStudent/KulexiuForStudent/Assets.xcassets/MessageCenter/system_cell.imageset/system_cell@2x.png


BIN
KulexiuForStudent/KulexiuForStudent/Assets.xcassets/MessageCenter/system_cell.imageset/system_cell@3x.png


+ 2 - 2
KulexiuForStudent/KulexiuForStudent/Common/Base/KSAccompanyWebViewController.m

@@ -212,7 +212,7 @@
         WeakWebViewScriptMessageDelegate *weakScriptMessageDelegate = [[WeakWebViewScriptMessageDelegate alloc] initWithDelegate:self];
         //这个类主要用来做native与JavaScript的交互管理
         WKUserContentController * wkUController = [[WKUserContentController alloc] init];
-        [wkUController addScriptMessageHandler:weakScriptMessageDelegate name:@"DAYA"];
+        [wkUController addScriptMessageHandler:weakScriptMessageDelegate name:@"COLEXIU"];
         config.userContentController = wkUController;
         
         WKPreferences *preferences = [WKPreferences new];
@@ -294,7 +294,7 @@
 
 - (void)userContentController:(WKUserContentController *)userContentController
       didReceiveScriptMessage:(WKScriptMessage *)message {
-    if ([message.name isEqualToString:@"DAYA"]) {
+    if ([message.name isEqualToString:@"COLEXIU"]) {
         NSDictionary *parm = [self convertJsonStringToNSDictionary:message.body];
         // 回到主线程
         dispatch_async(dispatch_get_main_queue(), ^{

+ 5 - 2
KulexiuForStudent/KulexiuForStudent/Common/Base/KSBaseViewController.m

@@ -411,9 +411,12 @@
 
 // 关闭菊花
 -(void)removehub{
-    dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(0.3 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
+    dispatch_main_async_safe(^{
         [self removeLoadingView];
-    });
+    })
+//    dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(0.1 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
+//        
+//    });
 }
 
 -(void)removeLoadingView {

+ 2 - 1
KulexiuForStudent/KulexiuForStudent/Common/Base/KSNetworkingManager.h

@@ -194,10 +194,11 @@ NS_ASSUME_NONNULL_BEGIN
  
  @param post post
  @param mobile 手机号码
+ @param type type    PASSWD  LOGIN BANK PHONE
  @param success 成功
  @param faliure 失败
  */
-+ (void)sendSmsRequest:(NSString *)post mobile:(NSString *)mobile success:(void(^)(NSDictionary *dic))success faliure:(void(^)(NSError *error))faliure;
++ (void)sendSmsRequest:(NSString *)post mobile:(NSString *)mobile type:(NSString *)type success:(void(^)(NSDictionary *dic))success faliure:(void(^)(NSError *error))faliure;
 
 // /api-student/code/verifyImageCode
 

+ 3 - 1
KulexiuForStudent/KulexiuForStudent/Common/Base/KSNetworkingManager.m

@@ -621,13 +621,15 @@
  
  @param post post
  @param mobile 手机号码
+ @param type type
  @param success 成功
  @param faliure 失败
  */
-+ (void)sendSmsRequest:(NSString *)post mobile:(NSString *)mobile success:(void(^)(NSDictionary *dic))success faliure:(void(^)(NSError *error))faliure {
++ (void)sendSmsRequest:(NSString *)post mobile:(NSString *)mobile type:(NSString *)type success:(void(^)(NSDictionary *dic))success faliure:(void(^)(NSError *error))faliure {
     [self configRequestMethodForm];
     NSMutableDictionary *parm = [NSMutableDictionary dictionary];
     [parm setValue:mobile forKey:@"mobile"];
+    [parm setValue:type forKey:@"type"];
     NSString *url = [NSString stringWithFormat:@"%@%@",hostURL, @"/api-student/code/sendSmsCode"];
     [self request:post andWithUrl:url and:parm success:success faliure:faliure];
 }

+ 1 - 1
KulexiuForStudent/KulexiuForStudent/Module/Course/AccompanyCourse/Controller/AccompanyDetailViewController.m

@@ -106,7 +106,7 @@
     }];
 }
 - (void)requestEvaluateMessage {
-    [KSNetworkingManager selectRepliedRequest:KS_POST courseGroupId:self.courseId courseScheduleId:self.courseGroupId success:^(NSDictionary * _Nonnull dic) {
+    [KSNetworkingManager selectRepliedRequest:KS_POST courseGroupId:self.courseGroupId courseScheduleId:self.courseId success:^(NSDictionary * _Nonnull dic) {
         if ([dic integerValueForKey:@"code"] == 200 && [dic boolValueForKey:@"status"]) {
             self.evaluateModel = [[EvaluateDetailModel alloc] initWithDictionary:[dic dictionaryValueForKey:@"data"]];
         }

+ 2 - 0
KulexiuForStudent/KulexiuForStudent/Module/Course/Model/TableCourseModel.h

@@ -24,6 +24,8 @@
 @property (nonatomic, strong) NSString *courseType;
 @property (nonatomic, strong) NSString *name;
 @property (nonatomic, strong) NSString *startTime;
+@property (nonatomic, strong) NSString *studentReplied;
+@property (nonatomic, strong) NSString *teacherReplied;
 
 + (instancetype)modelObjectWithDictionary:(NSDictionary *)dict;
 - (instancetype)initWithDictionary:(NSDictionary *)dict;

+ 14 - 4
KulexiuForStudent/KulexiuForStudent/Module/Course/Model/TableCourseModel.m

@@ -21,7 +21,8 @@ NSString *const kTableCourseModelPayCount = @"payCount";
 NSString *const kTableCourseModelCourseType = @"courseType";
 NSString *const kTableCourseModelName = @"name";
 NSString *const kTableCourseModelStartTime = @"startTime";
-
+NSString *const kTableCourseModelStudentReplied= @"studentReplied";
+NSString *const kTableCourseModelTeacherReplied = @"teacherReplied";
 
 @interface TableCourseModel ()
 
@@ -44,7 +45,8 @@ NSString *const kTableCourseModelStartTime = @"startTime";
 @synthesize courseType = _courseType;
 @synthesize name = _name;
 @synthesize startTime = _startTime;
-
+@synthesize teacherReplied = _teacherReplied;
+@synthesize studentReplied = _studentReplied;
 
 + (instancetype)modelObjectWithDictionary:(NSDictionary *)dict
 {
@@ -71,7 +73,8 @@ NSString *const kTableCourseModelStartTime = @"startTime";
             self.courseType = [self objectOrNilForKey:kTableCourseModelCourseType fromDictionary:dict];
             self.name = [self objectOrNilForKey:kTableCourseModelName fromDictionary:dict];
             self.startTime = [self objectOrNilForKey:kTableCourseModelStartTime fromDictionary:dict];
-
+        self.teacherReplied = [self objectOrNilForKey:kTableCourseModelTeacherReplied fromDictionary:dict];
+        self.studentReplied = [self objectOrNilForKey:kTableCourseModelStudentReplied fromDictionary:dict];
     }
     
     return self;
@@ -94,7 +97,8 @@ NSString *const kTableCourseModelStartTime = @"startTime";
     [mutableDict setValue:self.courseType forKey:kTableCourseModelCourseType];
     [mutableDict setValue:self.name forKey:kTableCourseModelName];
     [mutableDict setValue:self.startTime forKey:kTableCourseModelStartTime];
-
+    [mutableDict setValue:self.teacherReplied forKey:kTableCourseModelTeacherReplied];
+    [mutableDict setValue:self.studentReplied forKey:kTableCourseModelStudentReplied];
     return [NSDictionary dictionaryWithDictionary:mutableDict];
 }
 
@@ -134,6 +138,8 @@ NSString *const kTableCourseModelStartTime = @"startTime";
     self.courseType = [aDecoder decodeObjectForKey:kTableCourseModelCourseType];
     self.name = [aDecoder decodeObjectForKey:kTableCourseModelName];
     self.startTime = [aDecoder decodeObjectForKey:kTableCourseModelStartTime];
+    self.studentReplied = [aDecoder decodeObjectForKey:kTableCourseModelStudentReplied];
+    self.teacherReplied = [aDecoder decodeObjectForKey:kTableCourseModelTeacherReplied];
     return self;
 }
 
@@ -153,6 +159,8 @@ NSString *const kTableCourseModelStartTime = @"startTime";
     [aCoder encodeObject:_courseType forKey:kTableCourseModelCourseType];
     [aCoder encodeObject:_name forKey:kTableCourseModelName];
     [aCoder encodeObject:_startTime forKey:kTableCourseModelStartTime];
+    [aCoder encodeObject:_studentReplied forKey:kTableCourseModelStudentReplied];
+    [aCoder encodeObject:_teacherReplied forKey:kTableCourseModelTeacherReplied];
 }
 
 - (id)copyWithZone:(NSZone *)zone
@@ -174,6 +182,8 @@ NSString *const kTableCourseModelStartTime = @"startTime";
         copy.courseType = [self.courseType copyWithZone:zone];
         copy.name = [self.name copyWithZone:zone];
         copy.startTime = [self.startTime copyWithZone:zone];
+        copy.teacherReplied = [self.teacherReplied copyWithZone:zone];
+        copy.studentReplied = [self.studentReplied copyWithZone:zone];
     }
     
     return copy;

+ 2 - 2
KulexiuForStudent/KulexiuForStudent/Module/Course/View/AccompanyCourseCell.m

@@ -145,8 +145,8 @@
         self.courseStatus.text = @"已结束";
         self.courseStatus.textColor = HexRGB(0x999999);
         // 判断显示评价还是已评价
-        BOOL hasEvaluate = NO;
-        if (hasEvaluate) {
+        BOOL hasEvaluate = [model.teacherReplied isEqualToString:@"1"] ? YES : NO;
+        if (hasEvaluate == NO) {
             self.type = ACCOMPANY_DETAIL;
             self.opreationButton.userInteractionEnabled = YES;
             self.opreationButton.hidden = NO;

+ 85 - 115
KulexiuForStudent/KulexiuForStudent/Module/Home/Controller/HomeViewController.m

@@ -25,7 +25,6 @@
 #import "HomeHotAlbumCell.h"
 #import "HomeAlbumModel.h"
 
-#import "HomeHotCourseView.h"
 #import "HomeIntroduceView.h"
 #import "TeacherShowCell.h"
 #import "HotInformationHeadView.h"
@@ -39,6 +38,9 @@
 
 #import "HomeCourseTipsView.h"
 
+#import "HomeLiveCourseView.h"
+#import "HomeVideoCourseView.h"
+
 #import "HomeLiveCouseCell.h"
 #import "HomeLiveGroupModel.h"
 #import "HomeVideoCourseCell.h"
@@ -49,6 +51,7 @@
 #import "KSNewsAlert.h"
 #import "RecentCourseModel.h"
 #import "AccompanyDetailViewController.h"
+#import "KSOrderManager.h"
 
 #define BUTTONWIDTH (65)
 #define BUTTONHEIGHT (80)
@@ -85,13 +88,15 @@
 @property (nonatomic, strong) UICollectionView *albumCollectionView; // 专辑容器
 @property (nonatomic, assign) CGFloat albumViewHeight; // album 高度
 
-@property (nonatomic, strong) HomeHotCourseView *courseView; // course container
-@property (nonatomic, strong) UIScrollView *courseScroll;    // 课程scroll
+@property (nonatomic, strong) HomeLiveCourseView *liveView;
+@property (nonatomic, strong) HomeVideoCourseView *videoView;
 @property (nonatomic, strong) UITableView *liveCourseTable;  // 直播课table
 @property (nonatomic, strong) UITableView *videoCourseTable; // 视频课table
+
 @property (nonatomic, strong) NSMutableArray *videoCourseArray;
 @property (nonatomic, strong) NSMutableArray *liveCourseArray;
-@property (nonatomic, assign) CGFloat courseViewHeight;
+@property (nonatomic, assign) CGFloat liveViewHeight;
+@property (nonatomic, assign) CGFloat videoViewHeight;
 
 @property (nonatomic, strong) HomeIntroduceView *teacherView; // teacher container
 @property (nonatomic, strong) UICollectionView *infoCollectionView; // 老师风采简介
@@ -147,7 +152,6 @@
             NSArray *countArray = [dic arrayValueForKey:@"data"];
             NSInteger courseCount = 0;
             NSInteger sysCount = 0;
-            NSInteger noticeCount = 0;
             for (NSDictionary *parm in countArray) {
                 if ([[parm stringValueForKey:@"key"] isEqualToString:@"COURSE"]) {
                     courseCount = [parm integerValueForKey:@"value"];
@@ -155,11 +159,8 @@
                 if ([[parm stringValueForKey:@"key"] isEqualToString:@"SYSTEM"]) {
                     sysCount = [parm integerValueForKey:@"value"];
                 }
-                if ([[parm stringValueForKey:@"key"] isEqualToString:@"NOTICE"]) {
-                    noticeCount = [parm integerValueForKey:@"value"];
-                }
             }
-            if (courseCount != 0 || sysCount != 0 || noticeCount != 0) {
+            if (courseCount != 0 || sysCount != 0) {
                 self.navView.dotView.hidden = NO;
             }
             else {
@@ -248,28 +249,25 @@
     }];
     tableHeaderHeight += self.albumViewHeight;
     
-    // 课
-    [self.tableHeaderView addSubview:self.courseView];
-    self.courseViewHeight = [self.courseView getViewHeightWithCount:10];
-    [self.courseView mas_makeConstraints:^(MASConstraintMaker *make) {
+    // 直播
+    [self.tableHeaderView addSubview:self.liveView];
+    self.liveViewHeight = [self.liveView getViewHeightWithCount:10];
+    [self.liveView mas_makeConstraints:^(MASConstraintMaker *make) {
         make.left.right.mas_equalTo(self.tableHeaderView);
         make.top.mas_equalTo(self.albumView.mas_bottom);
-        make.height.mas_equalTo(self.courseViewHeight);
-    }];
-    self.courseScroll.contentSize = CGSizeMake(KPortraitWidth * 2, self.courseViewHeight - 59);
-    [self.courseScroll addSubview:self.liveCourseTable];
-    [self.liveCourseTable mas_makeConstraints:^(MASConstraintMaker *make) {
-        make.left.mas_equalTo(self.courseScroll);
-        make.top.bottom.mas_equalTo(self.courseView.courseContainer);
-        make.width.mas_equalTo(KPortraitWidth);
+        make.height.mas_equalTo(self.liveViewHeight);
     }];
-    [self.courseScroll addSubview:self.videoCourseTable];
-    [self.videoCourseTable mas_makeConstraints:^(MASConstraintMaker *make) {
-        make.left.mas_equalTo(_courseScroll.mas_left).offset(KPortraitWidth);
-        make.top.bottom.mas_equalTo(self.courseView.courseContainer);
-        make.width.mas_equalTo(KPortraitWidth);
+    tableHeaderHeight += self.liveViewHeight;
+    
+    // 视频课
+    [self.tableHeaderView addSubview:self.videoView];
+    self.videoViewHeight = [self.videoView getViewHeightWithCount:10];
+    [self.videoView mas_makeConstraints:^(MASConstraintMaker *make) {
+        make.left.right.mas_equalTo(self.tableHeaderView);
+        make.top.mas_equalTo(self.liveView.mas_bottom);
+        make.height.mas_equalTo(self.videoViewHeight);
     }];
-    tableHeaderHeight += self.courseViewHeight;
+    tableHeaderHeight += self.videoViewHeight;
     
     // 老师风采
     [self.tableHeaderView addSubview:self.teacherView];
@@ -277,7 +275,7 @@
     
     [self.teacherView mas_makeConstraints:^(MASConstraintMaker *make) {
         make.left.right.mas_equalTo(self.tableHeaderView);
-        make.top.mas_equalTo(self.courseView.mas_bottom);
+        make.top.mas_equalTo(self.videoView.mas_bottom);
         make.height.mas_equalTo(self.teachViewHeight);
     }];
     tableHeaderHeight += self.teachViewHeight;
@@ -295,7 +293,7 @@
 }
 
 - (void)refreshTableHeadHeight {
-    CGFloat tableHeaderHeight = self.bannerViewHeight + self.buttonViewHeight + self.tipsViewHeight + self.albumViewHeight + self.courseViewHeight + self.teachViewHeight + self.informationHeight;
+    CGFloat tableHeaderHeight = self.bannerViewHeight + self.buttonViewHeight + self.tipsViewHeight + self.albumViewHeight + self.liveViewHeight + self.videoViewHeight + self.teachViewHeight + self.informationHeight;
     self.tableHeaderView.frame = CGRectMake(0, 0, KPortraitWidth, tableHeaderHeight);
     [self.tableView reloadData];
 }
@@ -394,11 +392,10 @@
 }
 
 - (void)requestCourseInfo {
-    NSLog(@"-----1");
-    [self showhud];
+    
+//    [self showhud];
     [KSNetworkingManager homeQueryLiveAndVideo:KS_GET success:^(NSDictionary * _Nonnull dic) {
-        [self removehub];
-        NSLog(@"-----2");
+//        [self removehub];
         [self.tableView.mj_header endRefreshing];
         if ([dic integerValueForKey:@"code"] == 200 && [dic boolValueForKey:@"status"]) {
             NSDictionary *sourceDic = [dic dictionaryValueForKey:@"data"];
@@ -459,18 +456,27 @@
 
 - (void)refreshCourseView {
     // 课程
-    if (self.liveCourseArray.count && self.videoCourseArray.count) {
-        self.courseCount = self.liveCourseArray.count >= self.videoCourseArray.count ? self.videoCourseArray.count : self.liveCourseArray.count;
-        // 根据课程返回数据显示高度
-        self.courseViewHeight = [self.courseView getViewHeightWithCount:self.courseCount];
-        self.courseView.hidden = NO;
+    if (self.liveCourseArray.count) {
+        self.liveViewHeight = [self.liveView getViewHeightWithCount:self.liveCourseArray.count];
+        self.liveView.hidden = NO;
     }
     else {
-        self.courseViewHeight = CGFLOAT_MIN;
-        self.courseView.hidden = YES;
+        self.liveViewHeight = CGFLOAT_MIN;
+        self.liveView.hidden = YES;
     }
-    [self.courseView mas_updateConstraints:^(MASConstraintMaker *make) {
-        make.height.mas_equalTo(self.courseViewHeight);
+    [self.liveView mas_updateConstraints:^(MASConstraintMaker *make) {
+        make.height.mas_equalTo(self.liveViewHeight);
+    }];
+    if (self.videoCourseArray.count) {
+        self.videoViewHeight = [self.videoView getViewHeightWithCount:self.videoCourseArray.count];
+        self.videoView.hidden = NO;
+    }
+    else {
+        self.videoViewHeight = CGFLOAT_MIN;
+        self.videoView.hidden = YES;
+    }
+    [self.videoView mas_updateConstraints:^(MASConstraintMaker *make) {
+        make.height.mas_equalTo(self.videoViewHeight);
     }];
     
     [self.liveCourseTable reloadData];
@@ -657,10 +663,10 @@
         return self.dataArray.count;
     }
     else if (tableView == self.liveCourseTable) {  // 直播课列表
-        return self.courseCount;
+        return self.liveCourseArray.count;
     }
     else { // 视频课列表
-        return self.courseCount;
+        return self.videoCourseArray.count;
     }
 }
 
@@ -803,9 +809,6 @@
             self.buttonContainer.buttonDotLeft.constant = index * self.buttonDotWidth;
         }];
     }
-    else if (scrollView == self.courseScroll) {
-        
-    }
 }
     
 
@@ -918,31 +921,46 @@
 }
 
 #pragma mark ------ 推荐课程
-- (HomeHotCourseView *)courseView {
-    if (!_courseView) {
-        _courseView = [HomeHotCourseView shareInstance];
+- (HomeLiveCourseView *)liveView {
+    if (!_liveView) {
+        _liveView = [HomeLiveCourseView shareInstance];
         MJWeakSelf;
-        [_courseView courseActionCallback:^(COURSE_ACTION action) {
-            [weakSelf homeCourseChooseAction:action];
+        [_liveView hotLiveMore:^{
+            [weakSelf toLiveMorePage];
         }];
-        [_courseView.courseContainer addSubview:self.courseScroll];
-        [self.courseScroll mas_makeConstraints:^(MASConstraintMaker *make) {
-            make.left.right.bottom.top.mas_equalTo(_courseView.courseContainer);
+        [_liveView addSubview:self.liveCourseTable];
+        [self.liveCourseTable mas_makeConstraints:^(MASConstraintMaker *make) {
+            make.left.right.bottom.top.mas_equalTo(_liveView.liveContainer);
         }];
     }
-    return _courseView;
+    return _liveView;
+}
+// 更多直播
+- (void)toLiveMorePage {
+    KSBaseWKWebViewController *ctrl = [[KSBaseWKWebViewController alloc] init];
+    ctrl.url = [NSString stringWithFormat:@"%@%@", WEBHOST, @"/#/liveClass"];
+    [self.navigationController pushViewController:ctrl animated:YES];
 }
 
-- (UIScrollView *)courseScroll {
-    if (!_courseScroll) {
-        _courseScroll = [[UIScrollView alloc] initWithFrame:CGRectZero];
-        _courseScroll.pagingEnabled = YES;
-        _courseScroll.scrollEnabled = NO;
-        _courseScroll.showsHorizontalScrollIndicator = NO;
-        _courseScroll.showsVerticalScrollIndicator = NO;
-        _courseScroll.delegate = self;
+- (HomeVideoCourseView *)videoView {
+    if (!_videoView) {
+        _videoView = [HomeVideoCourseView shareInstance];
+        MJWeakSelf;
+        [_videoView moreHotVideo:^{
+            [weakSelf toLiveMorePage];
+        }];
+        [_videoView addSubview:self.videoCourseTable];
+        [self.videoCourseTable mas_makeConstraints:^(MASConstraintMaker *make) {
+            make.left.right.bottom.top.mas_equalTo(_videoView.videoContainer);
+        }];
     }
-    return _courseScroll;
+    return _videoView;
+}
+
+- (void)toVideoMorePage {
+    KSBaseWKWebViewController *ctrl = [[KSBaseWKWebViewController alloc] init];
+    ctrl.url = [NSString stringWithFormat:@"%@%@", WEBHOST, @"/#/videoClass"];
+    [self.navigationController pushViewController:ctrl animated:YES];
 }
 
 - (UITableView *)liveCourseTable {
@@ -975,56 +993,6 @@
     return _videoCourseTable;
 }
 
-- (void)homeCourseChooseAction:(COURSE_ACTION)action {
-    switch (action) {
-        case COURSE_ACTION_LIVE:
-        {
-            if (self.isChooseLive == YES) {
-                return;
-            }
-            self.isChooseLive = YES;
-        }
-            break;
-        case COURSE_ACTION_VIDEO:
-        {
-            if (self.isChooseLive == NO) {
-                return;
-            }
-            self.isChooseLive = NO;
-        }
-            break;
-        case COURSE_ACTION_MORE: // 更多
-        {
-            NSString *url = @"";
-            if (self.isChooseLive) { // 直播课 列表
-                url = [NSString stringWithFormat:@"%@%@", WEBHOST, @"/#/liveClass"];
-            }
-            else { // 视频课列表
-                url = [NSString stringWithFormat:@"%@%@", WEBHOST, @"/#/videoClass"];
-            }
-            KSBaseWKWebViewController *ctrl = [[KSBaseWKWebViewController alloc] init];
-            ctrl.url = url;
-            [self.navigationController pushViewController:ctrl animated:YES];
-        }
-            break;
-        default:
-            break;
-    }
-}
-
-- (void)setIsChooseLive:(BOOL)isChooseLive {
-    _isChooseLive = isChooseLive;
-    // 切换
-    [UIView animateWithDuration:0.3f animations:^{
-        if (isChooseLive) {
-            [self.courseScroll setContentOffset:CGPointZero animated:YES];
-        }
-        else {
-            [self.courseScroll setContentOffset:CGPointMake(KPortraitWidth, 0) animated:YES];
-        }
-    }];
-}
-
 #pragma mark --- 老师风采
 - (HomeIntroduceView *)teacherView {
     if (!_teacherView) {
@@ -1170,6 +1138,8 @@
         [self showInstrumentView:NO];
     }
     else { // 消息中心
+//        [KSOrderManager dealWithAliSDK:@"alipay_sdk=alipay-sdk-java-dynamicVersionNo&app_id=2021000119694065&biz_content=%7B%22out_trade_no%22%3A%2222052519503900001%22%2C%22total_amount%22%3A%220.01%22%2C%22subject%22%3A%22VIP%E6%9C%88%E5%8D%A1%E8%B4%AD%E4%B9%B0%22%2C%22goods_detail%22%3A%5B%7B%22goods_name%22%3A%22VIP%E6%9C%88%E5%8D%A1%E8%B4%AD%E4%B9%B0%22%2C%22quantity%22%3A1%2C%22price%22%3A%220.01%22%2C%22goods_id%22%3A%22446%22%7D%5D%2C%22merchant_order_no%22%3A%2222052519495600001%22%7D&charset=UTF-8&format=json&method=alipay.trade.app.pay&notify_url=http%3A%2F%2F47.114.1.200%3A8000%2Fapi-student%2Fpayment%2Fcallback%2FORIGINAL%2Fali_app%2FexecutePayment&sign=QdyUZnRs%2BY5HLzJbx42aXQHtg7zk1RCx609Fz%2F5tyjBrUP6lTkpfw5o4gZNRgveZGUTf8007m2jiCrRn%2BMOubJyIBW6pVVyTmQ8FbmnZa0bvHrNLh4yNRehEL2fIn40zMgosiQE2YibfZN9v5IGbHFT56O4KFBCeb1jzrPDlEaCBRealKEclYFMPKm9JSZ0roEB84gq6n9nHQP%2BlY%2FIkpjtcD1LWdBb1YSAHvrZpX%2F%2FX71seqzTPJhx8Kik9aGiMptfcursaenYHtV8UMiNiU1Vv7BoLsUM5Q31p0bDfWYogaDHMatPUKoP6x20S%2BRrJzZbSORA5xG6Qnrafnu2OLw%3D%3D&sign_type=RSA2&timestamp=2022-05-25+19%3A50%3A39&version=1.0"];
+        
         NotiferMessageViewController *ctrl = [[NotiferMessageViewController alloc] init];
         [self.navigationController pushViewController:ctrl animated:YES];
     }

+ 11 - 15
KulexiuForStudent/KulexiuForStudent/Module/Home/NoticeCenter/Controller/NotiferMessageViewController.m

@@ -11,7 +11,6 @@
 #import "NotiferMessageModel.h"
 #import "KSBaseWKWebViewController.h"
 #import "CustomNavViewController.h"
-//#import "ReceiveEvaluateListController.h"
 #import "HomeworkDetailViewController.h"
 #import "UIButton+EnlargeEdge.h"
 
@@ -23,6 +22,8 @@
 
 @property (nonatomic, strong) NSString *groupType;
 
+@property (nonatomic, assign) BOOL hasUnreadCount;
+
 @end
 
 @implementation NotiferMessageViewController
@@ -33,6 +34,7 @@
     [self allocTitle:@"消息盒子"];
     [self configRightButton];
     [self configUI];
+    self.hasUnreadCount = NO;
 }
 
 - (void)viewWillAppear:(BOOL)animated {
@@ -59,6 +61,9 @@
 }
 
 - (void)rightBtnClick {
+    if (self.hasUnreadCount == NO) {
+        return;
+    }
     [KSNetworkingManager batchSetReadRequest:KS_POST success:^(NSDictionary * _Nonnull dic) {
         if ([dic integerValueForKey:@"code"] == 200 && [dic boolValueForKey:@"status"]) {
             [self MBPShow:@"清除成功"];
@@ -113,7 +118,6 @@
             NSArray *countArray = [dic arrayValueForKey:@"data"];
             NSInteger courseCount = 0;
             NSInteger sysCount = 0;
-            NSInteger noticeCount = 0;
             for (NSDictionary *parm in countArray) {
                 if ([[parm stringValueForKey:@"key"] isEqualToString:@"COURSE"]) {
                     courseCount = [parm integerValueForKey:@"value"];
@@ -121,12 +125,11 @@
                 if ([[parm stringValueForKey:@"key"] isEqualToString:@"SYSTEM"]) {
                     sysCount = [parm integerValueForKey:@"value"];
                 }
-                if ([[parm stringValueForKey:@"key"] isEqualToString:@"NOTICE"]) {
-                    noticeCount = [parm integerValueForKey:@"value"];
-                }
             }
-            
-            [self.headView configUnreadCountCourse:courseCount sysMessage:sysCount noticeCount:noticeCount];
+            if (courseCount > 0 || sysCount > 0) {
+                self.hasUnreadCount = YES;
+            }
+            [self.headView configUnreadCountCourse:courseCount sysMessage:sysCount];
         }
         else {
             [self MBPShow:MESSAGEKEY];
@@ -206,7 +209,6 @@
     }
     else {
         // 跳转页面
-        model.memo = @"H5?http://dev.colexiu.com/student/#/videoDetail?groupId=59";
         [self toDetailViewWithTypeString:model.memo];
     }
 }
@@ -234,8 +236,7 @@
             [self toCourseTable];
         }
         else if ([headStr isEqualToString:@"evaluate"]) { // 评价页面
-//            ReceiveEvaluateListController *ctrl = [[ReceiveEvaluateListController alloc] init];
-//            [self.navigationController pushViewController:ctrl animated:YES];
+
         }
         else if ([headStr isEqualToString:@"H5"]) { // web
             NSString *valueStr = [[memo componentsSeparatedByString:@"H5?"] lastObject];
@@ -294,11 +295,6 @@
             self.groupType = @"SYSTEM";
         }
             break;
-        case NOTIFER_TYPE_NOTICE:
-        {
-            self.groupType = @"NOTICE";
-        }
-            break;
         default:
             break;
     }

+ 1 - 0
KulexiuForStudent/KulexiuForStudent/Module/Home/NoticeCenter/Model/NotiferMessageModel.h

@@ -26,6 +26,7 @@
 @property (nonatomic, strong) NSString *group;
 @property (nonatomic, assign) double readStatus;
 @property (nonatomic, strong) NSString *status;
+@property (nonatomic, strong) NSString *subType;
 
 + (instancetype)modelObjectWithDictionary:(NSDictionary *)dict;
 - (instancetype)initWithDictionary:(NSDictionary *)dict;

+ 7 - 3
KulexiuForStudent/KulexiuForStudent/Module/Home/NoticeCenter/Model/NotiferMessageModel.m

@@ -23,7 +23,7 @@ NSString *const kNotiferMessageModelUserId = @"userId";
 NSString *const kNotiferMessageModelGroup = @"group";
 NSString *const kNotiferMessageModelReadStatus = @"readStatus";
 NSString *const kNotiferMessageModelStatus = @"status";
-
+NSString *const kNotiferMessageModelSubType = @"subType";
 
 @interface NotiferMessageModel ()
 
@@ -48,7 +48,7 @@ NSString *const kNotiferMessageModelStatus = @"status";
 @synthesize group = _group;
 @synthesize readStatus = _readStatus;
 @synthesize status = _status;
-
+@synthesize subType = _subType;
 
 + (instancetype)modelObjectWithDictionary:(NSDictionary *)dict
 {
@@ -77,7 +77,7 @@ NSString *const kNotiferMessageModelStatus = @"status";
             self.group = [self objectOrNilForKey:kNotiferMessageModelGroup fromDictionary:dict];
             self.readStatus = [[self objectOrNilForKey:kNotiferMessageModelReadStatus fromDictionary:dict] doubleValue];
             self.status = [self objectOrNilForKey:kNotiferMessageModelStatus fromDictionary:dict];
-
+        self.subType = [self objectOrNilForKey:kNotiferMessageModelSubType fromDictionary:dict];
     }
     
     return self;
@@ -102,6 +102,7 @@ NSString *const kNotiferMessageModelStatus = @"status";
     [mutableDict setValue:self.group forKey:kNotiferMessageModelGroup];
     [mutableDict setValue:[NSNumber numberWithDouble:self.readStatus] forKey:kNotiferMessageModelReadStatus];
     [mutableDict setValue:self.status forKey:kNotiferMessageModelStatus];
+    [mutableDict setValue:self.subType forKey:kNotiferMessageModelSubType];
 
     return [NSDictionary dictionaryWithDictionary:mutableDict];
 }
@@ -144,6 +145,7 @@ NSString *const kNotiferMessageModelStatus = @"status";
     self.group = [aDecoder decodeObjectForKey:kNotiferMessageModelGroup];
     self.readStatus = [aDecoder decodeDoubleForKey:kNotiferMessageModelReadStatus];
     self.status = [aDecoder decodeObjectForKey:kNotiferMessageModelStatus];
+    self.subType = [aDecoder decodeObjectForKey:kNotiferMessageModelSubType];
     return self;
 }
 
@@ -165,6 +167,7 @@ NSString *const kNotiferMessageModelStatus = @"status";
     [aCoder encodeObject:_group forKey:kNotiferMessageModelGroup];
     [aCoder encodeDouble:_readStatus forKey:kNotiferMessageModelReadStatus];
     [aCoder encodeObject:_status forKey:kNotiferMessageModelStatus];
+    [aCoder encodeObject:_subType forKey:kNotiferMessageModelSubType];
 }
 
 - (id)copyWithZone:(NSZone *)zone
@@ -188,6 +191,7 @@ NSString *const kNotiferMessageModelStatus = @"status";
         copy.group = [self.group copyWithZone:zone];
         copy.readStatus = self.readStatus;
         copy.status = [self.status copyWithZone:zone];
+        copy.subType = [self.subType copyWithZone:zone];
     }
     
     return copy;

+ 1 - 2
KulexiuForStudent/KulexiuForStudent/Module/Home/NoticeCenter/View/NotiferHeadView.h

@@ -11,7 +11,6 @@ typedef NS_ENUM(NSInteger, NOTIFER_TYPE) {
     NOTIFER_TYPE_ALL,
     NOTIFER_TYPE_COURSE,
     NOTIFER_TYPE_SYSMSG,
-    NOTIFER_TYPE_NOTICE,
 };
 
 typedef void(^NotiferChooseAction)(NOTIFER_TYPE type);
@@ -23,7 +22,7 @@ NS_ASSUME_NONNULL_BEGIN
 
 + (instancetype)shareIntance;
 
-- (void)configUnreadCountCourse:(NSInteger)courseCount sysMessage:(NSInteger)sysMessageCount noticeCount:(NSInteger)noticeCount;
+- (void)configUnreadCountCourse:(NSInteger)courseCount sysMessage:(NSInteger)sysMessageCount;
 
 - (void)chooseTypeCallback:(NotiferChooseAction)callback;
 

+ 3 - 38
KulexiuForStudent/KulexiuForStudent/Module/Home/NoticeCenter/View/NotiferHeadView.m

@@ -21,9 +21,7 @@
 
 @property (weak, nonatomic) IBOutlet UILabel *systemLabel;
 
-@property (weak, nonatomic) IBOutlet UIView *noticeView;
 
-@property (weak, nonatomic) IBOutlet UILabel *noticeLabel;
 
 @property (nonatomic, assign) NOTIFER_TYPE type;
 
@@ -32,7 +30,6 @@
 @property (weak, nonatomic) IBOutlet UILabel *allCountLabel;
 @property (weak, nonatomic) IBOutlet UILabel *courseCountLabel;
 @property (weak, nonatomic) IBOutlet UILabel *systemCountLabel;
-@property (weak, nonatomic) IBOutlet UILabel *noticeCountLabel;
 
 @end
 
@@ -44,7 +41,7 @@
 
 - (void)configDefault {
     self.type = NOTIFER_TYPE_ALL;
-    [self configUnreadCountCourse:0 sysMessage:0 noticeCount:0];
+    [self configUnreadCountCourse:0 sysMessage:0];
 }
 
 + (instancetype)shareIntance {
@@ -58,8 +55,8 @@
     }
 }
 
-- (void)configUnreadCountCourse:(NSInteger)courseCount sysMessage:(NSInteger)sysMessageCount noticeCount:(NSInteger)noticeCount {
-    NSInteger allCount = courseCount + sysMessageCount + noticeCount;
+- (void)configUnreadCountCourse:(NSInteger)courseCount sysMessage:(NSInteger)sysMessageCount {
+    NSInteger allCount = courseCount + sysMessageCount;
     // 全部
     if (allCount <= 0) {
         self.allView.hidden = YES;
@@ -107,21 +104,6 @@
         self.systemCountLabel.text = countString;
     }
     
-    // 公共
-    if (noticeCount == 0) {
-        self.noticeView.hidden = YES;
-    }
-    else {
-        self.noticeView.hidden = NO;
-        NSString *countString = @"";
-        if (noticeCount > 99) {
-            countString = @"99+";
-        }
-        else {
-            countString = [NSString stringWithFormat:@"%zd",noticeCount];
-        }
-        self.noticeCountLabel.text = countString;
-    }
 }
 
 
@@ -146,12 +128,6 @@
     }
 }
 
-- (IBAction)chooseNotice:(id)sender {
-    self.type = NOTIFER_TYPE_NOTICE;
-    if (self.callback) {
-        self.callback(self.type);
-    }
-}
 
 - (void)setType:(NOTIFER_TYPE)type {
     _type = type;
@@ -161,7 +137,6 @@
             self.allLabel.textColor = HexRGB(0x3333333);
             self.courseLabel.textColor = HexRGB(0x999999);
             self.systemLabel.textColor = HexRGB(0x999999);
-            self.noticeLabel.textColor = HexRGB(0x999999);
         }
             break;
         case NOTIFER_TYPE_COURSE:
@@ -169,7 +144,6 @@
             self.allLabel.textColor = HexRGB(0x999999);
             self.courseLabel.textColor = HexRGB(0x3333333);
             self.systemLabel.textColor = HexRGB(0x999999);
-            self.noticeLabel.textColor = HexRGB(0x999999);
         }
             break;
         case NOTIFER_TYPE_SYSMSG:
@@ -177,15 +151,6 @@
             self.allLabel.textColor = HexRGB(0x999999);
             self.courseLabel.textColor = HexRGB(0x999999);
             self.systemLabel.textColor = HexRGB(0x3333333);
-            self.noticeLabel.textColor = HexRGB(0x999999);
-        }
-            break;
-        case NOTIFER_TYPE_NOTICE:
-        {
-            self.allLabel.textColor = HexRGB(0x999999);
-            self.courseLabel.textColor = HexRGB(0x999999);
-            self.systemLabel.textColor = HexRGB(0x999999);
-            self.noticeLabel.textColor = HexRGB(0x3333333);
         }
             break;
         default:

+ 17 - 93
KulexiuForStudent/KulexiuForStudent/Module/Home/NoticeCenter/View/NotiferHeadView.xib

@@ -17,23 +17,23 @@
                     <rect key="frame" x="0.0" y="0.0" width="375" height="100"/>
                     <subviews>
                         <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Pkz-EP-p4Q">
-                            <rect key="frame" x="27" y="0.0" width="80.5" height="100"/>
+                            <rect key="frame" x="0.0" y="0.0" width="125" height="100"/>
                             <subviews>
                                 <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="message_all" translatesAutoresizingMaskIntoConstraints="NO" id="N8l-kR-aoj">
-                                    <rect key="frame" x="12" y="22" width="56" height="56"/>
+                                    <rect key="frame" x="34.5" y="22" width="56" height="56"/>
                                     <constraints>
                                         <constraint firstAttribute="height" constant="56" id="3Wd-gG-xg9"/>
                                         <constraint firstAttribute="width" constant="56" id="E7d-pn-3mD"/>
                                     </constraints>
                                 </imageView>
                                 <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="全部" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Aal-ZD-MlT">
-                                    <rect key="frame" x="27.5" y="79" width="25" height="14.5"/>
+                                    <rect key="frame" x="50" y="79" width="25" height="14.5"/>
                                     <fontDescription key="fontDescription" type="system" weight="medium" pointSize="12"/>
                                     <color key="textColor" red="0.20000000000000001" green="0.20000000000000001" blue="0.20000000000000001" alpha="1" colorSpace="calibratedRGB"/>
                                     <nil key="highlightedColor"/>
                                 </label>
                                 <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="TI9-h7-JQo">
-                                    <rect key="frame" x="47" y="54" width="21" height="14"/>
+                                    <rect key="frame" x="69.5" y="54" width="21" height="14"/>
                                     <subviews>
                                         <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="19" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="e5M-E8-SSs">
                                             <rect key="frame" x="4" y="0.0" width="13" height="14"/>
@@ -63,7 +63,7 @@
                                     </userDefinedRuntimeAttributes>
                                 </view>
                                 <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Hxb-AV-79g">
-                                    <rect key="frame" x="12" y="22" width="56" height="71.5"/>
+                                    <rect key="frame" x="34.5" y="22" width="56" height="71.5"/>
                                     <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
                                     <connections>
                                         <action selector="chooseAll:" destination="iN0-l3-epB" eventType="touchUpInside" id="gxr-MQ-ykS"/>
@@ -85,23 +85,23 @@
                             </constraints>
                         </view>
                         <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="kR0-tA-2uF">
-                            <rect key="frame" x="107.5" y="0.0" width="80" height="100"/>
+                            <rect key="frame" x="125" y="0.0" width="125" height="100"/>
                             <subviews>
                                 <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="message_course" translatesAutoresizingMaskIntoConstraints="NO" id="8Z5-lf-RVU">
-                                    <rect key="frame" x="12" y="22" width="56" height="56"/>
+                                    <rect key="frame" x="34.5" y="22" width="56" height="56"/>
                                     <constraints>
                                         <constraint firstAttribute="width" constant="56" id="bfW-hq-s3W"/>
                                         <constraint firstAttribute="height" constant="56" id="yLb-Jd-Kfp"/>
                                     </constraints>
                                 </imageView>
                                 <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="课程信息" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="8Ql-22-T6t">
-                                    <rect key="frame" x="15" y="79" width="49.5" height="14.5"/>
+                                    <rect key="frame" x="38" y="79" width="49.5" height="14.5"/>
                                     <fontDescription key="fontDescription" type="system" weight="medium" pointSize="12"/>
                                     <color key="textColor" red="0.59999999999999998" green="0.59999999999999998" blue="0.59999999999999998" alpha="1" colorSpace="calibratedRGB"/>
                                     <nil key="highlightedColor"/>
                                 </label>
                                 <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="oMw-71-EQZ">
-                                    <rect key="frame" x="47" y="54" width="21" height="14"/>
+                                    <rect key="frame" x="69.5" y="54" width="21" height="14"/>
                                     <subviews>
                                         <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="19" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="0Ev-de-Era">
                                             <rect key="frame" x="4" y="0.0" width="13" height="14"/>
@@ -131,7 +131,7 @@
                                     </userDefinedRuntimeAttributes>
                                 </view>
                                 <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="XuM-Lg-sm7">
-                                    <rect key="frame" x="12" y="22" width="56" height="71.5"/>
+                                    <rect key="frame" x="34.5" y="22" width="56" height="71.5"/>
                                     <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
                                     <connections>
                                         <action selector="chooseCourse:" destination="iN0-l3-epB" eventType="touchUpInside" id="bWc-aR-VJd"/>
@@ -153,23 +153,23 @@
                             </constraints>
                         </view>
                         <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="QCV-gH-UT2">
-                            <rect key="frame" x="187.5" y="0.0" width="80.5" height="100"/>
+                            <rect key="frame" x="250" y="0.0" width="125" height="100"/>
                             <subviews>
                                 <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="message_system" translatesAutoresizingMaskIntoConstraints="NO" id="ALm-DM-xIP">
-                                    <rect key="frame" x="12" y="22" width="56" height="56"/>
+                                    <rect key="frame" x="34.5" y="22" width="56" height="56"/>
                                     <constraints>
                                         <constraint firstAttribute="width" constant="56" id="Av4-mU-hXq"/>
                                         <constraint firstAttribute="height" constant="56" id="gta-F5-xNK"/>
                                     </constraints>
                                 </imageView>
                                 <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="系统消息" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="ZT2-JL-dMl">
-                                    <rect key="frame" x="15.5" y="79" width="49.5" height="14.5"/>
+                                    <rect key="frame" x="38" y="79" width="49.5" height="14.5"/>
                                     <fontDescription key="fontDescription" type="system" weight="medium" pointSize="12"/>
                                     <color key="textColor" red="0.59999999999999998" green="0.59999999999999998" blue="0.59999999999999998" alpha="1" colorSpace="calibratedRGB"/>
                                     <nil key="highlightedColor"/>
                                 </label>
                                 <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="PnS-8p-3Z9">
-                                    <rect key="frame" x="47" y="54" width="21" height="14"/>
+                                    <rect key="frame" x="69.5" y="54" width="21" height="14"/>
                                     <subviews>
                                         <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="19" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="43u-at-Vor">
                                             <rect key="frame" x="4" y="0.0" width="13" height="14"/>
@@ -199,7 +199,7 @@
                                     </userDefinedRuntimeAttributes>
                                 </view>
                                 <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="03g-eS-bHv">
-                                    <rect key="frame" x="12" y="22" width="56" height="71.5"/>
+                                    <rect key="frame" x="34.5" y="22" width="56" height="71.5"/>
                                     <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
                                     <connections>
                                         <action selector="chooseSystem:" destination="iN0-l3-epB" eventType="touchUpInside" id="baU-me-4pJ"/>
@@ -220,74 +220,6 @@
                                 <constraint firstItem="ZT2-JL-dMl" firstAttribute="bottom" secondItem="03g-eS-bHv" secondAttribute="bottom" id="voU-Gi-fym"/>
                             </constraints>
                         </view>
-                        <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="fQd-6C-OHk">
-                            <rect key="frame" x="268" y="0.0" width="80" height="100"/>
-                            <subviews>
-                                <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="message_notice" translatesAutoresizingMaskIntoConstraints="NO" id="pZt-Oo-gp5">
-                                    <rect key="frame" x="12" y="22" width="56" height="56"/>
-                                    <constraints>
-                                        <constraint firstAttribute="height" constant="56" id="Kv2-rZ-mvB"/>
-                                        <constraint firstAttribute="width" constant="56" id="PgP-KG-Z5c"/>
-                                    </constraints>
-                                </imageView>
-                                <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="公告" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="HPj-WQ-UEe">
-                                    <rect key="frame" x="27.5" y="79" width="25" height="14.5"/>
-                                    <fontDescription key="fontDescription" type="system" weight="medium" pointSize="12"/>
-                                    <color key="textColor" red="0.59999999999999998" green="0.59999999999999998" blue="0.59999999999999998" alpha="1" colorSpace="calibratedRGB"/>
-                                    <nil key="highlightedColor"/>
-                                </label>
-                                <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="HFT-lc-XxE">
-                                    <rect key="frame" x="47" y="54" width="21" height="14"/>
-                                    <subviews>
-                                        <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="19" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="eSf-NN-z0H">
-                                            <rect key="frame" x="4" y="0.0" width="13" height="14"/>
-                                            <fontDescription key="fontDescription" type="system" weight="medium" pointSize="11"/>
-                                            <color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
-                                            <nil key="highlightedColor"/>
-                                        </label>
-                                    </subviews>
-                                    <color key="backgroundColor" red="1" green="0.074509803920000006" blue="0.074509803920000006" alpha="1" colorSpace="calibratedRGB"/>
-                                    <constraints>
-                                        <constraint firstAttribute="bottom" secondItem="eSf-NN-z0H" secondAttribute="bottom" id="Ao6-V2-K7x"/>
-                                        <constraint firstAttribute="trailing" secondItem="eSf-NN-z0H" secondAttribute="trailing" constant="4" id="P8c-bz-7La"/>
-                                        <constraint firstItem="eSf-NN-z0H" firstAttribute="top" secondItem="HFT-lc-XxE" secondAttribute="top" id="g29-vT-Syl"/>
-                                        <constraint firstItem="eSf-NN-z0H" firstAttribute="leading" secondItem="HFT-lc-XxE" secondAttribute="leading" constant="4" id="lcq-U7-od2"/>
-                                        <constraint firstAttribute="height" constant="14" id="nVm-N4-ebc"/>
-                                    </constraints>
-                                    <userDefinedRuntimeAttributes>
-                                        <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
-                                            <real key="value" value="7"/>
-                                        </userDefinedRuntimeAttribute>
-                                        <userDefinedRuntimeAttribute type="color" keyPath="borderColor">
-                                            <color key="value" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
-                                        </userDefinedRuntimeAttribute>
-                                        <userDefinedRuntimeAttribute type="number" keyPath="borderWidth">
-                                            <real key="value" value="1"/>
-                                        </userDefinedRuntimeAttribute>
-                                    </userDefinedRuntimeAttributes>
-                                </view>
-                                <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="gMB-qb-caO">
-                                    <rect key="frame" x="12" y="22" width="56" height="71.5"/>
-                                    <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
-                                    <connections>
-                                        <action selector="chooseNotice:" destination="iN0-l3-epB" eventType="touchUpInside" id="NbI-SQ-tv4"/>
-                                    </connections>
-                                </button>
-                            </subviews>
-                            <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
-                            <constraints>
-                                <constraint firstItem="pZt-Oo-gp5" firstAttribute="trailing" secondItem="gMB-qb-caO" secondAttribute="trailing" id="04x-KE-Efe"/>
-                                <constraint firstItem="HFT-lc-XxE" firstAttribute="trailing" secondItem="pZt-Oo-gp5" secondAttribute="trailing" id="1Ki-Zu-wQ9"/>
-                                <constraint firstItem="pZt-Oo-gp5" firstAttribute="centerY" secondItem="fQd-6C-OHk" secondAttribute="centerY" id="6Uc-tu-c8E"/>
-                                <constraint firstItem="pZt-Oo-gp5" firstAttribute="centerX" secondItem="fQd-6C-OHk" secondAttribute="centerX" id="DGp-cN-87P"/>
-                                <constraint firstItem="HFT-lc-XxE" firstAttribute="bottom" secondItem="pZt-Oo-gp5" secondAttribute="bottom" constant="-10" id="DId-eC-xtY"/>
-                                <constraint firstItem="pZt-Oo-gp5" firstAttribute="top" secondItem="gMB-qb-caO" secondAttribute="top" id="I11-F0-hN5"/>
-                                <constraint firstItem="HPj-WQ-UEe" firstAttribute="centerX" secondItem="pZt-Oo-gp5" secondAttribute="centerX" id="QTq-0M-Qj2"/>
-                                <constraint firstItem="pZt-Oo-gp5" firstAttribute="leading" secondItem="gMB-qb-caO" secondAttribute="leading" id="TY7-WD-hzE"/>
-                                <constraint firstItem="HPj-WQ-UEe" firstAttribute="bottom" secondItem="gMB-qb-caO" secondAttribute="bottom" id="dYO-dM-HQn"/>
-                                <constraint firstItem="HPj-WQ-UEe" firstAttribute="top" secondItem="pZt-Oo-gp5" secondAttribute="bottom" constant="1" id="yJD-DK-Eqd"/>
-                            </constraints>
-                        </view>
                     </subviews>
                     <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
                     <constraints>
@@ -295,16 +227,12 @@
                         <constraint firstItem="QCV-gH-UT2" firstAttribute="leading" secondItem="kR0-tA-2uF" secondAttribute="trailing" id="5XL-gG-2d1"/>
                         <constraint firstItem="QCV-gH-UT2" firstAttribute="top" secondItem="3Jh-gC-egy" secondAttribute="top" id="83M-kH-ZX2"/>
                         <constraint firstAttribute="bottom" secondItem="QCV-gH-UT2" secondAttribute="bottom" id="9n2-1w-ajk"/>
-                        <constraint firstAttribute="bottom" secondItem="fQd-6C-OHk" secondAttribute="bottom" id="CkM-y7-C53"/>
-                        <constraint firstItem="fQd-6C-OHk" firstAttribute="leading" secondItem="QCV-gH-UT2" secondAttribute="trailing" id="ICS-ae-fgD"/>
+                        <constraint firstAttribute="trailing" secondItem="QCV-gH-UT2" secondAttribute="trailing" id="HN1-o1-jUb"/>
                         <constraint firstItem="kR0-tA-2uF" firstAttribute="top" secondItem="3Jh-gC-egy" secondAttribute="top" id="Krt-V9-C5o"/>
                         <constraint firstItem="kR0-tA-2uF" firstAttribute="width" secondItem="Pkz-EP-p4Q" secondAttribute="width" id="KwJ-3g-Oyd"/>
-                        <constraint firstItem="fQd-6C-OHk" firstAttribute="width" secondItem="Pkz-EP-p4Q" secondAttribute="width" id="Lam-1s-b14"/>
-                        <constraint firstItem="fQd-6C-OHk" firstAttribute="top" secondItem="3Jh-gC-egy" secondAttribute="top" id="OmA-Vs-5a4"/>
                         <constraint firstItem="QCV-gH-UT2" firstAttribute="width" secondItem="Pkz-EP-p4Q" secondAttribute="width" id="UDC-kF-oA1"/>
                         <constraint firstAttribute="bottom" secondItem="Pkz-EP-p4Q" secondAttribute="bottom" id="Xe3-qK-0uc"/>
-                        <constraint firstAttribute="trailing" secondItem="fQd-6C-OHk" secondAttribute="trailing" constant="27" id="an7-AV-hCa"/>
-                        <constraint firstItem="Pkz-EP-p4Q" firstAttribute="leading" secondItem="3Jh-gC-egy" secondAttribute="leading" constant="27" id="gwc-XA-mID"/>
+                        <constraint firstItem="Pkz-EP-p4Q" firstAttribute="leading" secondItem="3Jh-gC-egy" secondAttribute="leading" id="gwc-XA-mID"/>
                         <constraint firstItem="Pkz-EP-p4Q" firstAttribute="top" secondItem="3Jh-gC-egy" secondAttribute="top" id="hzy-aK-mPq"/>
                         <constraint firstAttribute="bottom" secondItem="kR0-tA-2uF" secondAttribute="bottom" id="igt-71-5Ke"/>
                     </constraints>
@@ -327,9 +255,6 @@
                 <outlet property="courseCountLabel" destination="0Ev-de-Era" id="cKf-js-cO3"/>
                 <outlet property="courseLabel" destination="8Ql-22-T6t" id="8Fh-PC-Qtm"/>
                 <outlet property="courseView" destination="oMw-71-EQZ" id="UtK-s0-Kf4"/>
-                <outlet property="noticeCountLabel" destination="eSf-NN-z0H" id="7yQ-Yb-0Zz"/>
-                <outlet property="noticeLabel" destination="HPj-WQ-UEe" id="i39-mh-PC6"/>
-                <outlet property="noticeView" destination="HFT-lc-XxE" id="AEn-pk-RrT"/>
                 <outlet property="systemCountLabel" destination="43u-at-Vor" id="FPQ-la-BzB"/>
                 <outlet property="systemLabel" destination="ZT2-JL-dMl" id="XSb-em-5Kr"/>
                 <outlet property="systemView" destination="PnS-8p-3Z9" id="QV4-d4-ySy"/>
@@ -340,7 +265,6 @@
     <resources>
         <image name="message_all" width="56" height="56"/>
         <image name="message_course" width="56" height="56"/>
-        <image name="message_notice" width="56" height="56"/>
         <image name="message_system" width="56" height="56"/>
     </resources>
 </document>

+ 43 - 6
KulexiuForStudent/KulexiuForStudent/Module/Home/NoticeCenter/View/NotiferMessageCell.m

@@ -48,15 +48,52 @@
     [paragraphStyle setLineSpacing:4];//调整行间距
     NSMutableAttributedString *attrStr = [[NSMutableAttributedString alloc] initWithString:messgage attributes:@{NSParagraphStyleAttributeName:paragraphStyle,NSFontAttributeName:[UIFont systemFontOfSize:13.0f],NSForegroundColorAttributeName:HexRGB(0x7a7a7a)}];
     self.descMessageLabel.attributedText = attrStr;
-    if ([model.group isEqualToString:@"COURSE"]) {
-        [self.messageTypeView setImage:[UIImage imageNamed:@"course_cell"]];
+    NSString *imgName = [self getTypeImageWithSubType:model.subType];
+    if (![NSString isEmptyString:imgName]) {
+        [self.messageTypeView setImage:[UIImage imageNamed:imgName]];
     }
-    else if ([model.group isEqualToString:@"SYSTEM"]) {
-        [self.messageTypeView setImage:[UIImage imageNamed:@"system_cell"]];
+    else {
+        [self.messageTypeView setImage:[UIImage imageNamed:@"notifer_unknow"]];
+    }
+}
+
+- (NSString *)getTypeImageWithSubType:(NSString *)subType {
+    NSString *typeImg = @"";
+    if ([subType isEqualToString:@"TEACHER_AUTH"]) {
+        typeImg = @"notifer_teacherAuth";
+    }
+    else if ([subType isEqualToString:@"MUSICIAN_AUTH"]) {
+        typeImg = @"notifer_musianAuth";
+    }
+    else if ([subType isEqualToString:@"PRACTICE"]) {
+        typeImg = @"notifer_accompany";
+    }
+    else if ([subType isEqualToString:@"LIVE"]) {
+        typeImg = @"notifer_live";
     }
-    else if ([model.group isEqualToString:@"NOTICE"]) {
-        [self.messageTypeView setImage:[UIImage imageNamed:@"notice_cell"]];
+    else if ([subType isEqualToString:@"VIDEO"]) {
+        typeImg = @"notifer_video";
     }
+    else if ([subType isEqualToString:@"MUSIC_SHEET"]) {
+        typeImg = @"notifer_music";
+    }
+    else if ([subType isEqualToString:@"INCOME"]) {
+        typeImg = @"notifer_income";
+    }
+    else if ([subType isEqualToString:@"HOMEWORK"]) {
+        typeImg = @"notifer_homework";
+    }
+    else if ([subType isEqualToString:@"EVALUATE"]) {
+        typeImg = @"notifer_evaluate";
+    }
+    else if ([subType isEqualToString:@"GROUP_CHAT"]) {
+        typeImg = @"notifer_groupChat";
+    }
+    else if ([subType isEqualToString:@"VIP"]) {
+        typeImg = @"notifer_vip";
+    }
+    
+    return typeImg;
 }
 
 - (void)setIsRead:(BOOL)isRead {

+ 8 - 4
KulexiuForStudent/KulexiuForStudent/Module/Home/NoticeCenter/View/NotiferMessageCell.xib

@@ -29,7 +29,7 @@
                         </userDefinedRuntimeAttributes>
                     </imageView>
                     <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="上课提醒" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="dWN-rA-dKm">
-                        <rect key="frame" x="70" y="22" width="66" height="22"/>
+                        <rect key="frame" x="70" y="22" width="65.5" height="22"/>
                         <constraints>
                             <constraint firstAttribute="height" constant="22" id="Amz-LZ-Qr5"/>
                         </constraints>
@@ -43,14 +43,17 @@
                         <color key="textColor" red="0.47843137254901957" green="0.47843137254901957" blue="0.47843137254901957" alpha="1" colorSpace="calibratedRGB"/>
                         <nil key="highlightedColor"/>
                     </label>
-                    <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="2022-3-25" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="PnY-EC-LkF">
-                        <rect key="frame" x="350" y="26" width="59" height="14"/>
+                    <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="2022-3-25" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="PnY-EC-LkF">
+                        <rect key="frame" x="334" y="26" width="75" height="14"/>
+                        <constraints>
+                            <constraint firstAttribute="width" constant="75" id="xi5-Bf-5eR"/>
+                        </constraints>
                         <fontDescription key="fontDescription" type="system" pointSize="11"/>
                         <color key="textColor" red="0.59999999999999998" green="0.59999999999999998" blue="0.59999999999999998" alpha="1" colorSpace="calibratedRGB"/>
                         <nil key="highlightedColor"/>
                     </label>
                     <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="heX-9o-hn0">
-                        <rect key="frame" x="141" y="19" width="6" height="6"/>
+                        <rect key="frame" x="140.5" y="19" width="6" height="6"/>
                         <color key="backgroundColor" red="1" green="0.074509803921568626" blue="0.074509803921568626" alpha="1" colorSpace="calibratedRGB"/>
                         <constraints>
                             <constraint firstAttribute="width" constant="6" id="4aE-tI-b0y"/>
@@ -66,6 +69,7 @@
                 <constraints>
                     <constraint firstAttribute="bottom" secondItem="aCp-hw-uSQ" secondAttribute="bottom" constant="22" id="0DI-6H-dc0"/>
                     <constraint firstItem="dWN-rA-dKm" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="top" constant="22" id="0gk-xb-9OT"/>
+                    <constraint firstItem="PnY-EC-LkF" firstAttribute="leading" relation="greaterThanOrEqual" secondItem="dWN-rA-dKm" secondAttribute="trailing" constant="10" id="9xN-aV-SK3"/>
                     <constraint firstItem="dWN-rA-dKm" firstAttribute="leading" secondItem="3FS-75-ZgU" secondAttribute="trailing" constant="10" id="FNS-ca-wiG"/>
                     <constraint firstItem="aCp-hw-uSQ" firstAttribute="leading" secondItem="dWN-rA-dKm" secondAttribute="leading" id="GSa-tm-lZr"/>
                     <constraint firstItem="3FS-75-ZgU" firstAttribute="centerY" secondItem="H2p-sc-9uM" secondAttribute="centerY" id="Lvw-p8-dTf"/>

+ 26 - 0
KulexiuForStudent/KulexiuForStudent/Module/Home/View/HomeLiveCourseView.h

@@ -0,0 +1,26 @@
+//
+//  HomeLiveCourseView.h
+//  KulexiuForStudent
+//
+//  Created by 王智 on 2022/5/26.
+//
+
+#import <UIKit/UIKit.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+typedef void(^HotLiveCourseCallback)(void);
+
+@interface HomeLiveCourseView : UIView
+
+@property (weak, nonatomic) IBOutlet UIView *liveContainer;
+
++ (instancetype)shareInstance;
+
+- (void)hotLiveMore:(HotLiveCourseCallback)callback;
+
+- (CGFloat)getViewHeightWithCount:(NSInteger)count;
+
+@end
+
+NS_ASSUME_NONNULL_END

+ 47 - 0
KulexiuForStudent/KulexiuForStudent/Module/Home/View/HomeLiveCourseView.m

@@ -0,0 +1,47 @@
+//
+//  HomeLiveCourseView.m
+//  KulexiuForStudent
+//
+//  Created by 王智 on 2022/5/26.
+//
+
+#import "HomeLiveCourseView.h"
+
+@interface HomeLiveCourseView ()
+
+@property (nonatomic, copy) HotLiveCourseCallback callback;
+
+@end
+
+@implementation HomeLiveCourseView
+
+
++ (instancetype)shareInstance {
+    HomeLiveCourseView *view = [[[NSBundle mainBundle] loadNibNamed:@"HomeLiveCourseView" owner:nil options:nil] firstObject];
+    return view;
+}
+
+- (void)hotLiveMore:(HotLiveCourseCallback)callback {
+    if (callback) {
+        self.callback = callback;
+    }
+}
+
+- (IBAction)moreLiveCourse:(id)sender {
+    if (self.callback) {
+        self.callback();
+    }
+}
+
+- (CGFloat)getViewHeightWithCount:(NSInteger)count {
+    return 56 + count * 126;
+}
+/*
+// Only override drawRect: if you perform custom drawing.
+// An empty implementation adversely affects performance during animation.
+- (void)drawRect:(CGRect)rect {
+    // Drawing code
+}
+*/
+
+@end

+ 80 - 0
KulexiuForStudent/KulexiuForStudent/Module/Home/View/HomeLiveCourseView.xib

@@ -0,0 +1,80 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="20037" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
+    <device id="retina6_1" orientation="portrait" appearance="light"/>
+    <dependencies>
+        <deployment identifier="iOS"/>
+        <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="20020"/>
+        <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
+    </dependencies>
+    <objects>
+        <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
+        <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
+        <view contentMode="scaleToFill" id="iN0-l3-epB" customClass="HomeLiveCourseView">
+            <rect key="frame" x="0.0" y="0.0" width="414" height="214"/>
+            <autoresizingMask key="autoresizingMask"/>
+            <subviews>
+                <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="直播课" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="ddn-uf-BAf">
+                    <rect key="frame" x="14" y="10" width="49" height="22"/>
+                    <constraints>
+                        <constraint firstAttribute="height" constant="22" id="Ui4-lg-adA"/>
+                    </constraints>
+                    <fontDescription key="fontDescription" type="system" weight="medium" pointSize="16"/>
+                    <color key="textColor" red="0.20000000000000001" green="0.20000000000000001" blue="0.20000000000000001" alpha="1" colorSpace="calibratedRGB"/>
+                    <nil key="highlightedColor"/>
+                </label>
+                <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Dqb-gc-Ywn">
+                    <rect key="frame" x="0.0" y="50" width="414" height="154"/>
+                    <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
+                </view>
+                <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="home_more" translatesAutoresizingMaskIntoConstraints="NO" id="j67-iM-VaR">
+                    <rect key="frame" x="384" y="16" width="10" height="10"/>
+                </imageView>
+                <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="更多" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="3ib-v1-Htp">
+                    <rect key="frame" x="355" y="14" width="25" height="14.5"/>
+                    <fontDescription key="fontDescription" type="system" pointSize="12"/>
+                    <color key="textColor" red="0.59999999999999998" green="0.59999999999999998" blue="0.59999999999999998" alpha="1" colorSpace="custom" customColorSpace="calibratedRGB"/>
+                    <nil key="highlightedColor"/>
+                </label>
+                <button opaque="NO" tag="1008" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="14b-8n-uKT">
+                    <rect key="frame" x="355" y="6" width="39" height="30"/>
+                    <constraints>
+                        <constraint firstAttribute="height" constant="30" id="R97-WE-q5Z"/>
+                    </constraints>
+                    <fontDescription key="fontDescription" type="system" weight="medium" pointSize="14"/>
+                    <state key="normal">
+                        <color key="titleColor" red="0.46666666670000001" green="0.46666666670000001" blue="0.46666666670000001" alpha="0.84705882349999995" colorSpace="calibratedRGB"/>
+                    </state>
+                    <connections>
+                        <action selector="moreLiveCourse:" destination="iN0-l3-epB" eventType="touchUpInside" id="8e7-k2-pfV"/>
+                    </connections>
+                </button>
+            </subviews>
+            <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
+            <constraints>
+                <constraint firstItem="j67-iM-VaR" firstAttribute="leading" secondItem="3ib-v1-Htp" secondAttribute="trailing" constant="4" id="0wq-ze-vhJ"/>
+                <constraint firstAttribute="bottom" secondItem="Dqb-gc-Ywn" secondAttribute="bottom" constant="10" id="7oC-Bo-3wG"/>
+                <constraint firstItem="j67-iM-VaR" firstAttribute="trailing" secondItem="14b-8n-uKT" secondAttribute="trailing" id="IE0-qK-wUD"/>
+                <constraint firstAttribute="trailing" secondItem="j67-iM-VaR" secondAttribute="trailing" constant="20" id="VjB-fb-Fwr"/>
+                <constraint firstItem="ddn-uf-BAf" firstAttribute="top" secondItem="iN0-l3-epB" secondAttribute="top" constant="10" id="ccX-bh-1ZN"/>
+                <constraint firstAttribute="trailing" secondItem="Dqb-gc-Ywn" secondAttribute="trailing" id="dgp-1P-cws"/>
+                <constraint firstItem="ddn-uf-BAf" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" constant="14" id="dr5-d3-qWQ"/>
+                <constraint firstItem="j67-iM-VaR" firstAttribute="centerY" secondItem="ddn-uf-BAf" secondAttribute="centerY" id="euu-y2-3RN"/>
+                <constraint firstItem="3ib-v1-Htp" firstAttribute="centerY" secondItem="ddn-uf-BAf" secondAttribute="centerY" id="fge-bo-nDW"/>
+                <constraint firstItem="Dqb-gc-Ywn" firstAttribute="top" secondItem="14b-8n-uKT" secondAttribute="bottom" constant="14" id="iVT-vU-Zbk"/>
+                <constraint firstItem="Dqb-gc-Ywn" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" id="mIk-bz-rW7"/>
+                <constraint firstItem="3ib-v1-Htp" firstAttribute="leading" secondItem="14b-8n-uKT" secondAttribute="leading" id="r91-qz-luf"/>
+                <constraint firstItem="14b-8n-uKT" firstAttribute="centerY" secondItem="ddn-uf-BAf" secondAttribute="centerY" id="rnk-RY-orJ"/>
+            </constraints>
+            <nil key="simulatedTopBarMetrics"/>
+            <nil key="simulatedBottomBarMetrics"/>
+            <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
+            <connections>
+                <outlet property="liveContainer" destination="Dqb-gc-Ywn" id="HXc-ah-LOo"/>
+            </connections>
+            <point key="canvasLocation" x="131.8840579710145" y="-132.58928571428572"/>
+        </view>
+    </objects>
+    <resources>
+        <image name="home_more" width="10" height="10"/>
+    </resources>
+</document>

+ 1 - 1
KulexiuForStudent/KulexiuForStudent/Module/Home/View/HomeNavView.xib

@@ -25,7 +25,7 @@
                         <action selector="toMessaegCenter:" destination="iN0-l3-epB" eventType="touchUpInside" id="mav-ya-fe5"/>
                     </connections>
                 </button>
-                <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="omR-9c-WQ1">
+                <view hidden="YES" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="omR-9c-WQ1">
                     <rect key="frame" x="385" y="54" width="8" height="8"/>
                     <color key="backgroundColor" red="0.97254901960784312" green="0.31372549019607843" blue="0.2627450980392157" alpha="1" colorSpace="calibratedRGB"/>
                     <constraints>

+ 26 - 0
KulexiuForStudent/KulexiuForStudent/Module/Home/View/HomeVideoCourseView.h

@@ -0,0 +1,26 @@
+//
+//  HomeVideoCourseView.h
+//  KulexiuForStudent
+//
+//  Created by 王智 on 2022/5/26.
+//
+
+#import <UIKit/UIKit.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+typedef void(^HotVideoCourseCallback)(void);
+
+@interface HomeVideoCourseView : UIView
+
+@property (weak, nonatomic) IBOutlet UIView *videoContainer;
+
++ (instancetype)shareInstance;
+
+- (void)moreHotVideo:(HotVideoCourseCallback)callback;
+
+- (CGFloat)getViewHeightWithCount:(NSInteger)count;
+
+@end
+
+NS_ASSUME_NONNULL_END

+ 45 - 0
KulexiuForStudent/KulexiuForStudent/Module/Home/View/HomeVideoCourseView.m

@@ -0,0 +1,45 @@
+//
+//  HomeVideoCourseView.m
+//  KulexiuForStudent
+//
+//  Created by 王智 on 2022/5/26.
+//
+
+#import "HomeVideoCourseView.h"
+
+@interface HomeVideoCourseView ()
+
+@property (nonatomic, copy) HotVideoCourseCallback callback;
+
+@end
+
+@implementation HomeVideoCourseView
+
++ (instancetype)shareInstance {
+    HomeVideoCourseView *view = [[[NSBundle mainBundle] loadNibNamed:@"HomeVideoCourseView" owner:nil options:nil] firstObject];
+    return view;
+}
+
+- (void)moreHotVideo:(HotVideoCourseCallback)callback {
+    if (callback) {
+        self.callback = callback;
+    }
+}
+- (IBAction)moreVideoCourse:(id)sender {
+    if (self.callback) {
+        self.callback();
+    }
+}
+
+- (CGFloat)getViewHeightWithCount:(NSInteger)count {
+    return 56 + count * 126;
+}
+/*
+// Only override drawRect: if you perform custom drawing.
+// An empty implementation adversely affects performance during animation.
+- (void)drawRect:(CGRect)rect {
+    // Drawing code
+}
+*/
+
+@end

+ 80 - 0
KulexiuForStudent/KulexiuForStudent/Module/Home/View/HomeVideoCourseView.xib

@@ -0,0 +1,80 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="20037" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
+    <device id="retina6_1" orientation="portrait" appearance="light"/>
+    <dependencies>
+        <deployment identifier="iOS"/>
+        <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="20020"/>
+        <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
+    </dependencies>
+    <objects>
+        <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
+        <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
+        <view contentMode="scaleToFill" id="iN0-l3-epB" customClass="HomeVideoCourseView">
+            <rect key="frame" x="0.0" y="0.0" width="414" height="332"/>
+            <autoresizingMask key="autoresizingMask"/>
+            <subviews>
+                <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="视频课" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="udp-EO-1wE">
+                    <rect key="frame" x="14" y="10" width="49" height="22"/>
+                    <constraints>
+                        <constraint firstAttribute="height" constant="22" id="Nb9-uZ-M7N"/>
+                    </constraints>
+                    <fontDescription key="fontDescription" type="system" weight="medium" pointSize="16"/>
+                    <color key="textColor" red="0.20000000000000001" green="0.20000000000000001" blue="0.20000000000000001" alpha="1" colorSpace="calibratedRGB"/>
+                    <nil key="highlightedColor"/>
+                </label>
+                <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="B9C-qj-1hJ">
+                    <rect key="frame" x="0.0" y="50" width="414" height="272"/>
+                    <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
+                </view>
+                <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="home_more" translatesAutoresizingMaskIntoConstraints="NO" id="cKY-En-XuZ">
+                    <rect key="frame" x="384" y="16" width="10" height="10"/>
+                </imageView>
+                <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="更多" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="g4k-4s-Uxm">
+                    <rect key="frame" x="355" y="14" width="25" height="14.5"/>
+                    <fontDescription key="fontDescription" type="system" pointSize="12"/>
+                    <color key="textColor" red="0.59999999999999998" green="0.59999999999999998" blue="0.59999999999999998" alpha="1" colorSpace="custom" customColorSpace="calibratedRGB"/>
+                    <nil key="highlightedColor"/>
+                </label>
+                <button opaque="NO" tag="1008" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="c3t-WL-rJD">
+                    <rect key="frame" x="355" y="6" width="39" height="30"/>
+                    <constraints>
+                        <constraint firstAttribute="height" constant="30" id="UfY-cf-Cb4"/>
+                    </constraints>
+                    <fontDescription key="fontDescription" type="system" weight="medium" pointSize="14"/>
+                    <state key="normal">
+                        <color key="titleColor" red="0.46666666670000001" green="0.46666666670000001" blue="0.46666666670000001" alpha="0.84705882349999995" colorSpace="calibratedRGB"/>
+                    </state>
+                    <connections>
+                        <action selector="moreVideoCourse:" destination="iN0-l3-epB" eventType="touchUpInside" id="Gmz-1S-gKx"/>
+                    </connections>
+                </button>
+            </subviews>
+            <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
+            <constraints>
+                <constraint firstItem="udp-EO-1wE" firstAttribute="top" secondItem="iN0-l3-epB" secondAttribute="top" constant="10" id="6Qd-7e-pFv"/>
+                <constraint firstItem="B9C-qj-1hJ" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" id="FKs-9C-pzD"/>
+                <constraint firstAttribute="bottom" secondItem="B9C-qj-1hJ" secondAttribute="bottom" constant="10" id="InW-5B-cLU"/>
+                <constraint firstItem="g4k-4s-Uxm" firstAttribute="centerY" secondItem="udp-EO-1wE" secondAttribute="centerY" id="PxZ-6G-isy"/>
+                <constraint firstItem="cKY-En-XuZ" firstAttribute="trailing" secondItem="c3t-WL-rJD" secondAttribute="trailing" id="TM3-m9-vIy"/>
+                <constraint firstItem="g4k-4s-Uxm" firstAttribute="leading" secondItem="c3t-WL-rJD" secondAttribute="leading" id="XDD-qA-OpZ"/>
+                <constraint firstItem="cKY-En-XuZ" firstAttribute="leading" secondItem="g4k-4s-Uxm" secondAttribute="trailing" constant="4" id="Z15-qG-1NL"/>
+                <constraint firstAttribute="trailing" secondItem="B9C-qj-1hJ" secondAttribute="trailing" id="adP-VB-fht"/>
+                <constraint firstItem="udp-EO-1wE" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" constant="14" id="fpl-x5-GBv"/>
+                <constraint firstItem="B9C-qj-1hJ" firstAttribute="top" secondItem="c3t-WL-rJD" secondAttribute="bottom" constant="14" id="gHi-Dv-69Q"/>
+                <constraint firstAttribute="trailing" secondItem="cKY-En-XuZ" secondAttribute="trailing" constant="20" id="lyC-OD-ads"/>
+                <constraint firstItem="cKY-En-XuZ" firstAttribute="centerY" secondItem="udp-EO-1wE" secondAttribute="centerY" id="oRV-aR-TYe"/>
+                <constraint firstItem="c3t-WL-rJD" firstAttribute="centerY" secondItem="udp-EO-1wE" secondAttribute="centerY" id="q48-Qq-5AX"/>
+            </constraints>
+            <nil key="simulatedTopBarMetrics"/>
+            <nil key="simulatedBottomBarMetrics"/>
+            <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
+            <connections>
+                <outlet property="videoContainer" destination="B9C-qj-1hJ" id="MEj-eV-WCY"/>
+            </connections>
+            <point key="canvasLocation" x="131.8840579710145" y="-93.080357142857139"/>
+        </view>
+    </objects>
+    <resources>
+        <image name="home_more" width="10" height="10"/>
+    </resources>
+</document>

+ 1 - 1
KulexiuForStudent/KulexiuForStudent/Module/Login/Controller/VefiCodeLoginController.m

@@ -81,7 +81,7 @@
 
 - (void)queryVefiCode {
     [self showhud];
-    [KSNetworkingManager sendSmsRequest:KS_POST mobile:self.phoneNo success:^(NSDictionary * _Nonnull dic) {
+    [KSNetworkingManager sendSmsRequest:KS_POST mobile:self.phoneNo type:@"LOGIN" success:^(NSDictionary * _Nonnull dic) {
         [self removehub];
         if ([dic integerValueForKey:@"code"] == 200 && [dic boolValueForKey:@"status"]) {
             [self MBPShow:@"验证码已发送"];

+ 1 - 1
KulexiuForStudent/KulexiuForStudent/Module/Mine/Setting/Controller/ModifyPhoneChangeController.m

@@ -135,7 +135,7 @@
 
 // 发送短信
 - (void)sendSMSRequestWithParm:(NSDictionary *)parm {
-    [KSNetworkingManager sendSmsRequest:KS_POST mobile:[parm stringValueForKey:@"phone"] success:^(NSDictionary * _Nonnull dic) {
+    [KSNetworkingManager sendSmsRequest:KS_POST mobile:[parm stringValueForKey:@"phone"] type:@"PHONE" success:^(NSDictionary * _Nonnull dic) {
         [self removehub];
         if ([dic integerValueForKey:@"code"] == 200 && [dic boolValueForKey:@"status"]) {
             [self MBPShow:@"验证码已发送"];

+ 1 - 1
KulexiuForStudent/KulexiuForStudent/Module/Mine/Setting/Controller/ModifyViewController.m

@@ -127,7 +127,7 @@
 
 // 发送短信
 - (void)sendSMSRequestWithParm:(NSDictionary *)parm {
-    [KSNetworkingManager sendSmsRequest:KS_POST mobile:[parm stringValueForKey:@"phone"] success:^(NSDictionary * _Nonnull dic) {
+    [KSNetworkingManager sendSmsRequest:KS_POST mobile:[parm stringValueForKey:@"phone"] type:@"PHONE" success:^(NSDictionary * _Nonnull dic) {
         [self removehub];
         if ([dic integerValueForKey:@"code"] == 200 && [dic boolValueForKey:@"status"]) {
             [self MBPShow:@"验证码已发送"];

BIN
KulexiuForStudent/build/Debug-iphonesimulator/AFNetworking/AFNetworking.framework/AFNetworking


+ 0 - 160
KulexiuForStudent/build/Debug-iphonesimulator/AFNetworking/AFNetworking.framework/Headers/AFAutoPurgingImageCache.h

@@ -1,160 +0,0 @@
-// AFAutoPurgingImageCache.h
-// Copyright (c) 2011–2016 Alamofire Software Foundation ( http://alamofire.org/ )
-//
-// 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 <TargetConditionals.h>
-#import <Foundation/Foundation.h>
-
-#if TARGET_OS_IOS || TARGET_OS_TV
-#import <UIKit/UIKit.h>
-
-NS_ASSUME_NONNULL_BEGIN
-
-/**
- The `AFImageCache` protocol defines a set of APIs for adding, removing and fetching images from a cache synchronously.
- */
-@protocol AFImageCache <NSObject>
-
-/**
- Adds the image to the cache with the given identifier.
-
- @param image The image to cache.
- @param identifier The unique identifier for the image in the cache.
- */
-- (void)addImage:(UIImage *)image withIdentifier:(NSString *)identifier;
-
-/**
- Removes the image from the cache matching the given identifier.
-
- @param identifier The unique identifier for the image in the cache.
-
- @return A BOOL indicating whether or not the image was removed from the cache.
- */
-- (BOOL)removeImageWithIdentifier:(NSString *)identifier;
-
-/**
- Removes all images from the cache.
-
- @return A BOOL indicating whether or not all images were removed from the cache.
- */
-- (BOOL)removeAllImages;
-
-/**
- Returns the image in the cache associated with the given identifier.
-
- @param identifier The unique identifier for the image in the cache.
-
- @return An image for the matching identifier, or nil.
- */
-- (nullable UIImage *)imageWithIdentifier:(NSString *)identifier;
-@end
-
-
-/**
- The `ImageRequestCache` protocol extends the `ImageCache` protocol by adding methods for adding, removing and fetching images from a cache given an `NSURLRequest` and additional identifier.
- */
-@protocol AFImageRequestCache <AFImageCache>
-
-/**
- Asks if the image should be cached using an identifier created from the request and additional identifier.
- 
- @param image The image to be cached.
- @param request The unique URL request identifing the image asset.
- @param identifier The additional identifier to apply to the URL request to identify the image.
- 
- @return A BOOL indicating whether or not the image should be added to the cache. YES will cache, NO will prevent caching.
- */
-- (BOOL)shouldCacheImage:(UIImage *)image forRequest:(NSURLRequest *)request withAdditionalIdentifier:(nullable NSString *)identifier;
-
-/**
- Adds the image to the cache using an identifier created from the request and additional identifier.
-
- @param image The image to cache.
- @param request The unique URL request identifing the image asset.
- @param identifier The additional identifier to apply to the URL request to identify the image.
- */
-- (void)addImage:(UIImage *)image forRequest:(NSURLRequest *)request withAdditionalIdentifier:(nullable NSString *)identifier;
-
-/**
- Removes the image from the cache using an identifier created from the request and additional identifier.
-
- @param request The unique URL request identifing the image asset.
- @param identifier The additional identifier to apply to the URL request to identify the image.
- 
- @return A BOOL indicating whether or not all images were removed from the cache.
- */
-- (BOOL)removeImageforRequest:(NSURLRequest *)request withAdditionalIdentifier:(nullable NSString *)identifier;
-
-/**
- Returns the image from the cache associated with an identifier created from the request and additional identifier.
-
- @param request The unique URL request identifing the image asset.
- @param identifier The additional identifier to apply to the URL request to identify the image.
-
- @return An image for the matching request and identifier, or nil.
- */
-- (nullable UIImage *)imageforRequest:(NSURLRequest *)request withAdditionalIdentifier:(nullable NSString *)identifier;
-
-@end
-
-/**
- The `AutoPurgingImageCache` in an in-memory image cache used to store images up to a given memory capacity. When the memory capacity is reached, the image cache is sorted by last access date, then the oldest image is continuously purged until the preferred memory usage after purge is met. Each time an image is accessed through the cache, the internal access date of the image is updated.
- */
-@interface AFAutoPurgingImageCache : NSObject <AFImageRequestCache>
-
-/**
- The total memory capacity of the cache in bytes.
- */
-@property (nonatomic, assign) UInt64 memoryCapacity;
-
-/**
- The preferred memory usage after purge in bytes. During a purge, images will be purged until the memory capacity drops below this limit.
- */
-@property (nonatomic, assign) UInt64 preferredMemoryUsageAfterPurge;
-
-/**
- The current total memory usage in bytes of all images stored within the cache.
- */
-@property (nonatomic, assign, readonly) UInt64 memoryUsage;
-
-/**
- Initialies the `AutoPurgingImageCache` instance with default values for memory capacity and preferred memory usage after purge limit. `memoryCapcity` defaults to `100 MB`. `preferredMemoryUsageAfterPurge` defaults to `60 MB`.
-
- @return The new `AutoPurgingImageCache` instance.
- */
-- (instancetype)init;
-
-/**
- Initialies the `AutoPurgingImageCache` instance with the given memory capacity and preferred memory usage
- after purge limit.
-
- @param memoryCapacity The total memory capacity of the cache in bytes.
- @param preferredMemoryCapacity The preferred memory usage after purge in bytes.
-
- @return The new `AutoPurgingImageCache` instance.
- */
-- (instancetype)initWithMemoryCapacity:(UInt64)memoryCapacity preferredMemoryCapacity:(UInt64)preferredMemoryCapacity;
-
-@end
-
-NS_ASSUME_NONNULL_END
-
-#endif
-

+ 0 - 49
KulexiuForStudent/build/Debug-iphonesimulator/AFNetworking/AFNetworking.framework/Headers/AFCompatibilityMacros.h

@@ -1,49 +0,0 @@
-// AFCompatibilityMacros.h
-// Copyright (c) 2011–2016 Alamofire Software Foundation ( http://alamofire.org/ )
-//
-// 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.
-
-#ifndef AFCompatibilityMacros_h
-#define AFCompatibilityMacros_h
-
-#ifdef API_AVAILABLE
-    #define AF_API_AVAILABLE(...) API_AVAILABLE(__VA_ARGS__)
-#else
-    #define AF_API_AVAILABLE(...)
-#endif // API_AVAILABLE
-
-#ifdef API_UNAVAILABLE
-    #define AF_API_UNAVAILABLE(...) API_UNAVAILABLE(__VA_ARGS__)
-#else
-    #define AF_API_UNAVAILABLE(...)
-#endif // API_UNAVAILABLE
-
-#if __has_warning("-Wunguarded-availability-new")
-    #define AF_CAN_USE_AT_AVAILABLE 1
-#else
-    #define AF_CAN_USE_AT_AVAILABLE 0
-#endif
-
-#if ((__IPHONE_OS_VERSION_MAX_ALLOWED && __IPHONE_OS_VERSION_MAX_ALLOWED < 100000) || (__MAC_OS_VERSION_MAX_ALLOWED && __MAC_OS_VERSION_MAX_ALLOWED < 101200) ||(__WATCH_OS_MAX_VERSION_ALLOWED && __WATCH_OS_MAX_VERSION_ALLOWED < 30000) ||(__TV_OS_MAX_VERSION_ALLOWED && __TV_OS_MAX_VERSION_ALLOWED < 100000))
-    #define AF_CAN_INCLUDE_SESSION_TASK_METRICS 0
-#else
-    #define AF_CAN_INCLUDE_SESSION_TASK_METRICS 1
-#endif
-
-#endif /* AFCompatibilityMacros_h */

+ 0 - 285
KulexiuForStudent/build/Debug-iphonesimulator/AFNetworking/AFNetworking.framework/Headers/AFHTTPSessionManager.h

@@ -1,285 +0,0 @@
-// AFHTTPSessionManager.h
-// Copyright (c) 2011–2016 Alamofire Software Foundation ( http://alamofire.org/ )
-//
-// 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>
-#if !TARGET_OS_WATCH
-#import <SystemConfiguration/SystemConfiguration.h>
-#endif
-#import <TargetConditionals.h>
-
-#import "AFURLSessionManager.h"
-
-/**
- `AFHTTPSessionManager` is a subclass of `AFURLSessionManager` with convenience methods for making HTTP requests. When a `baseURL` is provided, requests made with the `GET` / `POST` / et al. convenience methods can be made with relative paths.
-
- ## Subclassing Notes
-
- Developers targeting iOS 7 or Mac OS X 10.9 or later that deal extensively with a web service are encouraged to subclass `AFHTTPSessionManager`, providing a class method that returns a shared singleton object on which authentication and other configuration can be shared across the application.
-
- ## Methods to Override
-
- To change the behavior of all data task operation construction, which is also used in the `GET` / `POST` / et al. convenience methods, override `dataTaskWithRequest:uploadProgress:downloadProgress:completionHandler:`.
-
- ## Serialization
-
- Requests created by an HTTP client will contain default headers and encode parameters according to the `requestSerializer` property, which is an object conforming to `<AFURLRequestSerialization>`.
-
- Responses received from the server are automatically validated and serialized by the `responseSerializers` property, which is an object conforming to `<AFURLResponseSerialization>`
-
- ## URL Construction Using Relative Paths
-
- For HTTP convenience methods, the request serializer constructs URLs from the path relative to the `-baseURL`, using `NSURL +URLWithString:relativeToURL:`, when provided. If `baseURL` is `nil`, `path` needs to resolve to a valid `NSURL` object using `NSURL +URLWithString:`.
-
- Below are a few examples of how `baseURL` and relative paths interact:
-
-    NSURL *baseURL = [NSURL URLWithString:@"http://example.com/v1/"];
-    [NSURL URLWithString:@"foo" relativeToURL:baseURL];                  // http://example.com/v1/foo
-    [NSURL URLWithString:@"foo?bar=baz" relativeToURL:baseURL];          // http://example.com/v1/foo?bar=baz
-    [NSURL URLWithString:@"/foo" relativeToURL:baseURL];                 // http://example.com/foo
-    [NSURL URLWithString:@"foo/" relativeToURL:baseURL];                 // http://example.com/v1/foo
-    [NSURL URLWithString:@"/foo/" relativeToURL:baseURL];                // http://example.com/foo/
-    [NSURL URLWithString:@"http://example2.com/" relativeToURL:baseURL]; // http://example2.com/
-
- Also important to note is that a trailing slash will be added to any `baseURL` without one. This would otherwise cause unexpected behavior when constructing URLs using paths without a leading slash.
-
- @warning Managers for background sessions must be owned for the duration of their use. This can be accomplished by creating an application-wide or shared singleton instance.
- */
-
-NS_ASSUME_NONNULL_BEGIN
-
-@interface AFHTTPSessionManager : AFURLSessionManager <NSSecureCoding, NSCopying>
-
-/**
- The URL used to construct requests from relative paths in methods like `requestWithMethod:URLString:parameters:`, and the `GET` / `POST` / et al. convenience methods.
- */
-@property (readonly, nonatomic, strong, nullable) NSURL *baseURL;
-
-/**
- Requests created with `requestWithMethod:URLString:parameters:` & `multipartFormRequestWithMethod:URLString:parameters:constructingBodyWithBlock:` are constructed with a set of default headers using a parameter serialization specified by this property. By default, this is set to an instance of `AFHTTPRequestSerializer`, which serializes query string parameters for `GET`, `HEAD`, and `DELETE` requests, or otherwise URL-form-encodes HTTP message bodies.
-
- @warning `requestSerializer` must not be `nil`.
- */
-@property (nonatomic, strong) AFHTTPRequestSerializer <AFURLRequestSerialization> * requestSerializer;
-
-/**
- Responses sent from the server in data tasks created with `dataTaskWithRequest:success:failure:` and run using the `GET` / `POST` / et al. convenience methods are automatically validated and serialized by the response serializer. By default, this property is set to an instance of `AFJSONResponseSerializer`.
-
- @warning `responseSerializer` must not be `nil`.
- */
-@property (nonatomic, strong) AFHTTPResponseSerializer <AFURLResponseSerialization> * responseSerializer;
-
-///-------------------------------
-/// @name Managing Security Policy
-///-------------------------------
-
-/**
- The security policy used by created session to evaluate server trust for secure connections. `AFURLSessionManager` uses the `defaultPolicy` unless otherwise specified. A security policy configured with `AFSSLPinningModePublicKey` or `AFSSLPinningModeCertificate` can only be applied on a session manager initialized with a secure base URL (i.e. https). Applying a security policy with pinning enabled on an insecure session manager throws an `Invalid Security Policy` exception.
- */
-@property (nonatomic, strong) AFSecurityPolicy *securityPolicy;
-
-///---------------------
-/// @name Initialization
-///---------------------
-
-/**
- Creates and returns an `AFHTTPSessionManager` object.
- */
-+ (instancetype)manager;
-
-/**
- Initializes an `AFHTTPSessionManager` object with the specified base URL.
-
- @param url The base URL for the HTTP client.
-
- @return The newly-initialized HTTP client
- */
-- (instancetype)initWithBaseURL:(nullable NSURL *)url;
-
-/**
- Initializes an `AFHTTPSessionManager` object with the specified base URL.
-
- This is the designated initializer.
-
- @param url The base URL for the HTTP client.
- @param configuration The configuration used to create the managed session.
-
- @return The newly-initialized HTTP client
- */
-- (instancetype)initWithBaseURL:(nullable NSURL *)url
-           sessionConfiguration:(nullable NSURLSessionConfiguration *)configuration NS_DESIGNATED_INITIALIZER;
-
-///---------------------------
-/// @name Making HTTP Requests
-///---------------------------
-
-/**
- Creates and runs an `NSURLSessionDataTask` with a `GET` request.
- 
- @param URLString The URL string used to create the request URL.
- @param parameters The parameters to be encoded according to the client request serializer.
- @param headers The headers appended to the default headers for this request.
- @param downloadProgress A block object to be executed when the download progress is updated. Note this block is called on the session queue, not the main queue.
- @param success A block object to be executed when the task finishes successfully. This block has no return value and takes two arguments: the data task, and the response object created by the client response serializer.
- @param failure A block object to be executed when the task finishes unsuccessfully, or that finishes successfully, but encountered an error while parsing the response data. This block has no return value and takes a two arguments: the data task and the error describing the network or parsing error that occurred.
- 
- @see -dataTaskWithRequest:uploadProgress:downloadProgress:completionHandler:
- */
-- (nullable NSURLSessionDataTask *)GET:(NSString *)URLString
-                            parameters:(nullable id)parameters
-                               headers:(nullable NSDictionary <NSString *, NSString *> *)headers
-                              progress:(nullable void (^)(NSProgress *downloadProgress))downloadProgress
-                               success:(nullable void (^)(NSURLSessionDataTask *task, id _Nullable responseObject))success
-                               failure:(nullable void (^)(NSURLSessionDataTask * _Nullable task, NSError *error))failure;
-
-/**
- Creates and runs an `NSURLSessionDataTask` with a `HEAD` request.
- 
- @param URLString The URL string used to create the request URL.
- @param parameters The parameters to be encoded according to the client request serializer.
- @param headers The headers appended to the default headers for this request.
- @param success A block object to be executed when the task finishes successfully. This block has no return value and takes a single arguments: the data task.
- @param failure A block object to be executed when the task finishes unsuccessfully, or that finishes successfully, but encountered an error while parsing the response data. This block has no return value and takes a two arguments: the data task and the error describing the network or parsing error that occurred.
- 
- @see -dataTaskWithRequest:completionHandler:
- */
-- (nullable NSURLSessionDataTask *)HEAD:(NSString *)URLString
-                             parameters:(nullable id)parameters
-                                headers:(nullable NSDictionary <NSString *, NSString *> *)headers
-                                success:(nullable void (^)(NSURLSessionDataTask *task))success
-                                failure:(nullable void (^)(NSURLSessionDataTask * _Nullable task, NSError *error))failure;
-
-/**
- Creates and runs an `NSURLSessionDataTask` with a `POST` request.
- 
- @param URLString The URL string used to create the request URL.
- @param parameters The parameters to be encoded according to the client request serializer.
- @param headers The headers appended to the default headers for this request.
- @param uploadProgress A block object to be executed when the upload progress is updated. Note this block is called on the session queue, not the main queue.
- @param success A block object to be executed when the task finishes successfully. This block has no return value and takes two arguments: the data task, and the response object created by the client response serializer.
- @param failure A block object to be executed when the task finishes unsuccessfully, or that finishes successfully, but encountered an error while parsing the response data. This block has no return value and takes a two arguments: the data task and the error describing the network or parsing error that occurred.
- 
- @see -dataTaskWithRequest:uploadProgress:downloadProgress:completionHandler:
- */
-- (nullable NSURLSessionDataTask *)POST:(NSString *)URLString
-                             parameters:(nullable id)parameters
-                                headers:(nullable NSDictionary <NSString *, NSString *> *)headers
-                               progress:(nullable void (^)(NSProgress *uploadProgress))uploadProgress
-                                success:(nullable void (^)(NSURLSessionDataTask *task, id _Nullable responseObject))success
-                                failure:(nullable void (^)(NSURLSessionDataTask * _Nullable task, NSError *error))failure;
-
-/**
- Creates and runs an `NSURLSessionDataTask` with a multipart `POST` request.
- 
- @param URLString The URL string used to create the request URL.
- @param parameters The parameters to be encoded according to the client request serializer.
- @param headers The headers appended to the default headers for this request.
- @param block A block that takes a single argument and appends data to the HTTP body. The block argument is an object adopting the `AFMultipartFormData` protocol.
- @param uploadProgress A block object to be executed when the upload progress is updated. Note this block is called on the session queue, not the main queue.
- @param success A block object to be executed when the task finishes successfully. This block has no return value and takes two arguments: the data task, and the response object created by the client response serializer.
- @param failure A block object to be executed when the task finishes unsuccessfully, or that finishes successfully, but encountered an error while parsing the response data. This block has no return value and takes a two arguments: the data task and the error describing the network or parsing error that occurred.
- 
- @see -dataTaskWithRequest:uploadProgress:downloadProgress:completionHandler:
- */
-- (nullable NSURLSessionDataTask *)POST:(NSString *)URLString
-                             parameters:(nullable id)parameters
-                                headers:(nullable NSDictionary <NSString *, NSString *> *)headers
-              constructingBodyWithBlock:(nullable void (^)(id <AFMultipartFormData> formData))block
-                               progress:(nullable void (^)(NSProgress *uploadProgress))uploadProgress
-                                success:(nullable void (^)(NSURLSessionDataTask *task, id _Nullable responseObject))success
-                                failure:(nullable void (^)(NSURLSessionDataTask * _Nullable task, NSError *error))failure;
-
-/**
- Creates and runs an `NSURLSessionDataTask` with a `PUT` request.
- 
- @param URLString The URL string used to create the request URL.
- @param parameters The parameters to be encoded according to the client request serializer.
- @param headers The headers appended to the default headers for this request.
- @param success A block object to be executed when the task finishes successfully. This block has no return value and takes two arguments: the data task, and the response object created by the client response serializer.
- @param failure A block object to be executed when the task finishes unsuccessfully, or that finishes successfully, but encountered an error while parsing the response data. This block has no return value and takes a two arguments: the data task and the error describing the network or parsing error that occurred.
- 
- @see -dataTaskWithRequest:completionHandler:
- */
-- (nullable NSURLSessionDataTask *)PUT:(NSString *)URLString
-                            parameters:(nullable id)parameters
-                               headers:(nullable NSDictionary <NSString *, NSString *> *)headers
-                               success:(nullable void (^)(NSURLSessionDataTask *task, id _Nullable responseObject))success
-                               failure:(nullable void (^)(NSURLSessionDataTask * _Nullable task, NSError *error))failure;
-
-/**
- Creates and runs an `NSURLSessionDataTask` with a `PATCH` request.
- 
- @param URLString The URL string used to create the request URL.
- @param parameters The parameters to be encoded according to the client request serializer.
- @param headers The headers appended to the default headers for this request.
- @param success A block object to be executed when the task finishes successfully. This block has no return value and takes two arguments: the data task, and the response object created by the client response serializer.
- @param failure A block object to be executed when the task finishes unsuccessfully, or that finishes successfully, but encountered an error while parsing the response data. This block has no return value and takes a two arguments: the data task and the error describing the network or parsing error that occurred.
- 
- @see -dataTaskWithRequest:completionHandler:
- */
-- (nullable NSURLSessionDataTask *)PATCH:(NSString *)URLString
-                              parameters:(nullable id)parameters
-                                 headers:(nullable NSDictionary <NSString *, NSString *> *)headers
-                                 success:(nullable void (^)(NSURLSessionDataTask *task, id _Nullable responseObject))success
-                                 failure:(nullable void (^)(NSURLSessionDataTask * _Nullable task, NSError *error))failure;
-
-/**
- Creates and runs an `NSURLSessionDataTask` with a `DELETE` request.
- 
- @param URLString The URL string used to create the request URL.
- @param parameters The parameters to be encoded according to the client request serializer.
- @param headers The headers appended to the default headers for this request.
- @param success A block object to be executed when the task finishes successfully. This block has no return value and takes two arguments: the data task, and the response object created by the client response serializer.
- @param failure A block object to be executed when the task finishes unsuccessfully, or that finishes successfully, but encountered an error while parsing the response data. This block has no return value and takes a two arguments: the data task and the error describing the network or parsing error that occurred.
- 
- @see -dataTaskWithRequest:completionHandler:
- */
-- (nullable NSURLSessionDataTask *)DELETE:(NSString *)URLString
-                               parameters:(nullable id)parameters
-                                  headers:(nullable NSDictionary <NSString *, NSString *> *)headers
-                                  success:(nullable void (^)(NSURLSessionDataTask *task, id _Nullable responseObject))success
-                                  failure:(nullable void (^)(NSURLSessionDataTask * _Nullable task, NSError *error))failure;
-
-/**
- Creates an `NSURLSessionDataTask` with a custom `HTTPMethod` request.
-
- @param method The HTTPMethod string used to create the request.
- @param URLString The URL string used to create the request URL.
- @param parameters The parameters to be encoded according to the client request serializer.
- @param headers The headers appended to the default headers for this request.
- @param uploadProgress A block object to be executed when the upload progress is updated. Note this block is called on the session queue, not the main queue.
- @param downloadProgress A block object to be executed when the download progress is updated. Note this block is called on the session queue, not the main queue.
- @param success A block object to be executed when the task finishes successfully. This block has no return value and takes two arguments: the data task, and the response object created by the client response serializer.
- @param failure A block object to be executed when the task finishes unsuccessfully, or that finishes successfully, but encountered an error while parsing the response data. This block has no return value and takes a two arguments: the data task and the error describing the network or parsing error that occurred.
-
- @see -dataTaskWithRequest:uploadProgress:downloadProgress:completionHandler:
- */
-- (nullable NSURLSessionDataTask *)dataTaskWithHTTPMethod:(NSString *)method
-                                                URLString:(NSString *)URLString
-                                               parameters:(nullable id)parameters
-                                                  headers:(nullable NSDictionary <NSString *, NSString *> *)headers
-                                           uploadProgress:(nullable void (^)(NSProgress *uploadProgress))uploadProgress
-                                         downloadProgress:(nullable void (^)(NSProgress *downloadProgress))downloadProgress
-                                                  success:(nullable void (^)(NSURLSessionDataTask *task, id _Nullable responseObject))success
-                                                  failure:(nullable void (^)(NSURLSessionDataTask * _Nullable task, NSError *error))failure;
-
-@end
-
-NS_ASSUME_NONNULL_END

+ 0 - 171
KulexiuForStudent/build/Debug-iphonesimulator/AFNetworking/AFNetworking.framework/Headers/AFImageDownloader.h

@@ -1,171 +0,0 @@
-// AFImageDownloader.h
-// Copyright (c) 2011–2016 Alamofire Software Foundation ( http://alamofire.org/ )
-//
-// 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 <TargetConditionals.h>
-
-#if TARGET_OS_IOS || TARGET_OS_TV 
-
-#import <Foundation/Foundation.h>
-#import "AFAutoPurgingImageCache.h"
-#import "AFHTTPSessionManager.h"
-
-NS_ASSUME_NONNULL_BEGIN
-
-typedef NS_ENUM(NSInteger, AFImageDownloadPrioritization) {
-    AFImageDownloadPrioritizationFIFO,
-    AFImageDownloadPrioritizationLIFO
-};
-
-/**
- The `AFImageDownloadReceipt` is an object vended by the `AFImageDownloader` when starting a data task. It can be used to cancel active tasks running on the `AFImageDownloader` session. As a general rule, image data tasks should be cancelled using the `AFImageDownloadReceipt` instead of calling `cancel` directly on the `task` itself. The `AFImageDownloader` is optimized to handle duplicate task scenarios as well as pending versus active downloads.
- */
-@interface AFImageDownloadReceipt : NSObject
-
-/**
- The data task created by the `AFImageDownloader`.
-*/
-@property (nonatomic, strong) NSURLSessionDataTask *task;
-
-/**
- The unique identifier for the success and failure blocks when duplicate requests are made.
- */
-@property (nonatomic, strong) NSUUID *receiptID;
-@end
-
-/** The `AFImageDownloader` class is responsible for downloading images in parallel on a prioritized queue. Incoming downloads are added to the front or back of the queue depending on the download prioritization. Each downloaded image is cached in the underlying `NSURLCache` as well as the in-memory image cache. By default, any download request with a cached image equivalent in the image cache will automatically be served the cached image representation.
- */
-@interface AFImageDownloader : NSObject
-
-/**
- The image cache used to store all downloaded images in. `AFAutoPurgingImageCache` by default.
- */
-@property (nonatomic, strong, nullable) id <AFImageRequestCache> imageCache;
-
-/**
- The `AFHTTPSessionManager` used to download images. By default, this is configured with an `AFImageResponseSerializer`, and a shared `NSURLCache` for all image downloads.
- */
-@property (nonatomic, strong) AFHTTPSessionManager *sessionManager;
-
-/**
- Defines the order prioritization of incoming download requests being inserted into the queue. `AFImageDownloadPrioritizationFIFO` by default.
- */
-@property (nonatomic, assign) AFImageDownloadPrioritization downloadPrioritization;
-
-/**
- The shared default instance of `AFImageDownloader` initialized with default values.
- */
-+ (instancetype)defaultInstance;
-
-/**
- Creates a default `NSURLCache` with common usage parameter values.
-
- @returns The default `NSURLCache` instance.
- */
-+ (NSURLCache *)defaultURLCache;
-
-/**
- The default `NSURLSessionConfiguration` with common usage parameter values.
- */
-+ (NSURLSessionConfiguration *)defaultURLSessionConfiguration;
-
-/**
- Default initializer
-
- @return An instance of `AFImageDownloader` initialized with default values.
- */
-- (instancetype)init;
-
-/**
- Initializer with specific `URLSessionConfiguration`
- 
- @param configuration The `NSURLSessionConfiguration` to be be used
- 
- @return An instance of `AFImageDownloader` initialized with default values and custom `NSURLSessionConfiguration`
- */
-- (instancetype)initWithSessionConfiguration:(NSURLSessionConfiguration *)configuration;
-
-/**
- Initializes the `AFImageDownloader` instance with the given session manager, download prioritization, maximum active download count and image cache.
-
- @param sessionManager The session manager to use to download images.
- @param downloadPrioritization The download prioritization of the download queue.
- @param maximumActiveDownloads  The maximum number of active downloads allowed at any given time. Recommend `4`.
- @param imageCache The image cache used to store all downloaded images in.
-
- @return The new `AFImageDownloader` instance.
- */
-- (instancetype)initWithSessionManager:(AFHTTPSessionManager *)sessionManager
-                downloadPrioritization:(AFImageDownloadPrioritization)downloadPrioritization
-                maximumActiveDownloads:(NSInteger)maximumActiveDownloads
-                            imageCache:(nullable id <AFImageRequestCache>)imageCache;
-
-/**
- Creates a data task using the `sessionManager` instance for the specified URL request.
-
- If the same data task is already in the queue or currently being downloaded, the success and failure blocks are
- appended to the already existing task. Once the task completes, all success or failure blocks attached to the
- task are executed in the order they were added.
-
- @param request The URL request.
- @param success A block to be executed when the image data task finishes successfully. This block has no return value and takes three arguments: the request sent from the client, the response received from the server, and the image created from the response data of request. If the image was returned from cache, the response parameter will be `nil`.
- @param failure A block object to be executed when the image data task finishes unsuccessfully, or that finishes successfully. This block has no return value and takes three arguments: the request sent from the client, the response received from the server, and the error object describing the network or parsing error that occurred.
-
- @return The image download receipt for the data task if available. `nil` if the image is stored in the cache.
- cache and the URL request cache policy allows the cache to be used.
- */
-- (nullable AFImageDownloadReceipt *)downloadImageForURLRequest:(NSURLRequest *)request
-                                                        success:(nullable void (^)(NSURLRequest *request, NSHTTPURLResponse  * _Nullable response, UIImage *responseObject))success
-                                                        failure:(nullable void (^)(NSURLRequest *request, NSHTTPURLResponse * _Nullable response, NSError *error))failure;
-
-/**
- Creates a data task using the `sessionManager` instance for the specified URL request.
-
- If the same data task is already in the queue or currently being downloaded, the success and failure blocks are
- appended to the already existing task. Once the task completes, all success or failure blocks attached to the
- task are executed in the order they were added.
-
- @param request The URL request.
- @param receiptID The identifier to use for the download receipt that will be created for this request. This must be a unique identifier that does not represent any other request.
- @param success A block to be executed when the image data task finishes successfully. This block has no return value and takes three arguments: the request sent from the client, the response received from the server, and the image created from the response data of request. If the image was returned from cache, the response parameter will be `nil`.
- @param failure A block object to be executed when the image data task finishes unsuccessfully, or that finishes successfully. This block has no return value and takes three arguments: the request sent from the client, the response received from the server, and the error object describing the network or parsing error that occurred.
-
- @return The image download receipt for the data task if available. `nil` if the image is stored in the cache.
- cache and the URL request cache policy allows the cache to be used.
- */
-- (nullable AFImageDownloadReceipt *)downloadImageForURLRequest:(NSURLRequest *)request
-                                                 withReceiptID:(NSUUID *)receiptID
-                                                        success:(nullable void (^)(NSURLRequest *request, NSHTTPURLResponse  * _Nullable response, UIImage *responseObject))success
-                                                        failure:(nullable void (^)(NSURLRequest *request, NSHTTPURLResponse * _Nullable response, NSError *error))failure;
-
-/**
- Cancels the data task in the receipt by removing the corresponding success and failure blocks and cancelling the data task if necessary.
-
- If the data task is pending in the queue, it will be cancelled if no other success and failure blocks are registered with the data task. If the data task is currently executing or is already completed, the success and failure blocks are removed and will not be called when the task finishes.
-
- @param imageDownloadReceipt The image download receipt to cancel.
- */
-- (void)cancelTaskForImageDownloadReceipt:(AFImageDownloadReceipt *)imageDownloadReceipt;
-
-@end
-
-#endif
-
-NS_ASSUME_NONNULL_END

+ 0 - 103
KulexiuForStudent/build/Debug-iphonesimulator/AFNetworking/AFNetworking.framework/Headers/AFNetworkActivityIndicatorManager.h

@@ -1,103 +0,0 @@
-// AFNetworkActivityIndicatorManager.h
-// Copyright (c) 2011–2016 Alamofire Software Foundation ( http://alamofire.org/ )
-//
-// 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 <TargetConditionals.h>
-
-#if TARGET_OS_IOS
-
-#import <UIKit/UIKit.h>
-
-NS_ASSUME_NONNULL_BEGIN
-
-/**
- `AFNetworkActivityIndicatorManager` manages the state of the network activity indicator in the status bar. When enabled, it will listen for notifications indicating that a session task has started or finished, and start or stop animating the indicator accordingly. The number of active requests is incremented and decremented much like a stack or a semaphore, and the activity indicator will animate so long as that number is greater than zero.
-
- You should enable the shared instance of `AFNetworkActivityIndicatorManager` when your application finishes launching. In `AppDelegate application:didFinishLaunchingWithOptions:` you can do so with the following code:
-
-    [[AFNetworkActivityIndicatorManager sharedManager] setEnabled:YES];
-
- By setting `enabled` to `YES` for `sharedManager`, the network activity indicator will show and hide automatically as requests start and finish. You should not ever need to call `incrementActivityCount` or `decrementActivityCount` yourself.
-
- See the Apple Human Interface Guidelines section about the Network Activity Indicator for more information:
- http://developer.apple.com/library/iOS/#documentation/UserExperience/Conceptual/MobileHIG/UIElementGuidelines/UIElementGuidelines.html#//apple_ref/doc/uid/TP40006556-CH13-SW44
- */
-NS_EXTENSION_UNAVAILABLE_IOS("Use view controller based solutions where appropriate instead.")
-@interface AFNetworkActivityIndicatorManager : NSObject
-
-/**
- A Boolean value indicating whether the manager is enabled.
-
- If YES, the manager will change status bar network activity indicator according to network operation notifications it receives. The default value is NO.
- */
-@property (nonatomic, assign, getter = isEnabled) BOOL enabled;
-
-/**
- A Boolean value indicating whether the network activity indicator manager is currently active.
-*/
-@property (readonly, nonatomic, assign, getter=isNetworkActivityIndicatorVisible) BOOL networkActivityIndicatorVisible;
-
-/**
- A time interval indicating the minimum duration of networking activity that should occur before the activity indicator is displayed. The default value 1 second. If the network activity indicator should be displayed immediately when network activity occurs, this value should be set to 0 seconds.
- 
- Apple's HIG describes the following:
-
- > Display the network activity indicator to provide feedback when your app accesses the network for more than a couple of seconds. If the operation finishes sooner than that, you don’t have to show the network activity indicator, because the indicator is likely to disappear before users notice its presence.
-
- */
-@property (nonatomic, assign) NSTimeInterval activationDelay;
-
-/**
- A time interval indicating the duration of time of no networking activity required before the activity indicator is disabled. This allows for continuous display of the network activity indicator across multiple requests. The default value is 0.17 seconds.
- */
-
-@property (nonatomic, assign) NSTimeInterval completionDelay;
-
-/**
- Returns the shared network activity indicator manager object for the system.
-
- @return The systemwide network activity indicator manager.
- */
-+ (instancetype)sharedManager;
-
-/**
- Increments the number of active network requests. If this number was zero before incrementing, this will start animating the status bar network activity indicator.
- */
-- (void)incrementActivityCount;
-
-/**
- Decrements the number of active network requests. If this number becomes zero after decrementing, this will stop animating the status bar network activity indicator.
- */
-- (void)decrementActivityCount;
-
-/**
- Set the a custom method to be executed when the network activity indicator manager should be hidden/shown. By default, this is null, and the UIApplication Network Activity Indicator will be managed automatically. If this block is set, it is the responsiblity of the caller to manager the network activity indicator going forward.
-
- @param block A block to be executed when the network activity indicator status changes.
- */
-- (void)setNetworkingActivityActionWithBlock:(nullable void (^)(BOOL networkActivityIndicatorVisible))block;
-
-@end
-
-NS_ASSUME_NONNULL_END
-
-#endif

+ 0 - 216
KulexiuForStudent/build/Debug-iphonesimulator/AFNetworking/AFNetworking.framework/Headers/AFNetworkReachabilityManager.h

@@ -1,216 +0,0 @@
-// AFNetworkReachabilityManager.h
-// Copyright (c) 2011–2016 Alamofire Software Foundation ( http://alamofire.org/ )
-//
-// 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>
-
-#if !TARGET_OS_WATCH
-#import <SystemConfiguration/SystemConfiguration.h>
-
-typedef NS_ENUM(NSInteger, AFNetworkReachabilityStatus) {
-    AFNetworkReachabilityStatusUnknown          = -1,
-    AFNetworkReachabilityStatusNotReachable     = 0,
-    AFNetworkReachabilityStatusReachableViaWWAN = 1,
-    AFNetworkReachabilityStatusReachableViaWiFi = 2,
-};
-
-NS_ASSUME_NONNULL_BEGIN
-
-/**
- `AFNetworkReachabilityManager` monitors the reachability of domains, and addresses for both WWAN and WiFi network interfaces.
-
- Reachability can be used to determine background information about why a network operation failed, or to trigger a network operation retrying when a connection is established. It should not be used to prevent a user from initiating a network request, as it's possible that an initial request may be required to establish reachability.
-
- See Apple's Reachability Sample Code ( https://developer.apple.com/library/ios/samplecode/reachability/ )
-
- @warning Instances of `AFNetworkReachabilityManager` must be started with `-startMonitoring` before reachability status can be determined.
- */
-@interface AFNetworkReachabilityManager : NSObject
-
-/**
- The current network reachability status.
- */
-@property (readonly, nonatomic, assign) AFNetworkReachabilityStatus networkReachabilityStatus;
-
-/**
- Whether or not the network is currently reachable.
- */
-@property (readonly, nonatomic, assign, getter = isReachable) BOOL reachable;
-
-/**
- Whether or not the network is currently reachable via WWAN.
- */
-@property (readonly, nonatomic, assign, getter = isReachableViaWWAN) BOOL reachableViaWWAN;
-
-/**
- Whether or not the network is currently reachable via WiFi.
- */
-@property (readonly, nonatomic, assign, getter = isReachableViaWiFi) BOOL reachableViaWiFi;
-
-///---------------------
-/// @name Initialization
-///---------------------
-
-/**
- Returns the shared network reachability manager.
- */
-+ (instancetype)sharedManager;
-
-/**
- Creates and returns a network reachability manager with the default socket address.
- 
- @return An initialized network reachability manager, actively monitoring the default socket address.
- */
-+ (instancetype)manager;
-
-/**
- Creates and returns a network reachability manager for the specified domain.
-
- @param domain The domain used to evaluate network reachability.
-
- @return An initialized network reachability manager, actively monitoring the specified domain.
- */
-+ (instancetype)managerForDomain:(NSString *)domain;
-
-/**
- Creates and returns a network reachability manager for the socket address.
-
- @param address The socket address (`sockaddr_in6`) used to evaluate network reachability.
-
- @return An initialized network reachability manager, actively monitoring the specified socket address.
- */
-+ (instancetype)managerForAddress:(const void *)address;
-
-/**
- Initializes an instance of a network reachability manager from the specified reachability object.
-
- @param reachability The reachability object to monitor.
-
- @return An initialized network reachability manager, actively monitoring the specified reachability.
- */
-- (instancetype)initWithReachability:(SCNetworkReachabilityRef)reachability NS_DESIGNATED_INITIALIZER;
-
-/**
- *  Unavailable initializer
- */
-+ (instancetype)new NS_UNAVAILABLE;
-
-/**
- *  Unavailable initializer
- */
-- (instancetype)init NS_UNAVAILABLE;
-
-///--------------------------------------------------
-/// @name Starting & Stopping Reachability Monitoring
-///--------------------------------------------------
-
-/**
- Starts monitoring for changes in network reachability status.
- */
-- (void)startMonitoring;
-
-/**
- Stops monitoring for changes in network reachability status.
- */
-- (void)stopMonitoring;
-
-///-------------------------------------------------
-/// @name Getting Localized Reachability Description
-///-------------------------------------------------
-
-/**
- Returns a localized string representation of the current network reachability status.
- */
-- (NSString *)localizedNetworkReachabilityStatusString;
-
-///---------------------------------------------------
-/// @name Setting Network Reachability Change Callback
-///---------------------------------------------------
-
-/**
- Sets a callback to be executed when the network availability of the `baseURL` host changes.
-
- @param block A block object to be executed when the network availability of the `baseURL` host changes.. This block has no return value and takes a single argument which represents the various reachability states from the device to the `baseURL`.
- */
-- (void)setReachabilityStatusChangeBlock:(nullable void (^)(AFNetworkReachabilityStatus status))block;
-
-@end
-
-///----------------
-/// @name Constants
-///----------------
-
-/**
- ## Network Reachability
-
- The following constants are provided by `AFNetworkReachabilityManager` as possible network reachability statuses.
-
- enum {
- AFNetworkReachabilityStatusUnknown,
- AFNetworkReachabilityStatusNotReachable,
- AFNetworkReachabilityStatusReachableViaWWAN,
- AFNetworkReachabilityStatusReachableViaWiFi,
- }
-
- `AFNetworkReachabilityStatusUnknown`
- The `baseURL` host reachability is not known.
-
- `AFNetworkReachabilityStatusNotReachable`
- The `baseURL` host cannot be reached.
-
- `AFNetworkReachabilityStatusReachableViaWWAN`
- The `baseURL` host can be reached via a cellular connection, such as EDGE or GPRS.
-
- `AFNetworkReachabilityStatusReachableViaWiFi`
- The `baseURL` host can be reached via a Wi-Fi connection.
-
- ### Keys for Notification UserInfo Dictionary
-
- Strings that are used as keys in a `userInfo` dictionary in a network reachability status change notification.
-
- `AFNetworkingReachabilityNotificationStatusItem`
- A key in the userInfo dictionary in a `AFNetworkingReachabilityDidChangeNotification` notification.
- The corresponding value is an `NSNumber` object representing the `AFNetworkReachabilityStatus` value for the current reachability status.
- */
-
-///--------------------
-/// @name Notifications
-///--------------------
-
-/**
- Posted when network reachability changes.
- This notification assigns no notification object. The `userInfo` dictionary contains an `NSNumber` object under the `AFNetworkingReachabilityNotificationStatusItem` key, representing the `AFNetworkReachabilityStatus` value for the current network reachability.
-
- @warning In order for network reachability to be monitored, include the `SystemConfiguration` framework in the active target's "Link Binary With Library" build phase, and add `#import <SystemConfiguration/SystemConfiguration.h>` to the header prefix of the project (`Prefix.pch`).
- */
-FOUNDATION_EXPORT NSString * const AFNetworkingReachabilityDidChangeNotification;
-FOUNDATION_EXPORT NSString * const AFNetworkingReachabilityNotificationStatusItem;
-
-///--------------------
-/// @name Functions
-///--------------------
-
-/**
- Returns a localized string representation of an `AFNetworkReachabilityStatus` value.
- */
-FOUNDATION_EXPORT NSString * AFStringFromNetworkReachabilityStatus(AFNetworkReachabilityStatus status);
-
-NS_ASSUME_NONNULL_END
-#endif

+ 0 - 34
KulexiuForStudent/build/Debug-iphonesimulator/AFNetworking/AFNetworking.framework/Headers/AFNetworking-umbrella.h

@@ -1,34 +0,0 @@
-#ifdef __OBJC__
-#import <UIKit/UIKit.h>
-#else
-#ifndef FOUNDATION_EXPORT
-#if defined(__cplusplus)
-#define FOUNDATION_EXPORT extern "C"
-#else
-#define FOUNDATION_EXPORT extern
-#endif
-#endif
-#endif
-
-#import "AFNetworking.h"
-#import "AFHTTPSessionManager.h"
-#import "AFURLSessionManager.h"
-#import "AFCompatibilityMacros.h"
-#import "AFNetworkReachabilityManager.h"
-#import "AFSecurityPolicy.h"
-#import "AFURLRequestSerialization.h"
-#import "AFURLResponseSerialization.h"
-#import "AFAutoPurgingImageCache.h"
-#import "AFImageDownloader.h"
-#import "AFNetworkActivityIndicatorManager.h"
-#import "UIActivityIndicatorView+AFNetworking.h"
-#import "UIButton+AFNetworking.h"
-#import "UIImageView+AFNetworking.h"
-#import "UIKit+AFNetworking.h"
-#import "UIProgressView+AFNetworking.h"
-#import "UIRefreshControl+AFNetworking.h"
-#import "WKWebView+AFNetworking.h"
-
-FOUNDATION_EXPORT double AFNetworkingVersionNumber;
-FOUNDATION_EXPORT const unsigned char AFNetworkingVersionString[];
-

+ 0 - 41
KulexiuForStudent/build/Debug-iphonesimulator/AFNetworking/AFNetworking.framework/Headers/AFNetworking.h

@@ -1,41 +0,0 @@
-// AFNetworking.h
-//
-// Copyright (c) 2013 AFNetworking (http://afnetworking.com/)
-// 
-// 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 <Availability.h>
-#import <TargetConditionals.h>
-
-#ifndef _AFNETWORKING_
-    #define _AFNETWORKING_
-
-    #import "AFURLRequestSerialization.h"
-    #import "AFURLResponseSerialization.h"
-    #import "AFSecurityPolicy.h"
-
-#if !TARGET_OS_WATCH
-    #import "AFNetworkReachabilityManager.h"
-#endif
-
-    #import "AFURLSessionManager.h"
-    #import "AFHTTPSessionManager.h"
-
-#endif /* _AFNETWORKING_ */

+ 0 - 161
KulexiuForStudent/build/Debug-iphonesimulator/AFNetworking/AFNetworking.framework/Headers/AFSecurityPolicy.h

@@ -1,161 +0,0 @@
-// AFSecurityPolicy.h
-// Copyright (c) 2011–2016 Alamofire Software Foundation ( http://alamofire.org/ )
-//
-// 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 <Security/Security.h>
-
-typedef NS_ENUM(NSUInteger, AFSSLPinningMode) {
-    AFSSLPinningModeNone,
-    AFSSLPinningModePublicKey,
-    AFSSLPinningModeCertificate,
-};
-
-/**
- `AFSecurityPolicy` evaluates server trust against pinned X.509 certificates and public keys over secure connections.
-
- Adding pinned SSL certificates to your app helps prevent man-in-the-middle attacks and other vulnerabilities. Applications dealing with sensitive customer data or financial information are strongly encouraged to route all communication over an HTTPS connection with SSL pinning configured and enabled.
- */
-
-NS_ASSUME_NONNULL_BEGIN
-
-@interface AFSecurityPolicy : NSObject <NSSecureCoding, NSCopying>
-
-/**
- The criteria by which server trust should be evaluated against the pinned SSL certificates. Defaults to `AFSSLPinningModeNone`.
- */
-@property (readonly, nonatomic, assign) AFSSLPinningMode SSLPinningMode;
-
-/**
- The certificates used to evaluate server trust according to the SSL pinning mode. 
- 
- Note that if pinning is enabled, `evaluateServerTrust:forDomain:` will return true if any pinned certificate matches.
-
- @see policyWithPinningMode:withPinnedCertificates:
- */
-@property (nonatomic, strong, nullable) NSSet <NSData *> *pinnedCertificates;
-
-/**
- Whether or not to trust servers with an invalid or expired SSL certificates. Defaults to `NO`.
- */
-@property (nonatomic, assign) BOOL allowInvalidCertificates;
-
-/**
- Whether or not to validate the domain name in the certificate's CN field. Defaults to `YES`.
- */
-@property (nonatomic, assign) BOOL validatesDomainName;
-
-///-----------------------------------------
-/// @name Getting Certificates from the Bundle
-///-----------------------------------------
-
-/**
- Returns any certificates included in the bundle. If you are using AFNetworking as an embedded framework, you must use this method to find the certificates you have included in your app bundle, and use them when creating your security policy by calling `policyWithPinningMode:withPinnedCertificates`.
-
- @return The certificates included in the given bundle.
- */
-+ (NSSet <NSData *> *)certificatesInBundle:(NSBundle *)bundle;
-
-///-----------------------------------------
-/// @name Getting Specific Security Policies
-///-----------------------------------------
-
-/**
- Returns the shared default security policy, which does not allow invalid certificates, validates domain name, and does not validate against pinned certificates or public keys.
-
- @return The default security policy.
- */
-+ (instancetype)defaultPolicy;
-
-///---------------------
-/// @name Initialization
-///---------------------
-
-/**
- Creates and returns a security policy with the specified pinning mode.
- 
- Certificates with the `.cer` extension found in the main bundle will be pinned. If you want more control over which certificates are pinned, please use `policyWithPinningMode:withPinnedCertificates:` instead.
-
- @param pinningMode The SSL pinning mode.
-
- @return A new security policy.
-
- @see -policyWithPinningMode:withPinnedCertificates:
- */
-+ (instancetype)policyWithPinningMode:(AFSSLPinningMode)pinningMode;
-
-/**
- Creates and returns a security policy with the specified pinning mode.
-
- @param pinningMode The SSL pinning mode.
- @param pinnedCertificates The certificates to pin against.
-
- @return A new security policy.
-
- @see +certificatesInBundle:
- @see -pinnedCertificates
-*/
-+ (instancetype)policyWithPinningMode:(AFSSLPinningMode)pinningMode withPinnedCertificates:(NSSet <NSData *> *)pinnedCertificates;
-
-///------------------------------
-/// @name Evaluating Server Trust
-///------------------------------
-
-/**
- Whether or not the specified server trust should be accepted, based on the security policy.
-
- This method should be used when responding to an authentication challenge from a server.
-
- @param serverTrust The X.509 certificate trust of the server.
- @param domain The domain of serverTrust. If `nil`, the domain will not be validated.
-
- @return Whether or not to trust the server.
- */
-- (BOOL)evaluateServerTrust:(SecTrustRef)serverTrust
-                  forDomain:(nullable NSString *)domain;
-
-@end
-
-NS_ASSUME_NONNULL_END
-
-///----------------
-/// @name Constants
-///----------------
-
-/**
- ## SSL Pinning Modes
-
- The following constants are provided by `AFSSLPinningMode` as possible SSL pinning modes.
-
- enum {
- AFSSLPinningModeNone,
- AFSSLPinningModePublicKey,
- AFSSLPinningModeCertificate,
- }
-
- `AFSSLPinningModeNone`
- Do not used pinned certificates to validate servers.
-
- `AFSSLPinningModePublicKey`
- Validate host certificates against public keys of pinned certificates.
-
- `AFSSLPinningModeCertificate`
- Validate host certificates against pinned certificates.
-*/

+ 0 - 479
KulexiuForStudent/build/Debug-iphonesimulator/AFNetworking/AFNetworking.framework/Headers/AFURLRequestSerialization.h

@@ -1,479 +0,0 @@
-// AFURLRequestSerialization.h
-// Copyright (c) 2011–2016 Alamofire Software Foundation ( http://alamofire.org/ )
-//
-// 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 <TargetConditionals.h>
-
-#if TARGET_OS_IOS || TARGET_OS_TV
-#import <UIKit/UIKit.h>
-#elif TARGET_OS_WATCH
-#import <WatchKit/WatchKit.h>
-#endif
-
-NS_ASSUME_NONNULL_BEGIN
-
-/**
- Returns a percent-escaped string following RFC 3986 for a query string key or value.
- RFC 3986 states that the following characters are "reserved" characters.
- - General Delimiters: ":", "#", "[", "]", "@", "?", "/"
- - Sub-Delimiters: "!", "$", "&", "'", "(", ")", "*", "+", ",", ";", "="
-
- In RFC 3986 - Section 3.4, it states that the "?" and "/" characters should not be escaped to allow
- query strings to include a URL. Therefore, all "reserved" characters with the exception of "?" and "/"
- should be percent-escaped in the query string.
- 
- @param string The string to be percent-escaped.
- 
- @return The percent-escaped string.
- */
-FOUNDATION_EXPORT NSString * AFPercentEscapedStringFromString(NSString *string);
-
-/**
- A helper method to generate encoded url query parameters for appending to the end of a URL.
-
- @param parameters A dictionary of key/values to be encoded.
-
- @return A url encoded query string
- */
-FOUNDATION_EXPORT NSString * AFQueryStringFromParameters(NSDictionary *parameters);
-
-/**
- The `AFURLRequestSerialization` protocol is adopted by an object that encodes parameters for a specified HTTP requests. Request serializers may encode parameters as query strings, HTTP bodies, setting the appropriate HTTP header fields as necessary.
-
- For example, a JSON request serializer may set the HTTP body of the request to a JSON representation, and set the `Content-Type` HTTP header field value to `application/json`.
- */
-@protocol AFURLRequestSerialization <NSObject, NSSecureCoding, NSCopying>
-
-/**
- Returns a request with the specified parameters encoded into a copy of the original request.
-
- @param request The original request.
- @param parameters The parameters to be encoded.
- @param error The error that occurred while attempting to encode the request parameters.
-
- @return A serialized request.
- */
-- (nullable NSURLRequest *)requestBySerializingRequest:(NSURLRequest *)request
-                               withParameters:(nullable id)parameters
-                                        error:(NSError * _Nullable __autoreleasing *)error NS_SWIFT_NOTHROW;
-
-@end
-
-#pragma mark -
-
-/**
-
- */
-typedef NS_ENUM(NSUInteger, AFHTTPRequestQueryStringSerializationStyle) {
-    AFHTTPRequestQueryStringDefaultStyle = 0,
-};
-
-@protocol AFMultipartFormData;
-
-/**
- `AFHTTPRequestSerializer` conforms to the `AFURLRequestSerialization` & `AFURLResponseSerialization` protocols, offering a concrete base implementation of query string / URL form-encoded parameter serialization and default request headers, as well as response status code and content type validation.
-
- Any request or response serializer dealing with HTTP is encouraged to subclass `AFHTTPRequestSerializer` in order to ensure consistent default behavior.
- */
-@interface AFHTTPRequestSerializer : NSObject <AFURLRequestSerialization>
-
-/**
- The string encoding used to serialize parameters. `NSUTF8StringEncoding` by default.
- */
-@property (nonatomic, assign) NSStringEncoding stringEncoding;
-
-/**
- Whether created requests can use the device’s cellular radio (if present). `YES` by default.
-
- @see NSMutableURLRequest -setAllowsCellularAccess:
- */
-@property (nonatomic, assign) BOOL allowsCellularAccess;
-
-/**
- The cache policy of created requests. `NSURLRequestUseProtocolCachePolicy` by default.
-
- @see NSMutableURLRequest -setCachePolicy:
- */
-@property (nonatomic, assign) NSURLRequestCachePolicy cachePolicy;
-
-/**
- Whether created requests should use the default cookie handling. `YES` by default.
-
- @see NSMutableURLRequest -setHTTPShouldHandleCookies:
- */
-@property (nonatomic, assign) BOOL HTTPShouldHandleCookies;
-
-/**
- Whether created requests can continue transmitting data before receiving a response from an earlier transmission. `NO` by default
-
- @see NSMutableURLRequest -setHTTPShouldUsePipelining:
- */
-@property (nonatomic, assign) BOOL HTTPShouldUsePipelining;
-
-/**
- The network service type for created requests. `NSURLNetworkServiceTypeDefault` by default.
-
- @see NSMutableURLRequest -setNetworkServiceType:
- */
-@property (nonatomic, assign) NSURLRequestNetworkServiceType networkServiceType;
-
-/**
- The timeout interval, in seconds, for created requests. The default timeout interval is 60 seconds.
-
- @see NSMutableURLRequest -setTimeoutInterval:
- */
-@property (nonatomic, assign) NSTimeInterval timeoutInterval;
-
-///---------------------------------------
-/// @name Configuring HTTP Request Headers
-///---------------------------------------
-
-/**
- Default HTTP header field values to be applied to serialized requests. By default, these include the following:
-
- - `Accept-Language` with the contents of `NSLocale +preferredLanguages`
- - `User-Agent` with the contents of various bundle identifiers and OS designations
-
- @discussion To add or remove default request headers, use `setValue:forHTTPHeaderField:`.
- */
-@property (readonly, nonatomic, strong) NSDictionary <NSString *, NSString *> *HTTPRequestHeaders;
-
-/**
- Creates and returns a serializer with default configuration.
- */
-+ (instancetype)serializer;
-
-/**
- Sets the value for the HTTP headers set in request objects made by the HTTP client. If `nil`, removes the existing value for that header.
-
- @param field The HTTP header to set a default value for
- @param value The value set as default for the specified header, or `nil`
- */
-- (void)setValue:(nullable NSString *)value
-forHTTPHeaderField:(NSString *)field;
-
-/**
- Returns the value for the HTTP headers set in the request serializer.
-
- @param field The HTTP header to retrieve the default value for
-
- @return The value set as default for the specified header, or `nil`
- */
-- (nullable NSString *)valueForHTTPHeaderField:(NSString *)field;
-
-/**
- Sets the "Authorization" HTTP header set in request objects made by the HTTP client to a basic authentication value with Base64-encoded username and password. This overwrites any existing value for this header.
-
- @param username The HTTP basic auth username
- @param password The HTTP basic auth password
- */
-- (void)setAuthorizationHeaderFieldWithUsername:(NSString *)username
-                                       password:(NSString *)password;
-
-/**
- Clears any existing value for the "Authorization" HTTP header.
- */
-- (void)clearAuthorizationHeader;
-
-///-------------------------------------------------------
-/// @name Configuring Query String Parameter Serialization
-///-------------------------------------------------------
-
-/**
- HTTP methods for which serialized requests will encode parameters as a query string. `GET`, `HEAD`, and `DELETE` by default.
- */
-@property (nonatomic, strong) NSSet <NSString *> *HTTPMethodsEncodingParametersInURI;
-
-/**
- Set the method of query string serialization according to one of the pre-defined styles.
-
- @param style The serialization style.
-
- @see AFHTTPRequestQueryStringSerializationStyle
- */
-- (void)setQueryStringSerializationWithStyle:(AFHTTPRequestQueryStringSerializationStyle)style;
-
-/**
- Set the a custom method of query string serialization according to the specified block.
-
- @param block A block that defines a process of encoding parameters into a query string. This block returns the query string and takes three arguments: the request, the parameters to encode, and the error that occurred when attempting to encode parameters for the given request.
- */
-- (void)setQueryStringSerializationWithBlock:(nullable NSString * _Nullable (^)(NSURLRequest *request, id parameters, NSError * __autoreleasing *error))block;
-
-///-------------------------------
-/// @name Creating Request Objects
-///-------------------------------
-
-/**
- Creates an `NSMutableURLRequest` object with the specified HTTP method and URL string.
-
- If the HTTP method is `GET`, `HEAD`, or `DELETE`, the parameters will be used to construct a url-encoded query string that is appended to the request's URL. Otherwise, the parameters will be encoded according to the value of the `parameterEncoding` property, and set as the request body.
-
- @param method The HTTP method for the request, such as `GET`, `POST`, `PUT`, or `DELETE`. This parameter must not be `nil`.
- @param URLString The URL string used to create the request URL.
- @param parameters The parameters to be either set as a query string for `GET` requests, or the request HTTP body.
- @param error The error that occurred while constructing the request.
-
- @return An `NSMutableURLRequest` object.
- */
-- (nullable NSMutableURLRequest *)requestWithMethod:(NSString *)method
-                                          URLString:(NSString *)URLString
-                                         parameters:(nullable id)parameters
-                                              error:(NSError * _Nullable __autoreleasing *)error;
-
-/**
- Creates an `NSMutableURLRequest` object with the specified HTTP method and URLString, and constructs a `multipart/form-data` HTTP body, using the specified parameters and multipart form data block. See http://www.w3.org/TR/html4/interact/forms.html#h-17.13.4.2
-
- Multipart form requests are automatically streamed, reading files directly from disk along with in-memory data in a single HTTP body. The resulting `NSMutableURLRequest` object has an `HTTPBodyStream` property, so refrain from setting `HTTPBodyStream` or `HTTPBody` on this request object, as it will clear out the multipart form body stream.
-
- @param method The HTTP method for the request. This parameter must not be `GET` or `HEAD`, or `nil`.
- @param URLString The URL string used to create the request URL.
- @param parameters The parameters to be encoded and set in the request HTTP body.
- @param block A block that takes a single argument and appends data to the HTTP body. The block argument is an object adopting the `AFMultipartFormData` protocol.
- @param error The error that occurred while constructing the request.
-
- @return An `NSMutableURLRequest` object
- */
-- (NSMutableURLRequest *)multipartFormRequestWithMethod:(NSString *)method
-                                              URLString:(NSString *)URLString
-                                             parameters:(nullable NSDictionary <NSString *, id> *)parameters
-                              constructingBodyWithBlock:(nullable void (^)(id <AFMultipartFormData> formData))block
-                                                  error:(NSError * _Nullable __autoreleasing *)error;
-
-/**
- Creates an `NSMutableURLRequest` by removing the `HTTPBodyStream` from a request, and asynchronously writing its contents into the specified file, invoking the completion handler when finished.
-
- @param request The multipart form request. The `HTTPBodyStream` property of `request` must not be `nil`.
- @param fileURL The file URL to write multipart form contents to.
- @param handler A handler block to execute.
-
- @discussion There is a bug in `NSURLSessionTask` that causes requests to not send a `Content-Length` header when streaming contents from an HTTP body, which is notably problematic when interacting with the Amazon S3 webservice. As a workaround, this method takes a request constructed with `multipartFormRequestWithMethod:URLString:parameters:constructingBodyWithBlock:error:`, or any other request with an `HTTPBodyStream`, writes the contents to the specified file and returns a copy of the original request with the `HTTPBodyStream` property set to `nil`. From here, the file can either be passed to `AFURLSessionManager -uploadTaskWithRequest:fromFile:progress:completionHandler:`, or have its contents read into an `NSData` that's assigned to the `HTTPBody` property of the request.
-
- @see https://github.com/AFNetworking/AFNetworking/issues/1398
- */
-- (NSMutableURLRequest *)requestWithMultipartFormRequest:(NSURLRequest *)request
-                             writingStreamContentsToFile:(NSURL *)fileURL
-                                       completionHandler:(nullable void (^)(NSError * _Nullable error))handler;
-
-@end
-
-#pragma mark -
-
-/**
- The `AFMultipartFormData` protocol defines the methods supported by the parameter in the block argument of `AFHTTPRequestSerializer -multipartFormRequestWithMethod:URLString:parameters:constructingBodyWithBlock:`.
- */
-@protocol AFMultipartFormData
-
-/**
- Appends the HTTP header `Content-Disposition: file; filename=#{generated filename}; name=#{name}"` and `Content-Type: #{generated mimeType}`, followed by the encoded file data and the multipart form boundary.
-
- The filename and MIME type for this data in the form will be automatically generated, using the last path component of the `fileURL` and system associated MIME type for the `fileURL` extension, respectively.
-
- @param fileURL The URL corresponding to the file whose content will be appended to the form. This parameter must not be `nil`.
- @param name The name to be associated with the specified data. This parameter must not be `nil`.
- @param error If an error occurs, upon return contains an `NSError` object that describes the problem.
-
- @return `YES` if the file data was successfully appended, otherwise `NO`.
- */
-- (BOOL)appendPartWithFileURL:(NSURL *)fileURL
-                         name:(NSString *)name
-                        error:(NSError * _Nullable __autoreleasing *)error;
-
-/**
- Appends the HTTP header `Content-Disposition: file; filename=#{filename}; name=#{name}"` and `Content-Type: #{mimeType}`, followed by the encoded file data and the multipart form boundary.
-
- @param fileURL The URL corresponding to the file whose content will be appended to the form. This parameter must not be `nil`.
- @param name The name to be associated with the specified data. This parameter must not be `nil`.
- @param fileName The file name to be used in the `Content-Disposition` header. This parameter must not be `nil`.
- @param mimeType The declared MIME type of the file data. This parameter must not be `nil`.
- @param error If an error occurs, upon return contains an `NSError` object that describes the problem.
-
- @return `YES` if the file data was successfully appended otherwise `NO`.
- */
-- (BOOL)appendPartWithFileURL:(NSURL *)fileURL
-                         name:(NSString *)name
-                     fileName:(NSString *)fileName
-                     mimeType:(NSString *)mimeType
-                        error:(NSError * _Nullable __autoreleasing *)error;
-
-/**
- Appends the HTTP header `Content-Disposition: file; filename=#{filename}; name=#{name}"` and `Content-Type: #{mimeType}`, followed by the data from the input stream and the multipart form boundary.
-
- @param inputStream The input stream to be appended to the form data
- @param name The name to be associated with the specified input stream. This parameter must not be `nil`.
- @param fileName The filename to be associated with the specified input stream. This parameter must not be `nil`.
- @param length The length of the specified input stream in bytes.
- @param mimeType The MIME type of the specified data. (For example, the MIME type for a JPEG image is image/jpeg.) For a list of valid MIME types, see http://www.iana.org/assignments/media-types/. This parameter must not be `nil`.
- */
-- (void)appendPartWithInputStream:(nullable NSInputStream *)inputStream
-                             name:(NSString *)name
-                         fileName:(NSString *)fileName
-                           length:(int64_t)length
-                         mimeType:(NSString *)mimeType;
-
-/**
- Appends the HTTP header `Content-Disposition: file; filename=#{filename}; name=#{name}"` and `Content-Type: #{mimeType}`, followed by the encoded file data and the multipart form boundary.
-
- @param data The data to be encoded and appended to the form data.
- @param name The name to be associated with the specified data. This parameter must not be `nil`.
- @param fileName The filename to be associated with the specified data. This parameter must not be `nil`.
- @param mimeType The MIME type of the specified data. (For example, the MIME type for a JPEG image is image/jpeg.) For a list of valid MIME types, see http://www.iana.org/assignments/media-types/. This parameter must not be `nil`.
- */
-- (void)appendPartWithFileData:(NSData *)data
-                          name:(NSString *)name
-                      fileName:(NSString *)fileName
-                      mimeType:(NSString *)mimeType;
-
-/**
- Appends the HTTP headers `Content-Disposition: form-data; name=#{name}"`, followed by the encoded data and the multipart form boundary.
-
- @param data The data to be encoded and appended to the form data.
- @param name The name to be associated with the specified data. This parameter must not be `nil`.
- */
-
-- (void)appendPartWithFormData:(NSData *)data
-                          name:(NSString *)name;
-
-
-/**
- Appends HTTP headers, followed by the encoded data and the multipart form boundary.
-
- @param headers The HTTP headers to be appended to the form data.
- @param body The data to be encoded and appended to the form data. This parameter must not be `nil`.
- */
-- (void)appendPartWithHeaders:(nullable NSDictionary <NSString *, NSString *> *)headers
-                         body:(NSData *)body;
-
-/**
- Throttles request bandwidth by limiting the packet size and adding a delay for each chunk read from the upload stream.
-
- When uploading over a 3G or EDGE connection, requests may fail with "request body stream exhausted". Setting a maximum packet size and delay according to the recommended values (`kAFUploadStream3GSuggestedPacketSize` and `kAFUploadStream3GSuggestedDelay`) lowers the risk of the input stream exceeding its allocated bandwidth. Unfortunately, there is no definite way to distinguish between a 3G, EDGE, or LTE connection over `NSURLConnection`. As such, it is not recommended that you throttle bandwidth based solely on network reachability. Instead, you should consider checking for the "request body stream exhausted" in a failure block, and then retrying the request with throttled bandwidth.
-
- @param numberOfBytes Maximum packet size, in number of bytes. The default packet size for an input stream is 16kb.
- @param delay Duration of delay each time a packet is read. By default, no delay is set.
- */
-- (void)throttleBandwidthWithPacketSize:(NSUInteger)numberOfBytes
-                                  delay:(NSTimeInterval)delay;
-
-@end
-
-#pragma mark -
-
-/**
- `AFJSONRequestSerializer` is a subclass of `AFHTTPRequestSerializer` that encodes parameters as JSON using `NSJSONSerialization`, setting the `Content-Type` of the encoded request to `application/json`.
- */
-@interface AFJSONRequestSerializer : AFHTTPRequestSerializer
-
-/**
- Options for writing the request JSON data from Foundation objects. For possible values, see the `NSJSONSerialization` documentation section "NSJSONWritingOptions". `0` by default.
- */
-@property (nonatomic, assign) NSJSONWritingOptions writingOptions;
-
-/**
- Creates and returns a JSON serializer with specified reading and writing options.
-
- @param writingOptions The specified JSON writing options.
- */
-+ (instancetype)serializerWithWritingOptions:(NSJSONWritingOptions)writingOptions;
-
-@end
-
-#pragma mark -
-
-/**
- `AFPropertyListRequestSerializer` is a subclass of `AFHTTPRequestSerializer` that encodes parameters as JSON using `NSPropertyListSerializer`, setting the `Content-Type` of the encoded request to `application/x-plist`.
- */
-@interface AFPropertyListRequestSerializer : AFHTTPRequestSerializer
-
-/**
- The property list format. Possible values are described in "NSPropertyListFormat".
- */
-@property (nonatomic, assign) NSPropertyListFormat format;
-
-/**
- @warning The `writeOptions` property is currently unused.
- */
-@property (nonatomic, assign) NSPropertyListWriteOptions writeOptions;
-
-/**
- Creates and returns a property list serializer with a specified format, read options, and write options.
-
- @param format The property list format.
- @param writeOptions The property list write options.
-
- @warning The `writeOptions` property is currently unused.
- */
-+ (instancetype)serializerWithFormat:(NSPropertyListFormat)format
-                        writeOptions:(NSPropertyListWriteOptions)writeOptions;
-
-@end
-
-#pragma mark -
-
-///----------------
-/// @name Constants
-///----------------
-
-/**
- ## Error Domains
-
- The following error domain is predefined.
-
- - `NSString * const AFURLRequestSerializationErrorDomain`
-
- ### Constants
-
- `AFURLRequestSerializationErrorDomain`
- AFURLRequestSerializer errors. Error codes for `AFURLRequestSerializationErrorDomain` correspond to codes in `NSURLErrorDomain`.
- */
-FOUNDATION_EXPORT NSString * const AFURLRequestSerializationErrorDomain;
-
-/**
- ## User info dictionary keys
-
- These keys may exist in the user info dictionary, in addition to those defined for NSError.
-
- - `NSString * const AFNetworkingOperationFailingURLRequestErrorKey`
-
- ### Constants
-
- `AFNetworkingOperationFailingURLRequestErrorKey`
- The corresponding value is an `NSURLRequest` containing the request of the operation associated with an error. This key is only present in the `AFURLRequestSerializationErrorDomain`.
- */
-FOUNDATION_EXPORT NSString * const AFNetworkingOperationFailingURLRequestErrorKey;
-
-/**
- ## Throttling Bandwidth for HTTP Request Input Streams
-
- @see -throttleBandwidthWithPacketSize:delay:
-
- ### Constants
-
- `kAFUploadStream3GSuggestedPacketSize`
- Maximum packet size, in number of bytes. Equal to 16kb.
-
- `kAFUploadStream3GSuggestedDelay`
- Duration of delay each time a packet is read. Equal to 0.2 seconds.
- */
-FOUNDATION_EXPORT NSUInteger const kAFUploadStream3GSuggestedPacketSize;
-FOUNDATION_EXPORT NSTimeInterval const kAFUploadStream3GSuggestedDelay;
-
-NS_ASSUME_NONNULL_END

+ 0 - 313
KulexiuForStudent/build/Debug-iphonesimulator/AFNetworking/AFNetworking.framework/Headers/AFURLResponseSerialization.h

@@ -1,313 +0,0 @@
-// AFURLResponseSerialization.h
-// Copyright (c) 2011–2016 Alamofire Software Foundation ( http://alamofire.org/ )
-//
-// 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 <CoreGraphics/CoreGraphics.h>
-
-NS_ASSUME_NONNULL_BEGIN
-
-/**
- Recursively removes `NSNull` values from a JSON object.
-*/
-FOUNDATION_EXPORT id AFJSONObjectByRemovingKeysWithNullValues(id JSONObject, NSJSONReadingOptions readingOptions);
-
-/**
- The `AFURLResponseSerialization` protocol is adopted by an object that decodes data into a more useful object representation, according to details in the server response. Response serializers may additionally perform validation on the incoming response and data.
-
- For example, a JSON response serializer may check for an acceptable status code (`2XX` range) and content type (`application/json`), decoding a valid JSON response into an object.
- */
-@protocol AFURLResponseSerialization <NSObject, NSSecureCoding, NSCopying>
-
-/**
- The response object decoded from the data associated with a specified response.
-
- @param response The response to be processed.
- @param data The response data to be decoded.
- @param error The error that occurred while attempting to decode the response data.
-
- @return The object decoded from the specified response data.
- */
-- (nullable id)responseObjectForResponse:(nullable NSURLResponse *)response
-                           data:(nullable NSData *)data
-                          error:(NSError * _Nullable __autoreleasing *)error NS_SWIFT_NOTHROW;
-
-@end
-
-#pragma mark -
-
-/**
- `AFHTTPResponseSerializer` conforms to the `AFURLRequestSerialization` & `AFURLResponseSerialization` protocols, offering a concrete base implementation of query string / URL form-encoded parameter serialization and default request headers, as well as response status code and content type validation.
-
- Any request or response serializer dealing with HTTP is encouraged to subclass `AFHTTPResponseSerializer` in order to ensure consistent default behavior.
- */
-@interface AFHTTPResponseSerializer : NSObject <AFURLResponseSerialization>
-
-- (instancetype)init;
-
-/**
- Creates and returns a serializer with default configuration.
- */
-+ (instancetype)serializer;
-
-///-----------------------------------------
-/// @name Configuring Response Serialization
-///-----------------------------------------
-
-/**
- The acceptable HTTP status codes for responses. When non-`nil`, responses with status codes not contained by the set will result in an error during validation.
-
- See http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html
- */
-@property (nonatomic, copy, nullable) NSIndexSet *acceptableStatusCodes;
-
-/**
- The acceptable MIME types for responses. When non-`nil`, responses with a `Content-Type` with MIME types that do not intersect with the set will result in an error during validation.
- */
-@property (nonatomic, copy, nullable) NSSet <NSString *> *acceptableContentTypes;
-
-/**
- Validates the specified response and data.
-
- In its base implementation, this method checks for an acceptable status code and content type. Subclasses may wish to add other domain-specific checks.
-
- @param response The response to be validated.
- @param data The data associated with the response.
- @param error The error that occurred while attempting to validate the response.
-
- @return `YES` if the response is valid, otherwise `NO`.
- */
-- (BOOL)validateResponse:(nullable NSHTTPURLResponse *)response
-                    data:(nullable NSData *)data
-                   error:(NSError * _Nullable __autoreleasing *)error;
-
-@end
-
-#pragma mark -
-
-
-/**
- `AFJSONResponseSerializer` is a subclass of `AFHTTPResponseSerializer` that validates and decodes JSON responses.
-
- By default, `AFJSONResponseSerializer` accepts the following MIME types, which includes the official standard, `application/json`, as well as other commonly-used types:
-
- - `application/json`
- - `text/json`
- - `text/javascript`
-
- In RFC 7159 - Section 8.1, it states that JSON text is required to be encoded in UTF-8, UTF-16, or UTF-32, and the default encoding is UTF-8. NSJSONSerialization provides support for all the encodings listed in the specification, and recommends UTF-8 for efficiency. Using an unsupported encoding will result in serialization error. See the `NSJSONSerialization` documentation for more details.
- */
-@interface AFJSONResponseSerializer : AFHTTPResponseSerializer
-
-- (instancetype)init;
-
-/**
- Options for reading the response JSON data and creating the Foundation objects. For possible values, see the `NSJSONSerialization` documentation section "NSJSONReadingOptions". `0` by default.
- */
-@property (nonatomic, assign) NSJSONReadingOptions readingOptions;
-
-/**
- Whether to remove keys with `NSNull` values from response JSON. Defaults to `NO`.
- */
-@property (nonatomic, assign) BOOL removesKeysWithNullValues;
-
-/**
- Creates and returns a JSON serializer with specified reading and writing options.
-
- @param readingOptions The specified JSON reading options.
- */
-+ (instancetype)serializerWithReadingOptions:(NSJSONReadingOptions)readingOptions;
-
-@end
-
-#pragma mark -
-
-/**
- `AFXMLParserResponseSerializer` is a subclass of `AFHTTPResponseSerializer` that validates and decodes XML responses as an `NSXMLParser` objects.
-
- By default, `AFXMLParserResponseSerializer` accepts the following MIME types, which includes the official standard, `application/xml`, as well as other commonly-used types:
-
- - `application/xml`
- - `text/xml`
- */
-@interface AFXMLParserResponseSerializer : AFHTTPResponseSerializer
-
-@end
-
-#pragma mark -
-
-#ifdef __MAC_OS_X_VERSION_MIN_REQUIRED
-
-/**
- `AFXMLDocumentResponseSerializer` is a subclass of `AFHTTPResponseSerializer` that validates and decodes XML responses as an `NSXMLDocument` objects.
-
- By default, `AFXMLDocumentResponseSerializer` accepts the following MIME types, which includes the official standard, `application/xml`, as well as other commonly-used types:
-
- - `application/xml`
- - `text/xml`
- */
-@interface AFXMLDocumentResponseSerializer : AFHTTPResponseSerializer
-
-- (instancetype)init;
-
-/**
- Input and output options specifically intended for `NSXMLDocument` objects. For possible values, see the `NSXMLDocument` documentation section "Input and Output Options". `0` by default.
- */
-@property (nonatomic, assign) NSUInteger options;
-
-/**
- Creates and returns an XML document serializer with the specified options.
-
- @param mask The XML document options.
- */
-+ (instancetype)serializerWithXMLDocumentOptions:(NSUInteger)mask;
-
-@end
-
-#endif
-
-#pragma mark -
-
-/**
- `AFPropertyListResponseSerializer` is a subclass of `AFHTTPResponseSerializer` that validates and decodes XML responses as an `NSXMLDocument` objects.
-
- By default, `AFPropertyListResponseSerializer` accepts the following MIME types:
-
- - `application/x-plist`
- */
-@interface AFPropertyListResponseSerializer : AFHTTPResponseSerializer
-
-- (instancetype)init;
-
-/**
- The property list format. Possible values are described in "NSPropertyListFormat".
- */
-@property (nonatomic, assign) NSPropertyListFormat format;
-
-/**
- The property list reading options. Possible values are described in "NSPropertyListMutabilityOptions."
- */
-@property (nonatomic, assign) NSPropertyListReadOptions readOptions;
-
-/**
- Creates and returns a property list serializer with a specified format, read options, and write options.
-
- @param format The property list format.
- @param readOptions The property list reading options.
- */
-+ (instancetype)serializerWithFormat:(NSPropertyListFormat)format
-                         readOptions:(NSPropertyListReadOptions)readOptions;
-
-@end
-
-#pragma mark -
-
-/**
- `AFImageResponseSerializer` is a subclass of `AFHTTPResponseSerializer` that validates and decodes image responses.
-
- By default, `AFImageResponseSerializer` accepts the following MIME types, which correspond to the image formats supported by UIImage or NSImage:
-
- - `image/tiff`
- - `image/jpeg`
- - `image/gif`
- - `image/png`
- - `image/ico`
- - `image/x-icon`
- - `image/bmp`
- - `image/x-bmp`
- - `image/x-xbitmap`
- - `image/x-win-bitmap`
- */
-@interface AFImageResponseSerializer : AFHTTPResponseSerializer
-
-#if TARGET_OS_IOS || TARGET_OS_TV || TARGET_OS_WATCH
-/**
- The scale factor used when interpreting the image data to construct `responseImage`. Specifying a scale factor of 1.0 results in an image whose size matches the pixel-based dimensions of the image. Applying a different scale factor changes the size of the image as reported by the size property. This is set to the value of scale of the main screen by default, which automatically scales images for retina displays, for instance.
- */
-@property (nonatomic, assign) CGFloat imageScale;
-
-/**
- Whether to automatically inflate response image data for compressed formats (such as PNG or JPEG). Enabling this can significantly improve drawing performance on iOS when used with `setCompletionBlockWithSuccess:failure:`, as it allows a bitmap representation to be constructed in the background rather than on the main thread. `YES` by default.
- */
-@property (nonatomic, assign) BOOL automaticallyInflatesResponseImage;
-#endif
-
-@end
-
-#pragma mark -
-
-/**
- `AFCompoundSerializer` is a subclass of `AFHTTPResponseSerializer` that delegates the response serialization to the first `AFHTTPResponseSerializer` object that returns an object for `responseObjectForResponse:data:error:`, falling back on the default behavior of `AFHTTPResponseSerializer`. This is useful for supporting multiple potential types and structures of server responses with a single serializer.
- */
-@interface AFCompoundResponseSerializer : AFHTTPResponseSerializer
-
-/**
- The component response serializers.
- */
-@property (readonly, nonatomic, copy) NSArray <id<AFURLResponseSerialization>> *responseSerializers;
-
-/**
- Creates and returns a compound serializer comprised of the specified response serializers.
-
- @warning Each response serializer specified must be a subclass of `AFHTTPResponseSerializer`, and response to `-validateResponse:data:error:`.
- */
-+ (instancetype)compoundSerializerWithResponseSerializers:(NSArray <id<AFURLResponseSerialization>> *)responseSerializers;
-
-@end
-
-///----------------
-/// @name Constants
-///----------------
-
-/**
- ## Error Domains
-
- The following error domain is predefined.
-
- - `NSString * const AFURLResponseSerializationErrorDomain`
-
- ### Constants
-
- `AFURLResponseSerializationErrorDomain`
- AFURLResponseSerializer errors. Error codes for `AFURLResponseSerializationErrorDomain` correspond to codes in `NSURLErrorDomain`.
- */
-FOUNDATION_EXPORT NSString * const AFURLResponseSerializationErrorDomain;
-
-/**
- ## User info dictionary keys
-
- These keys may exist in the user info dictionary, in addition to those defined for NSError.
-
- - `NSString * const AFNetworkingOperationFailingURLResponseErrorKey`
- - `NSString * const AFNetworkingOperationFailingURLResponseDataErrorKey`
-
- ### Constants
-
- `AFNetworkingOperationFailingURLResponseErrorKey`
- The corresponding value is an `NSURLResponse` containing the response of the operation associated with an error. This key is only present in the `AFURLResponseSerializationErrorDomain`.
-
- `AFNetworkingOperationFailingURLResponseDataErrorKey`
- The corresponding value is an `NSData` containing the original data of the operation associated with an error. This key is only present in the `AFURLResponseSerializationErrorDomain`.
- */
-FOUNDATION_EXPORT NSString * const AFNetworkingOperationFailingURLResponseErrorKey;
-
-FOUNDATION_EXPORT NSString * const AFNetworkingOperationFailingURLResponseDataErrorKey;
-
-NS_ASSUME_NONNULL_END

+ 0 - 516
KulexiuForStudent/build/Debug-iphonesimulator/AFNetworking/AFNetworking.framework/Headers/AFURLSessionManager.h

@@ -1,516 +0,0 @@
-// AFURLSessionManager.h
-// Copyright (c) 2011–2016 Alamofire Software Foundation ( http://alamofire.org/ )
-//
-// 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 "AFURLResponseSerialization.h"
-#import "AFURLRequestSerialization.h"
-#import "AFSecurityPolicy.h"
-#import "AFCompatibilityMacros.h"
-#if !TARGET_OS_WATCH
-#import "AFNetworkReachabilityManager.h"
-#endif
-
-/**
- `AFURLSessionManager` creates and manages an `NSURLSession` object based on a specified `NSURLSessionConfiguration` object, which conforms to `<NSURLSessionTaskDelegate>`, `<NSURLSessionDataDelegate>`, `<NSURLSessionDownloadDelegate>`, and `<NSURLSessionDelegate>`.
-
- ## Subclassing Notes
-
- This is the base class for `AFHTTPSessionManager`, which adds functionality specific to making HTTP requests. If you are looking to extend `AFURLSessionManager` specifically for HTTP, consider subclassing `AFHTTPSessionManager` instead.
-
- ## NSURLSession & NSURLSessionTask Delegate Methods
-
- `AFURLSessionManager` implements the following delegate methods:
-
- ### `NSURLSessionDelegate`
-
- - `URLSession:didBecomeInvalidWithError:`
- - `URLSession:didReceiveChallenge:completionHandler:`
- - `URLSessionDidFinishEventsForBackgroundURLSession:`
-
- ### `NSURLSessionTaskDelegate`
-
- - `URLSession:willPerformHTTPRedirection:newRequest:completionHandler:`
- - `URLSession:task:didReceiveChallenge:completionHandler:`
- - `URLSession:task:didSendBodyData:totalBytesSent:totalBytesExpectedToSend:`
- - `URLSession:task:needNewBodyStream:`
- - `URLSession:task:didCompleteWithError:`
-
- ### `NSURLSessionDataDelegate`
-
- - `URLSession:dataTask:didReceiveResponse:completionHandler:`
- - `URLSession:dataTask:didBecomeDownloadTask:`
- - `URLSession:dataTask:didReceiveData:`
- - `URLSession:dataTask:willCacheResponse:completionHandler:`
-
- ### `NSURLSessionDownloadDelegate`
-
- - `URLSession:downloadTask:didFinishDownloadingToURL:`
- - `URLSession:downloadTask:didWriteData:totalBytesWritten:totalBytesExpectedToWrite:`
- - `URLSession:downloadTask:didResumeAtOffset:expectedTotalBytes:`
-
- If any of these methods are overridden in a subclass, they _must_ call the `super` implementation first.
-
- ## Network Reachability Monitoring
-
- Network reachability status and change monitoring is available through the `reachabilityManager` property. Applications may choose to monitor network reachability conditions in order to prevent or suspend any outbound requests. See `AFNetworkReachabilityManager` for more details.
-
- ## NSCoding Caveats
-
- - Encoded managers do not include any block properties. Be sure to set delegate callback blocks when using `-initWithCoder:` or `NSKeyedUnarchiver`.
-
- ## NSCopying Caveats
-
- - `-copy` and `-copyWithZone:` return a new manager with a new `NSURLSession` created from the configuration of the original.
- - Operation copies do not include any delegate callback blocks, as they often strongly captures a reference to `self`, which would otherwise have the unintuitive side-effect of pointing to the _original_ session manager when copied.
-
- @warning Managers for background sessions must be owned for the duration of their use. This can be accomplished by creating an application-wide or shared singleton instance.
- */
-
-NS_ASSUME_NONNULL_BEGIN
-
-@interface AFURLSessionManager : NSObject <NSURLSessionDelegate, NSURLSessionTaskDelegate, NSURLSessionDataDelegate, NSURLSessionDownloadDelegate, NSSecureCoding, NSCopying>
-
-/**
- The managed session.
- */
-@property (readonly, nonatomic, strong) NSURLSession *session;
-
-/**
- The operation queue on which delegate callbacks are run.
- */
-@property (readonly, nonatomic, strong) NSOperationQueue *operationQueue;
-
-/**
- Responses sent from the server in data tasks created with `dataTaskWithRequest:success:failure:` and run using the `GET` / `POST` / et al. convenience methods are automatically validated and serialized by the response serializer. By default, this property is set to an instance of `AFJSONResponseSerializer`.
-
- @warning `responseSerializer` must not be `nil`.
- */
-@property (nonatomic, strong) id <AFURLResponseSerialization> responseSerializer;
-
-///-------------------------------
-/// @name Managing Security Policy
-///-------------------------------
-
-/**
- The security policy used by created session to evaluate server trust for secure connections. `AFURLSessionManager` uses the `defaultPolicy` unless otherwise specified.
- */
-@property (nonatomic, strong) AFSecurityPolicy *securityPolicy;
-
-#if !TARGET_OS_WATCH
-///--------------------------------------
-/// @name Monitoring Network Reachability
-///--------------------------------------
-
-/**
- The network reachability manager. `AFURLSessionManager` uses the `sharedManager` by default.
- */
-@property (readwrite, nonatomic, strong) AFNetworkReachabilityManager *reachabilityManager;
-#endif
-
-///----------------------------
-/// @name Getting Session Tasks
-///----------------------------
-
-/**
- The data, upload, and download tasks currently run by the managed session.
- */
-@property (readonly, nonatomic, strong) NSArray <NSURLSessionTask *> *tasks;
-
-/**
- The data tasks currently run by the managed session.
- */
-@property (readonly, nonatomic, strong) NSArray <NSURLSessionDataTask *> *dataTasks;
-
-/**
- The upload tasks currently run by the managed session.
- */
-@property (readonly, nonatomic, strong) NSArray <NSURLSessionUploadTask *> *uploadTasks;
-
-/**
- The download tasks currently run by the managed session.
- */
-@property (readonly, nonatomic, strong) NSArray <NSURLSessionDownloadTask *> *downloadTasks;
-
-///-------------------------------
-/// @name Managing Callback Queues
-///-------------------------------
-
-/**
- The dispatch queue for `completionBlock`. If `NULL` (default), the main queue is used.
- */
-@property (nonatomic, strong, nullable) dispatch_queue_t completionQueue;
-
-/**
- The dispatch group for `completionBlock`. If `NULL` (default), a private dispatch group is used.
- */
-@property (nonatomic, strong, nullable) dispatch_group_t completionGroup;
-
-///---------------------
-/// @name Initialization
-///---------------------
-
-/**
- Creates and returns a manager for a session created with the specified configuration. This is the designated initializer.
-
- @param configuration The configuration used to create the managed session.
-
- @return A manager for a newly-created session.
- */
-- (instancetype)initWithSessionConfiguration:(nullable NSURLSessionConfiguration *)configuration NS_DESIGNATED_INITIALIZER;
-
-/**
- Invalidates the managed session, optionally canceling pending tasks and optionally resets given session.
- 
- @param cancelPendingTasks  Whether or not to cancel pending tasks.
- @param resetSession        Whether or not to reset the session of the manager.
- */
-- (void)invalidateSessionCancelingTasks:(BOOL)cancelPendingTasks resetSession:(BOOL)resetSession;
-
-///-------------------------
-/// @name Running Data Tasks
-///-------------------------
-
-/**
- Creates an `NSURLSessionDataTask` with the specified request.
-
- @param request The HTTP request for the request.
- @param uploadProgressBlock A block object to be executed when the upload progress is updated. Note this block is called on the session queue, not the main queue.
- @param downloadProgressBlock A block object to be executed when the download progress is updated. Note this block is called on the session queue, not the main queue.
- @param completionHandler A block object to be executed when the task finishes. This block has no return value and takes three arguments: the server response, the response object created by that serializer, and the error that occurred, if any.
- */
-- (NSURLSessionDataTask *)dataTaskWithRequest:(NSURLRequest *)request
-                               uploadProgress:(nullable void (^)(NSProgress *uploadProgress))uploadProgressBlock
-                             downloadProgress:(nullable void (^)(NSProgress *downloadProgress))downloadProgressBlock
-                            completionHandler:(nullable void (^)(NSURLResponse *response, id _Nullable responseObject,  NSError * _Nullable error))completionHandler;
-
-///---------------------------
-/// @name Running Upload Tasks
-///---------------------------
-
-/**
- Creates an `NSURLSessionUploadTask` with the specified request for a local file.
-
- @param request The HTTP request for the request.
- @param fileURL A URL to the local file to be uploaded.
- @param uploadProgressBlock A block object to be executed when the upload progress is updated. Note this block is called on the session queue, not the main queue.
- @param completionHandler A block object to be executed when the task finishes. This block has no return value and takes three arguments: the server response, the response object created by that serializer, and the error that occurred, if any.
-
- @see `attemptsToRecreateUploadTasksForBackgroundSessions`
- */
-- (NSURLSessionUploadTask *)uploadTaskWithRequest:(NSURLRequest *)request
-                                         fromFile:(NSURL *)fileURL
-                                         progress:(nullable void (^)(NSProgress *uploadProgress))uploadProgressBlock
-                                completionHandler:(nullable void (^)(NSURLResponse *response, id _Nullable responseObject, NSError  * _Nullable error))completionHandler;
-
-/**
- Creates an `NSURLSessionUploadTask` with the specified request for an HTTP body.
-
- @param request The HTTP request for the request.
- @param bodyData A data object containing the HTTP body to be uploaded.
- @param uploadProgressBlock A block object to be executed when the upload progress is updated. Note this block is called on the session queue, not the main queue.
- @param completionHandler A block object to be executed when the task finishes. This block has no return value and takes three arguments: the server response, the response object created by that serializer, and the error that occurred, if any.
- */
-- (NSURLSessionUploadTask *)uploadTaskWithRequest:(NSURLRequest *)request
-                                         fromData:(nullable NSData *)bodyData
-                                         progress:(nullable void (^)(NSProgress *uploadProgress))uploadProgressBlock
-                                completionHandler:(nullable void (^)(NSURLResponse *response, id _Nullable responseObject, NSError * _Nullable error))completionHandler;
-
-/**
- Creates an `NSURLSessionUploadTask` with the specified streaming request.
-
- @param request The HTTP request for the request.
- @param uploadProgressBlock A block object to be executed when the upload progress is updated. Note this block is called on the session queue, not the main queue.
- @param completionHandler A block object to be executed when the task finishes. This block has no return value and takes three arguments: the server response, the response object created by that serializer, and the error that occurred, if any.
- */
-- (NSURLSessionUploadTask *)uploadTaskWithStreamedRequest:(NSURLRequest *)request
-                                                 progress:(nullable void (^)(NSProgress *uploadProgress))uploadProgressBlock
-                                        completionHandler:(nullable void (^)(NSURLResponse *response, id _Nullable responseObject, NSError * _Nullable error))completionHandler;
-
-///-----------------------------
-/// @name Running Download Tasks
-///-----------------------------
-
-/**
- Creates an `NSURLSessionDownloadTask` with the specified request.
-
- @param request The HTTP request for the request.
- @param downloadProgressBlock A block object to be executed when the download progress is updated. Note this block is called on the session queue, not the main queue.
- @param destination A block object to be executed in order to determine the destination of the downloaded file. This block takes two arguments, the target path & the server response, and returns the desired file URL of the resulting download. The temporary file used during the download will be automatically deleted after being moved to the returned URL.
- @param completionHandler A block to be executed when a task finishes. This block has no return value and takes three arguments: the server response, the path of the downloaded file, and the error describing the network or parsing error that occurred, if any.
-
- @warning If using a background `NSURLSessionConfiguration` on iOS, these blocks will be lost when the app is terminated. Background sessions may prefer to use `-setDownloadTaskDidFinishDownloadingBlock:` to specify the URL for saving the downloaded file, rather than the destination block of this method.
- */
-- (NSURLSessionDownloadTask *)downloadTaskWithRequest:(NSURLRequest *)request
-                                             progress:(nullable void (^)(NSProgress *downloadProgress))downloadProgressBlock
-                                          destination:(nullable NSURL * (^)(NSURL *targetPath, NSURLResponse *response))destination
-                                    completionHandler:(nullable void (^)(NSURLResponse *response, NSURL * _Nullable filePath, NSError * _Nullable error))completionHandler;
-
-/**
- Creates an `NSURLSessionDownloadTask` with the specified resume data.
-
- @param resumeData The data used to resume downloading.
- @param downloadProgressBlock A block object to be executed when the download progress is updated. Note this block is called on the session queue, not the main queue.
- @param destination A block object to be executed in order to determine the destination of the downloaded file. This block takes two arguments, the target path & the server response, and returns the desired file URL of the resulting download. The temporary file used during the download will be automatically deleted after being moved to the returned URL.
- @param completionHandler A block to be executed when a task finishes. This block has no return value and takes three arguments: the server response, the path of the downloaded file, and the error describing the network or parsing error that occurred, if any.
- */
-- (NSURLSessionDownloadTask *)downloadTaskWithResumeData:(NSData *)resumeData
-                                                progress:(nullable void (^)(NSProgress *downloadProgress))downloadProgressBlock
-                                             destination:(nullable NSURL * (^)(NSURL *targetPath, NSURLResponse *response))destination
-                                       completionHandler:(nullable void (^)(NSURLResponse *response, NSURL * _Nullable filePath, NSError * _Nullable error))completionHandler;
-
-///---------------------------------
-/// @name Getting Progress for Tasks
-///---------------------------------
-
-/**
- Returns the upload progress of the specified task.
-
- @param task The session task. Must not be `nil`.
-
- @return An `NSProgress` object reporting the upload progress of a task, or `nil` if the progress is unavailable.
- */
-- (nullable NSProgress *)uploadProgressForTask:(NSURLSessionTask *)task;
-
-/**
- Returns the download progress of the specified task.
-
- @param task The session task. Must not be `nil`.
-
- @return An `NSProgress` object reporting the download progress of a task, or `nil` if the progress is unavailable.
- */
-- (nullable NSProgress *)downloadProgressForTask:(NSURLSessionTask *)task;
-
-///-----------------------------------------
-/// @name Setting Session Delegate Callbacks
-///-----------------------------------------
-
-/**
- Sets a block to be executed when the managed session becomes invalid, as handled by the `NSURLSessionDelegate` method `URLSession:didBecomeInvalidWithError:`.
-
- @param block A block object to be executed when the managed session becomes invalid. The block has no return value, and takes two arguments: the session, and the error related to the cause of invalidation.
- */
-- (void)setSessionDidBecomeInvalidBlock:(nullable void (^)(NSURLSession *session, NSError *error))block;
-
-/**
- Sets a block to be executed when a connection level authentication challenge has occurred, as handled by the `NSURLSessionDelegate` method `URLSession:didReceiveChallenge:completionHandler:`.
-
- @param block A block object to be executed when a connection level authentication challenge has occurred. The block returns the disposition of the authentication challenge, and takes three arguments: the session, the authentication challenge, and a pointer to the credential that should be used to resolve the challenge.
-
- @warning Implementing a session authentication challenge handler yourself totally bypasses AFNetworking's security policy defined in `AFSecurityPolicy`. Make sure you fully understand the implications before implementing a custom session authentication challenge handler. If you do not want to bypass AFNetworking's security policy, use `setTaskDidReceiveAuthenticationChallengeBlock:` instead.
-
- @see -securityPolicy
- @see -setTaskDidReceiveAuthenticationChallengeBlock:
- */
-- (void)setSessionDidReceiveAuthenticationChallengeBlock:(nullable NSURLSessionAuthChallengeDisposition (^)(NSURLSession *session, NSURLAuthenticationChallenge *challenge, NSURLCredential * _Nullable __autoreleasing * _Nullable credential))block;
-
-///--------------------------------------
-/// @name Setting Task Delegate Callbacks
-///--------------------------------------
-
-/**
- Sets a block to be executed when a task requires a new request body stream to send to the remote server, as handled by the `NSURLSessionTaskDelegate` method `URLSession:task:needNewBodyStream:`.
-
- @param block A block object to be executed when a task requires a new request body stream.
- */
-- (void)setTaskNeedNewBodyStreamBlock:(nullable NSInputStream * (^)(NSURLSession *session, NSURLSessionTask *task))block;
-
-/**
- Sets a block to be executed when an HTTP request is attempting to perform a redirection to a different URL, as handled by the `NSURLSessionTaskDelegate` method `URLSession:willPerformHTTPRedirection:newRequest:completionHandler:`.
-
- @param block A block object to be executed when an HTTP request is attempting to perform a redirection to a different URL. The block returns the request to be made for the redirection, and takes four arguments: the session, the task, the redirection response, and the request corresponding to the redirection response.
- */
-- (void)setTaskWillPerformHTTPRedirectionBlock:(nullable NSURLRequest * _Nullable (^)(NSURLSession *session, NSURLSessionTask *task, NSURLResponse *response, NSURLRequest *request))block;
-
-/**
- Sets a block to be executed when a session task has received a request specific authentication challenge, as handled by the `NSURLSessionTaskDelegate` method `URLSession:task:didReceiveChallenge:completionHandler:`.
- 
- @param authenticationChallengeHandler A block object to be executed when a session task has received a request specific authentication challenge.
- 
- When implementing an authentication challenge handler, you should check the authentication method first (`challenge.protectionSpace.authenticationMethod `) to decide if you want to handle the authentication challenge yourself or if you want AFNetworking to handle it. If you want AFNetworking to handle the authentication challenge, just return `@(NSURLSessionAuthChallengePerformDefaultHandling)`. For example, you certainly want AFNetworking to handle certificate validation (i.e. authentication method == `NSURLAuthenticationMethodServerTrust`) as defined by the security policy. If you want to handle the challenge yourself, you have four options:
- 
- 1. Return `nil` from the authentication challenge handler. You **MUST** call the completion handler with a disposition and credentials yourself. Use this if you need to present a user interface to let the user enter their credentials.
- 2. Return an `NSError` object from the authentication challenge handler. You **MUST NOT** call the completion handler when returning an `NSError `. The returned error will be reported in the completion handler of the task. Use this if you need to abort an authentication challenge with a specific error.
- 3. Return an `NSURLCredential` object from the authentication challenge handler. You **MUST NOT** call the completion handler when returning an `NSURLCredential`. The returned credentials will be used to fulfil the challenge. Use this when you can get credentials without presenting a user interface.
- 4. Return an `NSNumber` object wrapping an `NSURLSessionAuthChallengeDisposition`. Supported values are `@(NSURLSessionAuthChallengePerformDefaultHandling)`, `@(NSURLSessionAuthChallengeCancelAuthenticationChallenge)` and `@(NSURLSessionAuthChallengeRejectProtectionSpace)`. You **MUST NOT** call the completion handler when returning an `NSNumber`.
- 
- If you return anything else from the authentication challenge handler, an exception will be thrown.
- 
- For more information about how URL sessions handle the different types of authentication challenges, see [NSURLSession](https://developer.apple.com/reference/foundation/nsurlsession?language=objc) and [URL Session Programming Guide](https://developer.apple.com/library/content/documentation/Cocoa/Conceptual/URLLoadingSystem/URLLoadingSystem.html).
- 
- @see -securityPolicy
- */
-- (void)setAuthenticationChallengeHandler:(id (^)(NSURLSession *session, NSURLSessionTask *task, NSURLAuthenticationChallenge *challenge, void (^completionHandler)(NSURLSessionAuthChallengeDisposition , NSURLCredential * _Nullable)))authenticationChallengeHandler;
-
-/**
- Sets a block to be executed periodically to track upload progress, as handled by the `NSURLSessionTaskDelegate` method `URLSession:task:didSendBodyData:totalBytesSent:totalBytesExpectedToSend:`.
-
- @param block A block object to be called when an undetermined number of bytes have been uploaded to the server. This block has no return value and takes five arguments: the session, the task, the number of bytes written since the last time the upload progress block was called, the total bytes written, and the total bytes expected to be written during the request, as initially determined by the length of the HTTP body. This block may be called multiple times, and will execute on the main thread.
- */
-- (void)setTaskDidSendBodyDataBlock:(nullable void (^)(NSURLSession *session, NSURLSessionTask *task, int64_t bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend))block;
-
-/**
- Sets a block to be executed as the last message related to a specific task, as handled by the `NSURLSessionTaskDelegate` method `URLSession:task:didCompleteWithError:`.
-
- @param block A block object to be executed when a session task is completed. The block has no return value, and takes three arguments: the session, the task, and any error that occurred in the process of executing the task.
- */
-- (void)setTaskDidCompleteBlock:(nullable void (^)(NSURLSession *session, NSURLSessionTask *task, NSError * _Nullable error))block;
-
-/**
- Sets a block to be executed when metrics are finalized related to a specific task, as handled by the `NSURLSessionTaskDelegate` method `URLSession:task:didFinishCollectingMetrics:`.
-
- @param block A block object to be executed when a session task is completed. The block has no return value, and takes three arguments: the session, the task, and any metrics that were collected in the process of executing the task.
- */
-#if AF_CAN_INCLUDE_SESSION_TASK_METRICS
-- (void)setTaskDidFinishCollectingMetricsBlock:(nullable void (^)(NSURLSession *session, NSURLSessionTask *task, NSURLSessionTaskMetrics * _Nullable metrics))block AF_API_AVAILABLE(ios(10), macosx(10.12), watchos(3), tvos(10));
-#endif
-///-------------------------------------------
-/// @name Setting Data Task Delegate Callbacks
-///-------------------------------------------
-
-/**
- Sets a block to be executed when a data task has received a response, as handled by the `NSURLSessionDataDelegate` method `URLSession:dataTask:didReceiveResponse:completionHandler:`.
-
- @param block A block object to be executed when a data task has received a response. The block returns the disposition of the session response, and takes three arguments: the session, the data task, and the received response.
- */
-- (void)setDataTaskDidReceiveResponseBlock:(nullable NSURLSessionResponseDisposition (^)(NSURLSession *session, NSURLSessionDataTask *dataTask, NSURLResponse *response))block;
-
-/**
- Sets a block to be executed when a data task has become a download task, as handled by the `NSURLSessionDataDelegate` method `URLSession:dataTask:didBecomeDownloadTask:`.
-
- @param block A block object to be executed when a data task has become a download task. The block has no return value, and takes three arguments: the session, the data task, and the download task it has become.
- */
-- (void)setDataTaskDidBecomeDownloadTaskBlock:(nullable void (^)(NSURLSession *session, NSURLSessionDataTask *dataTask, NSURLSessionDownloadTask *downloadTask))block;
-
-/**
- Sets a block to be executed when a data task receives data, as handled by the `NSURLSessionDataDelegate` method `URLSession:dataTask:didReceiveData:`.
-
- @param block A block object to be called when an undetermined number of bytes have been downloaded from the server. This block has no return value and takes three arguments: the session, the data task, and the data received. This block may be called multiple times, and will execute on the session manager operation queue.
- */
-- (void)setDataTaskDidReceiveDataBlock:(nullable void (^)(NSURLSession *session, NSURLSessionDataTask *dataTask, NSData *data))block;
-
-/**
- Sets a block to be executed to determine the caching behavior of a data task, as handled by the `NSURLSessionDataDelegate` method `URLSession:dataTask:willCacheResponse:completionHandler:`.
-
- @param block A block object to be executed to determine the caching behavior of a data task. The block returns the response to cache, and takes three arguments: the session, the data task, and the proposed cached URL response.
- */
-- (void)setDataTaskWillCacheResponseBlock:(nullable NSCachedURLResponse * (^)(NSURLSession *session, NSURLSessionDataTask *dataTask, NSCachedURLResponse *proposedResponse))block;
-
-/**
- Sets a block to be executed once all messages enqueued for a session have been delivered, as handled by the `NSURLSessionDataDelegate` method `URLSessionDidFinishEventsForBackgroundURLSession:`.
-
- @param block A block object to be executed once all messages enqueued for a session have been delivered. The block has no return value and takes a single argument: the session.
- */
-- (void)setDidFinishEventsForBackgroundURLSessionBlock:(nullable void (^)(NSURLSession *session))block AF_API_UNAVAILABLE(macos);
-
-///-----------------------------------------------
-/// @name Setting Download Task Delegate Callbacks
-///-----------------------------------------------
-
-/**
- Sets a block to be executed when a download task has completed a download, as handled by the `NSURLSessionDownloadDelegate` method `URLSession:downloadTask:didFinishDownloadingToURL:`.
-
- @param block A block object to be executed when a download task has completed. The block returns the URL the download should be moved to, and takes three arguments: the session, the download task, and the temporary location of the downloaded file. If the file manager encounters an error while attempting to move the temporary file to the destination, an `AFURLSessionDownloadTaskDidFailToMoveFileNotification` will be posted, with the download task as its object, and the user info of the error.
- */
-- (void)setDownloadTaskDidFinishDownloadingBlock:(nullable NSURL * _Nullable  (^)(NSURLSession *session, NSURLSessionDownloadTask *downloadTask, NSURL *location))block;
-
-/**
- Sets a block to be executed periodically to track download progress, as handled by the `NSURLSessionDownloadDelegate` method `URLSession:downloadTask:didWriteData:totalBytesWritten:totalBytesExpectedToWrite:`.
-
- @param block A block object to be called when an undetermined number of bytes have been downloaded from the server. This block has no return value and takes five arguments: the session, the download task, the number of bytes read since the last time the download progress block was called, the total bytes read, and the total bytes expected to be read during the request, as initially determined by the expected content size of the `NSHTTPURLResponse` object. This block may be called multiple times, and will execute on the session manager operation queue.
- */
-- (void)setDownloadTaskDidWriteDataBlock:(nullable void (^)(NSURLSession *session, NSURLSessionDownloadTask *downloadTask, int64_t bytesWritten, int64_t totalBytesWritten, int64_t totalBytesExpectedToWrite))block;
-
-/**
- Sets a block to be executed when a download task has been resumed, as handled by the `NSURLSessionDownloadDelegate` method `URLSession:downloadTask:didResumeAtOffset:expectedTotalBytes:`.
-
- @param block A block object to be executed when a download task has been resumed. The block has no return value and takes four arguments: the session, the download task, the file offset of the resumed download, and the total number of bytes expected to be downloaded.
- */
-- (void)setDownloadTaskDidResumeBlock:(nullable void (^)(NSURLSession *session, NSURLSessionDownloadTask *downloadTask, int64_t fileOffset, int64_t expectedTotalBytes))block;
-
-@end
-
-///--------------------
-/// @name Notifications
-///--------------------
-
-/**
- Posted when a task resumes.
- */
-FOUNDATION_EXPORT NSString * const AFNetworkingTaskDidResumeNotification;
-
-/**
- Posted when a task finishes executing. Includes a userInfo dictionary with additional information about the task.
- */
-FOUNDATION_EXPORT NSString * const AFNetworkingTaskDidCompleteNotification;
-
-/**
- Posted when a task suspends its execution.
- */
-FOUNDATION_EXPORT NSString * const AFNetworkingTaskDidSuspendNotification;
-
-/**
- Posted when a session is invalidated.
- */
-FOUNDATION_EXPORT NSString * const AFURLSessionDidInvalidateNotification;
-
-/**
- Posted when a session download task finished moving the temporary download file to a specified destination successfully.
- */
-FOUNDATION_EXPORT NSString * const AFURLSessionDownloadTaskDidMoveFileSuccessfullyNotification;
-
-/**
- Posted when a session download task encountered an error when moving the temporary download file to a specified destination.
- */
-FOUNDATION_EXPORT NSString * const AFURLSessionDownloadTaskDidFailToMoveFileNotification;
-
-/**
- The raw response data of the task. Included in the userInfo dictionary of the `AFNetworkingTaskDidCompleteNotification` if response data exists for the task.
- */
-FOUNDATION_EXPORT NSString * const AFNetworkingTaskDidCompleteResponseDataKey;
-
-/**
- The serialized response object of the task. Included in the userInfo dictionary of the `AFNetworkingTaskDidCompleteNotification` if the response was serialized.
- */
-FOUNDATION_EXPORT NSString * const AFNetworkingTaskDidCompleteSerializedResponseKey;
-
-/**
- The response serializer used to serialize the response. Included in the userInfo dictionary of the `AFNetworkingTaskDidCompleteNotification` if the task has an associated response serializer.
- */
-FOUNDATION_EXPORT NSString * const AFNetworkingTaskDidCompleteResponseSerializerKey;
-
-/**
- The file path associated with the download task. Included in the userInfo dictionary of the `AFNetworkingTaskDidCompleteNotification` if an the response data has been stored directly to disk.
- */
-FOUNDATION_EXPORT NSString * const AFNetworkingTaskDidCompleteAssetPathKey;
-
-/**
- Any error associated with the task, or the serialization of the response. Included in the userInfo dictionary of the `AFNetworkingTaskDidCompleteNotification` if an error exists.
- */
-FOUNDATION_EXPORT NSString * const AFNetworkingTaskDidCompleteErrorKey;
-
-/**
- The session task metrics taken from the download task. Included in the userInfo dictionary of the `AFNetworkingTaskDidCompleteSessionTaskMetrics`
- */
-FOUNDATION_EXPORT NSString * const AFNetworkingTaskDidCompleteSessionTaskMetrics;
-
-NS_ASSUME_NONNULL_END

+ 0 - 48
KulexiuForStudent/build/Debug-iphonesimulator/AFNetworking/AFNetworking.framework/Headers/UIActivityIndicatorView+AFNetworking.h

@@ -1,48 +0,0 @@
-// UIActivityIndicatorView+AFNetworking.h
-// Copyright (c) 2011–2016 Alamofire Software Foundation ( http://alamofire.org/ )
-//
-// 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 <TargetConditionals.h>
-
-#if TARGET_OS_IOS || TARGET_OS_TV
-
-#import <UIKit/UIKit.h>
-
-/**
- This category adds methods to the UIKit framework's `UIActivityIndicatorView` class. The methods in this category provide support for automatically starting and stopping animation depending on the loading state of a session task.
- */
-@interface UIActivityIndicatorView (AFNetworking)
-
-///----------------------------------
-/// @name Animating for Session Tasks
-///----------------------------------
-
-/**
- Binds the animating state to the state of the specified task.
-
- @param task The task. If `nil`, automatic updating from any previously specified operation will be disabled.
- */
-- (void)setAnimatingWithStateOfTask:(nullable NSURLSessionTask *)task;
-
-@end
-
-#endif

+ 0 - 175
KulexiuForStudent/build/Debug-iphonesimulator/AFNetworking/AFNetworking.framework/Headers/UIButton+AFNetworking.h

@@ -1,175 +0,0 @@
-// UIButton+AFNetworking.h
-// Copyright (c) 2011–2016 Alamofire Software Foundation ( http://alamofire.org/ )
-//
-// 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 <TargetConditionals.h>
-
-#if TARGET_OS_IOS || TARGET_OS_TV
-
-#import <UIKit/UIKit.h>
-
-NS_ASSUME_NONNULL_BEGIN
-
-@class AFImageDownloader;
-
-/**
- This category adds methods to the UIKit framework's `UIButton` class. The methods in this category provide support for loading remote images and background images asynchronously from a URL.
-
- @warning Compound values for control `state` (such as `UIControlStateHighlighted | UIControlStateDisabled`) are unsupported.
- */
-@interface UIButton (AFNetworking)
-
-///------------------------------------
-/// @name Accessing the Image Downloader
-///------------------------------------
-
-/**
- Set the shared image downloader used to download images.
-
- @param imageDownloader The shared image downloader used to download images.
-*/
-+ (void)setSharedImageDownloader:(AFImageDownloader *)imageDownloader;
-
-/**
- The shared image downloader used to download images.
- */
-+ (AFImageDownloader *)sharedImageDownloader;
-
-///--------------------
-/// @name Setting Image
-///--------------------
-
-/**
- Asynchronously downloads an image from the specified URL, and sets it as the image for the specified state once the request is finished. Any previous image request for the receiver will be cancelled.
-
-  If the image is cached locally, the image is set immediately, otherwise the specified placeholder image will be set immediately, and then the remote image will be set once the request is finished.
-
- @param state The control state.
- @param url The URL used for the image request.
- */
-- (void)setImageForState:(UIControlState)state
-                 withURL:(NSURL *)url;
-
-/**
- Asynchronously downloads an image from the specified URL, and sets it as the image for the specified state once the request is finished. Any previous image request for the receiver will be cancelled.
-
- If the image is cached locally, the image is set immediately, otherwise the specified placeholder image will be set immediately, and then the remote image will be set once the request is finished.
-
- @param state The control state.
- @param url The URL used for the image request.
- @param placeholderImage The image to be set initially, until the image request finishes. If `nil`, the button will not change its image until the image request finishes.
- */
-- (void)setImageForState:(UIControlState)state
-                 withURL:(NSURL *)url
-        placeholderImage:(nullable UIImage *)placeholderImage;
-
-/**
- Asynchronously downloads an image from the specified URL request, and sets it as the image for the specified state once the request is finished. Any previous image request for the receiver will be cancelled.
-
- If the image is cached locally, the image is set immediately, otherwise the specified placeholder image will be set immediately, and then the remote image will be set once the request is finished.
-
- If a success block is specified, it is the responsibility of the block to set the image of the button before returning. If no success block is specified, the default behavior of setting the image with `setImage:forState:` is applied.
-
- @param state The control state.
- @param urlRequest The URL request used for the image request.
- @param placeholderImage The image to be set initially, until the image request finishes. If `nil`, the button will not change its image until the image request finishes.
- @param success A block to be executed when the image data task finishes successfully. This block has no return value and takes three arguments: the request sent from the client, the response received from the server, and the image created from the response data of request. If the image was returned from cache, the response parameter will be `nil`.
- @param failure A block object to be executed when the image data task finishes unsuccessfully, or that finishes successfully. This block has no return value and takes three arguments: the request sent from the client, the response received from the server, and the error object describing the network or parsing error that occurred.
- */
-- (void)setImageForState:(UIControlState)state
-          withURLRequest:(NSURLRequest *)urlRequest
-        placeholderImage:(nullable UIImage *)placeholderImage
-                 success:(nullable void (^)(NSURLRequest *request, NSHTTPURLResponse * _Nullable response, UIImage *image))success
-                 failure:(nullable void (^)(NSURLRequest *request, NSHTTPURLResponse * _Nullable response, NSError *error))failure;
-
-
-///-------------------------------
-/// @name Setting Background Image
-///-------------------------------
-
-/**
- Asynchronously downloads an image from the specified URL, and sets it as the background image for the specified state once the request is finished. Any previous background image request for the receiver will be cancelled.
-
- If the background image is cached locally, the background image is set immediately, otherwise the specified placeholder background image will be set immediately, and then the remote background image will be set once the request is finished.
-
- @param state The control state.
- @param url The URL used for the background image request.
- */
-- (void)setBackgroundImageForState:(UIControlState)state
-                           withURL:(NSURL *)url;
-
-/**
- Asynchronously downloads an image from the specified URL, and sets it as the background image for the specified state once the request is finished. Any previous image request for the receiver will be cancelled.
-
- If the image is cached locally, the image is set immediately, otherwise the specified placeholder image will be set immediately, and then the remote image will be set once the request is finished.
-
- @param state The control state.
- @param url The URL used for the background image request.
- @param placeholderImage The background image to be set initially, until the background image request finishes. If `nil`, the button will not change its background image until the background image request finishes.
- */
-- (void)setBackgroundImageForState:(UIControlState)state
-                           withURL:(NSURL *)url
-                  placeholderImage:(nullable UIImage *)placeholderImage;
-
-/**
- Asynchronously downloads an image from the specified URL request, and sets it as the image for the specified state once the request is finished. Any previous image request for the receiver will be cancelled.
-
- If the image is cached locally, the image is set immediately, otherwise the specified placeholder image will be set immediately, and then the remote image will be set once the request is finished.
-
- If a success block is specified, it is the responsibility of the block to set the image of the button before returning. If no success block is specified, the default behavior of setting the image with `setBackgroundImage:forState:` is applied.
-
- @param state The control state.
- @param urlRequest The URL request used for the image request.
- @param placeholderImage The background image to be set initially, until the background image request finishes. If `nil`, the button will not change its background image until the background image request finishes.
- @param success A block to be executed when the image data task finishes successfully. This block has no return value and takes three arguments: the request sent from the client, the response received from the server, and the image created from the response data of request. If the image was returned from cache, the response parameter will be `nil`.
- @param failure A block object to be executed when the image data task finishes unsuccessfully, or that finishes successfully. This block has no return value and takes three arguments: the request sent from the client, the response received from the server, and the error object describing the network or parsing error that occurred.
- */
-- (void)setBackgroundImageForState:(UIControlState)state
-                    withURLRequest:(NSURLRequest *)urlRequest
-                  placeholderImage:(nullable UIImage *)placeholderImage
-                           success:(nullable void (^)(NSURLRequest *request, NSHTTPURLResponse * _Nullable response, UIImage *image))success
-                           failure:(nullable void (^)(NSURLRequest *request, NSHTTPURLResponse * _Nullable response, NSError *error))failure;
-
-
-///------------------------------
-/// @name Canceling Image Loading
-///------------------------------
-
-/**
- Cancels any executing image task for the specified control state of the receiver, if one exists.
-
- @param state The control state.
- */
-- (void)cancelImageDownloadTaskForState:(UIControlState)state;
-
-/**
- Cancels any executing background image task for the specified control state of the receiver, if one exists.
-
- @param state The control state.
- */
-- (void)cancelBackgroundImageDownloadTaskForState:(UIControlState)state;
-
-@end
-
-NS_ASSUME_NONNULL_END
-
-#endif

+ 0 - 109
KulexiuForStudent/build/Debug-iphonesimulator/AFNetworking/AFNetworking.framework/Headers/UIImageView+AFNetworking.h

@@ -1,109 +0,0 @@
-// UIImageView+AFNetworking.h
-// Copyright (c) 2011–2016 Alamofire Software Foundation ( http://alamofire.org/ )
-//
-// 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 <TargetConditionals.h>
-
-#if TARGET_OS_IOS || TARGET_OS_TV
-
-#import <UIKit/UIKit.h>
-
-NS_ASSUME_NONNULL_BEGIN
-
-@class AFImageDownloader;
-
-/**
- This category adds methods to the UIKit framework's `UIImageView` class. The methods in this category provide support for loading remote images asynchronously from a URL.
- */
-@interface UIImageView (AFNetworking)
-
-///------------------------------------
-/// @name Accessing the Image Downloader
-///------------------------------------
-
-/**
- Set the shared image downloader used to download images.
-
- @param imageDownloader The shared image downloader used to download images.
- */
-+ (void)setSharedImageDownloader:(AFImageDownloader *)imageDownloader;
-
-/**
- The shared image downloader used to download images.
- */
-+ (AFImageDownloader *)sharedImageDownloader;
-
-///--------------------
-/// @name Setting Image
-///--------------------
-
-/**
- Asynchronously downloads an image from the specified URL, and sets it once the request is finished. Any previous image request for the receiver will be cancelled.
-
- If the image is cached locally, the image is set immediately, otherwise the specified placeholder image will be set immediately, and then the remote image will be set once the request is finished.
-
- By default, URL requests have a `Accept` header field value of "image / *", a cache policy of `NSURLCacheStorageAllowed` and a timeout interval of 30 seconds, and are set not handle cookies. To configure URL requests differently, use `setImageWithURLRequest:placeholderImage:success:failure:`
-
- @param url The URL used for the image request.
- */
-- (void)setImageWithURL:(NSURL *)url;
-
-/**
- Asynchronously downloads an image from the specified URL, and sets it once the request is finished. Any previous image request for the receiver will be cancelled.
-
- If the image is cached locally, the image is set immediately, otherwise the specified placeholder image will be set immediately, and then the remote image will be set once the request is finished.
-
- By default, URL requests have a `Accept` header field value of "image / *", a cache policy of `NSURLCacheStorageAllowed` and a timeout interval of 30 seconds, and are set not handle cookies. To configure URL requests differently, use `setImageWithURLRequest:placeholderImage:success:failure:`
-
- @param url The URL used for the image request.
- @param placeholderImage The image to be set initially, until the image request finishes. If `nil`, the image view will not change its image until the image request finishes.
- */
-- (void)setImageWithURL:(NSURL *)url
-       placeholderImage:(nullable UIImage *)placeholderImage;
-
-/**
- Asynchronously downloads an image from the specified URL request, and sets it once the request is finished. Any previous image request for the receiver will be cancelled.
-
- If the image is cached locally, the image is set immediately, otherwise the specified placeholder image will be set immediately, and then the remote image will be set once the request is finished.
-
- If a success block is specified, it is the responsibility of the block to set the image of the image view before returning. If no success block is specified, the default behavior of setting the image with `self.image = image` is applied.
-
- @param urlRequest The URL request used for the image request.
- @param placeholderImage The image to be set initially, until the image request finishes. If `nil`, the image view will not change its image until the image request finishes.
- @param success A block to be executed when the image data task finishes successfully. This block has no return value and takes three arguments: the request sent from the client, the response received from the server, and the image created from the response data of request. If the image was returned from cache, the response parameter will be `nil`.
- @param failure A block object to be executed when the image data task finishes unsuccessfully, or that finishes successfully. This block has no return value and takes three arguments: the request sent from the client, the response received from the server, and the error object describing the network or parsing error that occurred.
- */
-- (void)setImageWithURLRequest:(NSURLRequest *)urlRequest
-              placeholderImage:(nullable UIImage *)placeholderImage
-                       success:(nullable void (^)(NSURLRequest *request, NSHTTPURLResponse * _Nullable response, UIImage *image))success
-                       failure:(nullable void (^)(NSURLRequest *request, NSHTTPURLResponse * _Nullable response, NSError *error))failure;
-
-/**
- Cancels any executing image operation for the receiver, if one exists.
- */
-- (void)cancelImageDownloadTask;
-
-@end
-
-NS_ASSUME_NONNULL_END
-
-#endif

+ 0 - 43
KulexiuForStudent/build/Debug-iphonesimulator/AFNetworking/AFNetworking.framework/Headers/UIKit+AFNetworking.h

@@ -1,43 +0,0 @@
-// UIKit+AFNetworking.h
-//
-// Copyright (c) 2011–2016 Alamofire Software Foundation ( http://alamofire.org/ )
-//
-// 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 <TargetConditionals.h>
-
-#ifndef _UIKIT_AFNETWORKING_
-    #define _UIKIT_AFNETWORKING_
-
-#if TARGET_OS_IOS || TARGET_OS_TV
-    #import "AFAutoPurgingImageCache.h"
-    #import "AFImageDownloader.h"
-    #import "UIActivityIndicatorView+AFNetworking.h"
-    #import "UIButton+AFNetworking.h"
-    #import "UIImageView+AFNetworking.h"
-    #import "UIProgressView+AFNetworking.h"
-#endif
-
-#if TARGET_OS_IOS
-    #import "AFNetworkActivityIndicatorManager.h"
-    #import "UIRefreshControl+AFNetworking.h"
-    #import "WKWebView+AFNetworking.h"
-#endif
-
-#endif /* _UIKIT_AFNETWORKING_ */

+ 0 - 64
KulexiuForStudent/build/Debug-iphonesimulator/AFNetworking/AFNetworking.framework/Headers/UIProgressView+AFNetworking.h

@@ -1,64 +0,0 @@
-// UIProgressView+AFNetworking.h
-// Copyright (c) 2011–2016 Alamofire Software Foundation ( http://alamofire.org/ )
-//
-// 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 <TargetConditionals.h>
-
-#if TARGET_OS_IOS || TARGET_OS_TV
-
-#import <UIKit/UIKit.h>
-
-NS_ASSUME_NONNULL_BEGIN
-
-
-/**
- This category adds methods to the UIKit framework's `UIProgressView` class. The methods in this category provide support for binding the progress to the upload and download progress of a session task.
- */
-@interface UIProgressView (AFNetworking)
-
-///------------------------------------
-/// @name Setting Session Task Progress
-///------------------------------------
-
-/**
- Binds the progress to the upload progress of the specified session task.
-
- @param task The session task.
- @param animated `YES` if the change should be animated, `NO` if the change should happen immediately.
- */
-- (void)setProgressWithUploadProgressOfTask:(NSURLSessionUploadTask *)task
-                                   animated:(BOOL)animated;
-
-/**
- Binds the progress to the download progress of the specified session task.
-
- @param task The session task.
- @param animated `YES` if the change should be animated, `NO` if the change should happen immediately.
- */
-- (void)setProgressWithDownloadProgressOfTask:(NSURLSessionDownloadTask *)task
-                                     animated:(BOOL)animated;
-
-@end
-
-NS_ASSUME_NONNULL_END
-
-#endif

+ 0 - 53
KulexiuForStudent/build/Debug-iphonesimulator/AFNetworking/AFNetworking.framework/Headers/UIRefreshControl+AFNetworking.h

@@ -1,53 +0,0 @@
-// UIRefreshControl+AFNetworking.m
-//
-// Copyright (c) 2011–2016 Alamofire Software Foundation ( http://alamofire.org/ )
-//
-// 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 <TargetConditionals.h>
-
-#if TARGET_OS_IOS
-
-#import <UIKit/UIKit.h>
-
-NS_ASSUME_NONNULL_BEGIN
-
-/**
- This category adds methods to the UIKit framework's `UIRefreshControl` class. The methods in this category provide support for automatically beginning and ending refreshing depending on the loading state of a session task.
- */
-@interface UIRefreshControl (AFNetworking)
-
-///-----------------------------------
-/// @name Refreshing for Session Tasks
-///-----------------------------------
-
-/**
- Binds the refreshing state to the state of the specified task.
- 
- @param task The task. If `nil`, automatic updating from any previously specified operation will be disabled.
- */
-- (void)setRefreshingWithStateOfTask:(NSURLSessionTask *)task;
-
-@end
-
-NS_ASSUME_NONNULL_END
-
-#endif

Some files were not shown because too many files changed in this diff