ソースを参照

- mans 관련 작업 진행중

KaRam Kim 8 年 前
コミット
9645f0cd9e
69 ファイル変更6350 行追加3524 行削除
  1. 0 10
      OneCable.xcodeproj/project.pbxproj
  2. 9 3
      OneCable/Classes/Handler/NetworkServiceHandler.m
  3. 2 2
      OneCable/Classes/ViewControllers/MainScreens/IntroViewController.m
  4. 1 1
      OneCable/Info.plist
  5. 5 2
      Podfile
  6. 1 0
      Pods/Crashlytics/Crashlytics.framework/README
  7. 6 0
      Pods/Crashlytics/Crashlytics.framework/submit
  8. 40 0
      Pods/Crashlytics/README.md
  9. 0 0
      Pods/Crashlytics/iOS/Crashlytics.framework/Crashlytics
  10. 0 0
      Pods/Crashlytics/iOS/Crashlytics.framework/Headers/ANSCompatibility.h
  11. 0 0
      Pods/Crashlytics/iOS/Crashlytics.framework/Headers/Answers.h
  12. 0 0
      Pods/Crashlytics/iOS/Crashlytics.framework/Headers/CLSAttributes.h
  13. 0 0
      Pods/Crashlytics/iOS/Crashlytics.framework/Headers/CLSLogging.h
  14. 0 0
      Pods/Crashlytics/iOS/Crashlytics.framework/Headers/CLSReport.h
  15. 0 0
      Pods/Crashlytics/iOS/Crashlytics.framework/Headers/CLSStackFrame.h
  16. 0 0
      Pods/Crashlytics/iOS/Crashlytics.framework/Headers/Crashlytics.h
  17. 0 0
      Pods/Crashlytics/iOS/Crashlytics.framework/Info.plist
  18. 0 0
      Pods/Crashlytics/iOS/Crashlytics.framework/Modules/module.modulemap
  19. 0 0
      Pods/Crashlytics/iOS/Crashlytics.framework/run
  20. 0 0
      Pods/Crashlytics/iOS/Crashlytics.framework/submit
  21. 0 0
      Pods/Crashlytics/iOS/Crashlytics.framework/uploadDSYM
  22. BIN
      Pods/Crashlytics/submit
  23. 1 0
      Pods/Fabric/Fabric.framework/README
  24. 6 0
      Pods/Fabric/Fabric.framework/run
  25. 43 0
      Pods/Fabric/README.md
  26. 0 0
      Pods/Fabric/iOS/Fabric.framework/Fabric
  27. 0 0
      Pods/Fabric/iOS/Fabric.framework/Headers/FABAttributes.h
  28. 0 0
      Pods/Fabric/iOS/Fabric.framework/Headers/Fabric.h
  29. 0 0
      Pods/Fabric/iOS/Fabric.framework/Info.plist
  30. 0 0
      Pods/Fabric/iOS/Fabric.framework/Modules/module.modulemap
  31. 0 0
      Pods/Fabric/iOS/Fabric.framework/run
  32. 0 0
      Pods/Fabric/iOS/Fabric.framework/uploadDSYM
  33. 28 0
      Pods/Fabric/run
  34. BIN
      Pods/Fabric/upload-symbols
  35. BIN
      Pods/Fabric/uploadDSYM
  36. 3731 3471
      Pods/Pods.xcodeproj/project.pbxproj
  37. 15 0
      Pods/SocketRocket/LICENSE
  38. 246 0
      Pods/SocketRocket/README.rst
  39. 154 0
      Pods/SocketRocket/SocketRocket/SRWebSocket.h
  40. 1916 0
      Pods/SocketRocket/SocketRocket/SRWebSocket.m
  41. 17 0
      Pods/SocketRocket/SocketRocket/SocketRocket.h
  42. 1 1
      Pods/Target Support Files/AFNetworking-Synchronous/AFNetworking-Synchronous.xcconfig
  43. 1 1
      Pods/Target Support Files/AFNetworking/AFNetworking.xcconfig
  44. 1 1
      Pods/Target Support Files/Aspects/Aspects.xcconfig
  45. 1 1
      Pods/Target Support Files/AsyncDisplayKit/AsyncDisplayKit.xcconfig
  46. 1 1
      Pods/Target Support Files/Bolts/Bolts.xcconfig
  47. 1 1
      Pods/Target Support Files/ClusterPrePermissions/ClusterPrePermissions.xcconfig
  48. 1 1
      Pods/Target Support Files/CocoaLumberjack/CocoaLumberjack.xcconfig
  49. 1 1
      Pods/Target Support Files/FLEX/FLEX.xcconfig
  50. 1 1
      Pods/Target Support Files/HeapInspector/HeapInspector.xcconfig
  51. 1 1
      Pods/Target Support Files/JGProgressHUD/JGProgressHUD.xcconfig
  52. 1 1
      Pods/Target Support Files/JSONModel/JSONModel.xcconfig
  53. 1 1
      Pods/Target Support Files/JYRefreshController/JYRefreshController.xcconfig
  54. 1 1
      Pods/Target Support Files/LDProgressView/LDProgressView.xcconfig
  55. 1 1
      Pods/Target Support Files/Masonry/Masonry.xcconfig
  56. 1 1
      Pods/Target Support Files/PINCache/PINCache.xcconfig
  57. 1 1
      Pods/Target Support Files/PINRemoteImage/PINRemoteImage.xcconfig
  58. 27 0
      Pods/Target Support Files/Pods-OneCable/Pods-OneCable-acknowledgements.markdown
  59. 45 0
      Pods/Target Support Files/Pods-OneCable/Pods-OneCable-acknowledgements.plist
  60. 5 4
      Pods/Target Support Files/Pods-OneCable/Pods-OneCable.adhoc.xcconfig
  61. 5 4
      Pods/Target Support Files/Pods-OneCable/Pods-OneCable.debug.xcconfig
  62. 5 4
      Pods/Target Support Files/Pods-OneCable/Pods-OneCable.product.xcconfig
  63. 5 4
      Pods/Target Support Files/Pods-OneCable/Pods-OneCable.release.xcconfig
  64. 1 1
      Pods/Target Support Files/SDWebImage/SDWebImage.xcconfig
  65. 5 0
      Pods/Target Support Files/SocketRocket/SocketRocket-dummy.m
  66. 4 0
      Pods/Target Support Files/SocketRocket/SocketRocket-prefix.pch
  67. 9 0
      Pods/Target Support Files/SocketRocket/SocketRocket.xcconfig
  68. 1 1
      Pods/Target Support Files/Valet/Valet.xcconfig
  69. 1 1
      Pods/Target Support Files/WYPopoverController/WYPopoverController.xcconfig

+ 0 - 10
OneCable.xcodeproj/project.pbxproj

@@ -158,8 +158,6 @@
 		A13BD0E01C3B563D00C76527 /* WeatherLocationPopupView.xib in Resources */ = {isa = PBXBuildFile; fileRef = A13BD0D01C3B563D00C76527 /* WeatherLocationPopupView.xib */; };
 		A15D2CFC1C58598F0018D555 /* KNLayoutConstraint.m in Sources */ = {isa = PBXBuildFile; fileRef = A15D2CFB1C58598F0018D555 /* KNLayoutConstraint.m */; };
 		A15D2CFF1C588FBB0018D555 /* KNView.m in Sources */ = {isa = PBXBuildFile; fileRef = A15D2CFE1C588FBB0018D555 /* KNView.m */; };
-		A16A1CBF1C71630900F92BC1 /* Fabric.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A16A1CBD1C71630900F92BC1 /* Fabric.framework */; };
-		A16A1CC01C71630900F92BC1 /* Crashlytics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A16A1CBE1C71630900F92BC1 /* Crashlytics.framework */; };
 		A16A1CC41C71728400F92BC1 /* NetworkServiceHandler.m in Sources */ = {isa = PBXBuildFile; fileRef = A16A1CC31C71728400F92BC1 /* NetworkServiceHandler.m */; };
 		A16D937E1C5600D300DC0DF1 /* DurationPopupView.m in Sources */ = {isa = PBXBuildFile; fileRef = A16D937C1C5600D300DC0DF1 /* DurationPopupView.m */; };
 		A16D937F1C5600D300DC0DF1 /* DurationPopupView.xib in Resources */ = {isa = PBXBuildFile; fileRef = A16D937D1C5600D300DC0DF1 /* DurationPopupView.xib */; };
@@ -177,7 +175,6 @@
 		A1BC6ECA1C3E57A000D957D9 /* CustomLabelButton.xib in Resources */ = {isa = PBXBuildFile; fileRef = A1BC6EC91C3E57A000D957D9 /* CustomLabelButton.xib */; };
 		A1CC0BF61C3B8A2D00B05DA3 /* NSLayoutConstraint+Additions.m in Sources */ = {isa = PBXBuildFile; fileRef = A1CC0BF51C3B8A2D00B05DA3 /* NSLayoutConstraint+Additions.m */; };
 		A57656141E51823E002D0AE2 /* ReactiveObjC.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A57656131E51823E002D0AE2 /* ReactiveObjC.framework */; };
-		A57656151E518255002D0AE2 /* ReactiveObjC.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A57656131E51823E002D0AE2 /* ReactiveObjC.framework */; };
 		A57656161E518255002D0AE2 /* ReactiveObjC.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = A57656131E51823E002D0AE2 /* ReactiveObjC.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
 /* End PBXBuildFile section */
 
@@ -477,8 +474,6 @@
 		A15D2CFB1C58598F0018D555 /* KNLayoutConstraint.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = KNLayoutConstraint.m; sourceTree = "<group>"; };
 		A15D2CFD1C588FBB0018D555 /* KNView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = KNView.h; sourceTree = "<group>"; };
 		A15D2CFE1C588FBB0018D555 /* KNView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = KNView.m; sourceTree = "<group>"; };
-		A16A1CBD1C71630900F92BC1 /* Fabric.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = Fabric.framework; sourceTree = "<group>"; };
-		A16A1CBE1C71630900F92BC1 /* Crashlytics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = Crashlytics.framework; sourceTree = "<group>"; };
 		A16A1CC21C71728400F92BC1 /* NetworkServiceHandler.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = NetworkServiceHandler.h; sourceTree = "<group>"; };
 		A16A1CC31C71728400F92BC1 /* NetworkServiceHandler.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = NetworkServiceHandler.m; sourceTree = "<group>"; };
 		A16D937B1C5600D300DC0DF1 /* DurationPopupView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DurationPopupView.h; sourceTree = "<group>"; };
@@ -519,9 +514,6 @@
 			buildActionMask = 2147483647;
 			files = (
 				A57656141E51823E002D0AE2 /* ReactiveObjC.framework in Frameworks */,
-				A16A1CC01C71630900F92BC1 /* Crashlytics.framework in Frameworks */,
-				A57656151E518255002D0AE2 /* ReactiveObjC.framework in Frameworks */,
-				A16A1CBF1C71630900F92BC1 /* Fabric.framework in Frameworks */,
 				2FD70D8B3678B2B51AD9E418 /* libPods-OneCable.a in Frameworks */,
 			);
 			runOnlyForDeploymentPostprocessing = 0;
@@ -1036,8 +1028,6 @@
 			isa = PBXGroup;
 			children = (
 				A57656131E51823E002D0AE2 /* ReactiveObjC.framework */,
-				A16A1CBD1C71630900F92BC1 /* Fabric.framework */,
-				A16A1CBE1C71630900F92BC1 /* Crashlytics.framework */,
 				D85E32D933C36C37A7CE9517 /* libPods-OneCable.a */,
 			);
 			name = Frameworks;

+ 9 - 3
OneCable/Classes/Handler/NetworkServiceHandler.m

@@ -80,10 +80,16 @@
 #pragma mark - NSNetServiceDelegate methods
 
 - (void)netServiceBrowser:(NSNetServiceBrowser *)browser didFindService:(NSNetService *)service moreComing:(BOOL)moreComing {
-
-
+/*
+ 현재 안드로이드에서 MDNS통해서 수집하는 정보는 manufacturer, modelNumber, serialNumber, profileVersion, hostAddress 입니다.
+ 
+ */
+    [service setDelegate:self];
+    [service resolveWithTimeout:0.0];
+//    [self.services addObject:service];
 
     NSMutableDictionary *info = [NSMutableDictionary dictionary];
+    NSDictionary* dict = [NSNetService dictionaryFromTXTRecordData:[service TXTRecordData]];
     info[@"name"] = service.name;
     info[@"domain"] = service.domain;
     info[@"type"] = service.type;
@@ -92,7 +98,7 @@
     info[@"Address"] = service.addresses;
 //    info[@"port"] = service.port;
         NSLog(@"Finish :  %@", info   );
-    NSLog(@"Port :  %i", service.port   );
+    NSLog(@"Info :  %@", dict   );
     
     if (!_isNotFirstLoading) {    
         [self publishNetService];

+ 2 - 2
OneCable/Classes/ViewControllers/MainScreens/IntroViewController.m

@@ -122,8 +122,8 @@
                 }];
             } else {
                 dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(1.0f * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
-//                    UIViewController *vc = [CommonUtil instantiateViewControllerWithIdentifier:@"LoginViewController" storyboardName:@"Main"];
-//                    [JDFacade facade].appDelegate.window.rootViewController = vc;
+                    UIViewController *vc = [CommonUtil instantiateViewControllerWithIdentifier:@"LoginViewController" storyboardName:@"Main"];
+                    [JDFacade facade].appDelegate.window.rootViewController = vc;
                 });
             }
         }

+ 1 - 1
OneCable/Info.plist

@@ -5,7 +5,7 @@
 	<key>CFBundleDevelopmentRegion</key>
 	<string>en</string>
 	<key>CFBundleDisplayName</key>
-	<string>스마트시티</string>
+	<string>OneCable</string>
 	<key>CFBundleExecutable</key>
 	<string>$(EXECUTABLE_NAME)</string>
 	<key>CFBundleIdentifier</key>

+ 5 - 2
Podfile

@@ -10,7 +10,8 @@ target 'OneCable' do
 	pod 'SDWebImage'
 	pod 'Aspects'
 	
-	#pod 'SocketRocket'		#WebSocket client
+	pod 'SocketRocket'		#WebSocket client
+#   	pod 'ReactiveObjC'
 
 #about UI
 	pod 'ClusterPrePermissions'
@@ -29,5 +30,7 @@ target 'OneCable' do
 	pod 'HeapInspector'		#Heap Size
     
     #pod 'ReactiveCocoa', '~> 5.0.0' #Heap Size
-	
+#about CrashReport
+    pod 'Fabric'
+    pod 'Crashlytics'
 end

+ 1 - 0
Pods/Crashlytics/Crashlytics.framework/README

@@ -0,0 +1 @@
+We've now combined all our supported platforms into a single podspec. As a result, we moved our submit script to a new location for Cocoapods projects: ${PODS_ROOT}/Crashlytics/submit. To avoid breaking functionality that references the old location of the submit, we've placed this dummy script that calls to the correct location, while providing a helpful warning if it is invoked. This bridge for backwards compatibility will be removed in a future release, so please heed the warning!

+ 6 - 0
Pods/Crashlytics/Crashlytics.framework/submit

@@ -0,0 +1,6 @@
+if [[ -z $PODS_ROOT ]]; then
+echo "error: The submit binary delivered by cocoapods is in a new location, under '$"{"PODS_ROOT"}"/Crashlytics/submit'. This script was put in place for backwards compatibility, but it relies on PODS_ROOT, which does not have a value in your current setup. Please update the path to the submit binary to fix this issue."
+else
+echo "warning: The submit script is now located at '$"{"PODS_ROOT"}"/Crashlytics/submit'. To remove this warning, update your path to point to this new location."
+sh "${PODS_ROOT}/Crashlytics/submit" "$@"
+fi

+ 40 - 0
Pods/Crashlytics/README.md

@@ -0,0 +1,40 @@
+![Crashlytics Header](https://docs.fabric.io/ios/cocoapod-readmes/cocoapods-crashlytics-header.png)
+
+Part of [Twitter Fabric](https://www.fabric.io), [Crashlytics](http://try.crashlytics.com/) offers the most powerful, yet lightest weight crash reporting solution for iOS. Crashlytics also provides real-time analytics through [Answers](https://answers.io/) and app distributions to testers using [Beta](http://try.crashlytics.com/beta/).
+
+## Setup
+
+1. Visit [https://fabric.io/sign_up](https://fabric.io/sign_up) to create your Fabric account and to download Fabric.app.
+
+1. Open Fabric.app, login and select the Crashlytics SDK.
+
+    ![Fabric Plugin](https://docs.fabric.io/ios/cocoapod-readmes/cocoapods-fabric-plugin.png)
+
+1. The Fabric app automatically detects when a project uses CocoaPods and gives you the option to install via the Podfile or Xcode.
+
+	![Fabric Installation Options](https://docs.fabric.io/ios/cocoapod-readmes/cocoapods-pod-installation-option.png)
+
+1. Select the Podfile option and follow the installation instructions to update your Podfile. **Note:** the Crashlytics Pod includes Answers. If you have Answers included as a separate Pod it should be removed from your Podfile to avoid duplicate symbol errors.
+
+	```
+	pod 'Fabric'
+	pod 'Crashlytics'
+	```
+
+1. Run `pod install`
+
+1. Add a Run Script Build Phase and build your app.
+
+	![Fabric Run Script Build Phase](https://docs.fabric.io/ios/cocoapod-readmes/cocoapods-rsbp.png)
+
+1. Initialize the SDK by inserting code outlined in the Fabric.app.
+
+1. Run your app to finish the installation.
+
+## Resources
+
+* [Documentation](https://docs.fabric.io/ios/crashlytics/index.html)
+* [Forums](https://twittercommunity.com/c/fabric/crashlytics)
+* [Website](http://try.crashlytics.com/)
+* Follow us on Twitter: [@fabric](https://twitter.com/fabric) and [@crashlytics](https://twitter.com/crashlytics)
+* Follow us on Periscope: [Fabric](https://periscope.tv/fabric) and [TwitterDev](https://periscope.tv/twitterdev)

Crashlytics.framework/Crashlytics → Pods/Crashlytics/iOS/Crashlytics.framework/Crashlytics


Crashlytics.framework/Headers/ANSCompatibility.h → Pods/Crashlytics/iOS/Crashlytics.framework/Headers/ANSCompatibility.h


Crashlytics.framework/Headers/Answers.h → Pods/Crashlytics/iOS/Crashlytics.framework/Headers/Answers.h


Crashlytics.framework/Headers/CLSAttributes.h → Pods/Crashlytics/iOS/Crashlytics.framework/Headers/CLSAttributes.h


Crashlytics.framework/Headers/CLSLogging.h → Pods/Crashlytics/iOS/Crashlytics.framework/Headers/CLSLogging.h


Crashlytics.framework/Headers/CLSReport.h → Pods/Crashlytics/iOS/Crashlytics.framework/Headers/CLSReport.h


Crashlytics.framework/Headers/CLSStackFrame.h → Pods/Crashlytics/iOS/Crashlytics.framework/Headers/CLSStackFrame.h


Crashlytics.framework/Headers/Crashlytics.h → Pods/Crashlytics/iOS/Crashlytics.framework/Headers/Crashlytics.h


Crashlytics.framework/Info.plist → Pods/Crashlytics/iOS/Crashlytics.framework/Info.plist


Crashlytics.framework/Modules/module.modulemap → Pods/Crashlytics/iOS/Crashlytics.framework/Modules/module.modulemap


Crashlytics.framework/run → Pods/Crashlytics/iOS/Crashlytics.framework/run


Crashlytics.framework/submit → Pods/Crashlytics/iOS/Crashlytics.framework/submit


Crashlytics.framework/uploadDSYM → Pods/Crashlytics/iOS/Crashlytics.framework/uploadDSYM


BIN
Pods/Crashlytics/submit


+ 1 - 0
Pods/Fabric/Fabric.framework/README

@@ -0,0 +1 @@
+We've now combined all our supported platforms into a single podspec. As a result, we moved our run script to a new location for Cocoapods projects: ${PODS_ROOT}/Fabric/run. To avoid breaking builds that reference the old location of the run script, we've placed this dummy script that calls to the correct location, while providing a helpful warning in Xcode if it is invoked. This bridge for backwards compatibility will be removed in a future release, so please heed the warning!

+ 6 - 0
Pods/Fabric/Fabric.framework/run

@@ -0,0 +1,6 @@
+if [[ -z $PODS_ROOT ]]; then
+    echo "error: The run binary delivered by cocoapods is in a new location, under '$"{"PODS_ROOT"}"/Fabric/run'. This script was put in place for backwards compatibility, but it relies on PODS_ROOT, which does not have a value in your current setup. Please update the path to the run binary to fix this issue."
+else
+    echo "warning: The run script is now located at '$"{"PODS_ROOT"}"/Fabric/run'. To remove this warning, update your Run Script Build Phase to point to this new location."
+    sh "${PODS_ROOT}/Fabric/run" "$@"
+fi

+ 43 - 0
Pods/Fabric/README.md

@@ -0,0 +1,43 @@
+![Fabric Header](https://docs.fabric.io/ios/cocoapod-readmes/cocoapods-fabric-header.png)
+
+# Fabric
+
+## Overview
+
+[Fabric](https://www.fabric.io) provides developers with the tools they need to build the best apps. Developed and maintained by Twitter and the team that built Crashlytics, Fabric provides an easy way to manage all your SDKs so that you’ll never have to worry about tedious configurations or juggling different accounts. We let you get right into coding and building the next big app.
+
+For a full list of SDK provided through Fabric visit [https://fabric.io/kits](https://fabric.io/kits).
+
+## Setup
+
+The Fabric Pod is a dependency for all Fabric SDKs and is included when installing any Fabric related Pods. General setup instructions are shown below; however, these vary depending on the selected SDK.
+
+1. Visit [https://fabric.io/sign_up](https://fabric.io/sign_up) to create your Fabric account and to download Fabric.app.
+
+1. Open Fabric.app, login and select an SDK to install.
+
+    ![Fabric Plugin](https://docs.fabric.io/ios/cocoapod-readmes/cocoapods-fabric-plugin.png)
+
+1. The Fabric app automatically detects when a project uses CocoaPods and gives you the option to install via the Podfile or Xcode.
+
+	![Fabric Installation Options](https://docs.fabric.io/ios/cocoapod-readmes/cocoapods-pod-installation-option.png)
+
+1. Select the Podfile option and follow the installation instructions to update your Podfile. Note: the example below is for the Crashlytics SDK. The instructions will vary based on the selected SDK.
+
+	![Fabric Podfile Instructions](https://docs.fabric.io/ios/cocoapod-readmes/cocoapods-podfile-instructions.png)
+
+1. Add a Run Script Build Phase and build your app.
+
+	![Fabric Run Script Build Phase](https://docs.fabric.io/ios/cocoapod-readmes/cocoapods-rsbp.png)
+
+1. Initialize the SDK by inserting code outlined in Fabric.app.
+
+1. Run your app to finish the installation.
+
+## Resources
+
+* [Documentation](https://docs.fabric.io/)
+* [Forums](https://twittercommunity.com/c/fabric)
+* [Website](https://www.fabric.io)
+* Follow us on Twitter: [@fabric](https://twitter.com/fabric)
+* Follow us on Periscope: [Fabric](https://periscope.tv/fabric) and [TwitterDev](https://periscope.tv/twitterdev)

Fabric.framework/Fabric → Pods/Fabric/iOS/Fabric.framework/Fabric


Fabric.framework/Headers/FABAttributes.h → Pods/Fabric/iOS/Fabric.framework/Headers/FABAttributes.h


Fabric.framework/Headers/Fabric.h → Pods/Fabric/iOS/Fabric.framework/Headers/Fabric.h


Fabric.framework/Info.plist → Pods/Fabric/iOS/Fabric.framework/Info.plist


Fabric.framework/Modules/module.modulemap → Pods/Fabric/iOS/Fabric.framework/Modules/module.modulemap


Fabric.framework/run → Pods/Fabric/iOS/Fabric.framework/run


Fabric.framework/uploadDSYM → Pods/Fabric/iOS/Fabric.framework/uploadDSYM


+ 28 - 0
Pods/Fabric/run

@@ -0,0 +1,28 @@
+#!/bin/sh
+
+#  run
+#
+#  Copyright (c) 2015 Crashlytics. All rights reserved.
+
+#  Figure out where we're being called from
+DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
+
+#  Quote path in case of spaces or special chars
+DIR="\"${DIR}"
+
+PATH_SEP="/"
+VALIDATE_COMMAND="uploadDSYM\" $@ validate run-script"
+UPLOAD_COMMAND="uploadDSYM\" $@ run-script"
+
+#  Ensure params are as expected, run in sync mode to validate
+eval $DIR$PATH_SEP$VALIDATE_COMMAND
+return_code=$?
+
+if [[ $return_code != 0 ]]; then
+  exit $return_code
+fi
+
+#  Verification passed, upload dSYM in background to prevent Xcode from waiting
+#  Note: Validation is performed again before upload.
+#  Output can still be found in Console.app
+eval $DIR$PATH_SEP$UPLOAD_COMMAND > /dev/null 2>&1 &

BIN
Pods/Fabric/upload-symbols


BIN
Pods/Fabric/uploadDSYM


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


+ 15 - 0
Pods/SocketRocket/LICENSE

@@ -0,0 +1,15 @@
+
+   Copyright 2012 Square Inc.
+
+   Licensed under the Apache License, Version 2.0 (the "License");
+   you may not use this file except in compliance with the License.
+   You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.
+

+ 246 - 0
Pods/SocketRocket/README.rst

@@ -0,0 +1,246 @@
+SocketRocket Objective-C WebSocket Client (beta)
+================================================
+A conforming WebSocket (`RFC 6455 <http://tools.ietf.org/html/rfc6455>`_)
+client library.
+
+`Test results for SocketRocket here <http://square.github.io/SocketRocket/results/>`_.
+You can compare to what `modern browsers look like here
+<http://tavendo.com/autobahn/testsuite/report/clients/index.html>`_.
+
+SocketRocket currently conforms to all ~300 of `Autobahn
+<http://autobahn.ws/testsuite/>`_'s fuzzing tests (aside from
+two UTF-8 ones where it is merely *non-strict*. tests 6.4.2 and 6.4.4)
+
+Features/Design
+---------------
+- TLS (wss) support.  It uses CFStream so we get this for *free*
+- Uses NSStream/CFNetworking.  Earlier implementations used ``dispatch_io``,
+  however, this proved to be make TLS nearly impossible.  Also I wanted this to
+  work in iOS 4.x. (SocketRocket only supports 5.0 and above now)
+- Uses ARC.  It uses the 4.0 compatible subset (no weak refs).
+- Seems to perform quite well
+- Parallel architecture. Most of the work is done in background worker queues.
+- Delegate-based. Had older versions that could use blocks too, but I felt it
+  didn't blend well with retain cycles and just objective C in general.
+
+Changes
+-------
+
+v0.3.1-beta2 - 2013-01-12
+`````````````````````````
+
+- Stability fix for ``closeWithCode:reason:`` (Thanks @michaelpetrov!)
+- Actually clean up the NSStreams and remove them from their runloops
+- ``_SRRunLoopThread``'s ``main`` wasn't correctly wrapped with
+  ``@autoreleasepool``
+
+v0.3.1-beta1 - 2013-01-12
+`````````````````````````
+
+- Cleaned up GCD so OS_OBJECT_USE_OBJC_RETAIN_RELEASE is optional
+- Removed deprecated ``dispatch_get_current_queue`` in favor of ``dispatch_queue_set_specific`` and ``dispatch_get_specific``
+- Dropping support for iOS 4.0 (it may still work)
+
+
+Installing (iOS)
+----------------
+There's a few options. Choose one, or just figure it out
+
+- You can copy all the files in the SocketRocket group into your app.
+- Include SocketRocket as a subproject and use libSocketRocket
+
+  If you do this, you must add -ObjC to your "other linker flags" option
+
+- For OS X you will have to repackage make a .framework target.  I will take
+  contributions. Message me if you are interested.
+
+
+Depending on how you configure your project you may need to ``#import`` either
+``<SocketRocket/SRWebSocket.h>`` or ``"SRWebSocket.h"``
+
+Framework Dependencies
+``````````````````````
+Your .app must be linked against the following frameworks/dylibs
+
+- libicucore.dylib
+- CFNetwork.framework
+- Security.framework
+- Foundation.framework
+
+Installing (OS X)
+-----------------
+SocketRocket now has (64-bit only) OS X support.  ``SocketRocket.framework``
+inside Xcode project is for OS X only.  It should be identical in function aside
+from the unicode validation.  ICU isn't shipped with OS X which is what the
+original implementation used for unicode validation.  The workaround is much
+more rudimentary and less robust.
+
+1. Add SocketRocket.xcodeproj as either a subproject of your app or in your workspace.
+2. Add ``SocketRocket.framework`` to the link libraries
+3. If you don't have a "copy files" step for ``Framework``, create one
+4. Add ``SocketRocket.framework`` to the "copy files" step.
+
+API
+---
+The classes
+
+``SRWebSocket``
+```````````````
+The Web Socket.
+
+.. note:: ``SRWebSocket`` will retain itself between ``-(void)open`` and when it
+  closes, errors, or fails.  This is similar to how ``NSURLConnection`` behaves.
+  (unlike ``NSURLConnection``, ``SRWebSocket`` won't retain the delegate)
+
+What you need to know
+
+.. code-block:: objective-c
+
+  @interface SRWebSocket : NSObject
+
+  // Make it with this
+  - (id)initWithURLRequest:(NSURLRequest *)request;
+
+  // Set this before opening
+  @property (nonatomic, assign) id <SRWebSocketDelegate> delegate;
+
+  - (void)open;
+  
+  // Close it with this
+  - (void)close;
+
+  // Send a UTF8 String or Data
+  - (void)send:(id)data;
+
+  @end
+
+``SRWebSocketDelegate``
+```````````````````````
+You implement this
+
+.. code-block:: objective-c
+
+  @protocol SRWebSocketDelegate <NSObject>
+
+  - (void)webSocket:(SRWebSocket *)webSocket didReceiveMessage:(id)message;
+
+  @optional
+
+  - (void)webSocketDidOpen:(SRWebSocket *)webSocket;
+  - (void)webSocket:(SRWebSocket *)webSocket didFailWithError:(NSError *)error;
+  - (void)webSocket:(SRWebSocket *)webSocket didCloseWithCode:(NSInteger)code reason:(NSString *)reason wasClean:(BOOL)wasClean;
+
+  @end
+
+Known Issues/Server Todo's
+--------------------------
+- Needs auth delegates (like in NSURLConnection)
+- Move the streams off the main runloop (most of the work is backgrounded uses
+  GCD, but I just haven't gotten around to moving it off the main loop since I
+  converted it from dispatch_io)
+- Re-implement server. I removed an existing implementation as well because it
+  wasn't being used and I wasn't super happy with the interface.  Will revisit
+  this.
+- Separate framer and client logic. This will make it nicer when having a
+  server.
+
+Testing
+-------
+Included are setup scripts for the python testing environment.  It comes
+packaged with vitualenv so all the dependencies are installed in userland.
+
+To run the short test from the command line, run::
+
+  make test
+
+To run all the tests, run::
+
+  make test_all
+
+The short tests don't include the performance tests.  (the test harness is
+actually the bottleneck, not SocketRocket).
+
+The first time this is run, it may take a while to install the dependencies.  It
+will be smooth sailing after that.  After the test runs the makefile will open
+the results page in your browser.  If nothing comes up, you failed.  Working on
+making this interface a bit nicer.
+
+To run from the app, choose the ``SocketRocket`` target and run the test action
+(``cmd+u``). It runs the same thing, but makes it easier to debug.  There is
+some serious pre/post hooks in the Test action.  You can edit it to customize
+behavior.
+
+.. note:: Xcode only up to version 4.4 is currently supported for the test
+  harness
+
+TestChat Demo Application
+-------------------------
+SocketRocket includes a demo app, TestChat.  It will "chat" with a listening
+websocket on port 9900.
+
+It's a simple project.  Uses storyboard.  Storyboard is sweet.
+
+
+TestChat Server
+```````````````
+We've included a small server for the chat app.  It has a simple function.
+It will take a message and broadcast it to all other connected clients.
+
+We have to get some dependencies.  We also want to reuse the virtualenv we made
+when we ran the tests. If you haven't run the tests yet, go into the
+SocketRocket root directory and type::
+
+  make test
+
+This will set up your `virtualenv <https://pypi.python.org/pypi/virtualenv>`_.
+Now, in your terminal::
+
+  source .env/bin/activate
+  pip install git+https://github.com/tornadoweb/tornado.git
+
+In the same terminal session, start the chatroom server::
+
+  python TestChatServer/py/chatroom.py
+
+There's also a Go implementation (with the latest weekly) where you can::
+
+  cd TestChatServer/go
+  go run chatroom.go
+
+Chatting
+````````
+Now, start TestChat.app (just run the target in the Xcode project).  If you had
+it started already you can hit the refresh button to reconnect.  It should say
+"Connected!" on top.
+
+To talk with the app, open up your browser to `http://localhost:9000 <http://localhost:9000>`_ and
+start chatting.
+
+
+WebSocket Server Implementation Recommendations
+-----------------------------------------------
+SocketRocket has been used with the following libraries:
+
+- `Tornado <https://github.com/facebook/tornado>`_
+- Go's `WebSocket package <https://godoc.org/golang.org/x/net/websocket>`_ or Gorilla's `version <http://www.gorillatoolkit.org/pkg/websocket>`_
+- `Autobahn <http://tavendo.com/autobahn/testsuite.html>`_ (using its fuzzing
+  client)
+
+The Tornado one is dirt simple and works like a charm.  (`IPython notebook
+<http://ipython.org/ipython-doc/dev/interactive/htmlnotebook.html>`_ uses it
+too).  It's much easier to configure handlers and routes than in
+Autobahn/twisted.
+
+As far as Go's goes, it works in my limited testing. I much prefer go's
+concurrency model as well. Try it! You may like it.
+It could use some more control over things such as pings, etc., but I
+am sure it will come in time.
+
+Autobahn is a great test suite.  The Python server code is good, and conforms
+well (obviously).  However for me, twisted would be a deal-breaker for writing
+something new.  I find it a bit too complex and heavy for a simple service. If
+you are already using twisted though, Autobahn is probably for you.
+
+Contributing
+------------
+We’re glad you’re interested in SocketRocket, and we’d love to see where you take it. Please read our `contributing guidelines <https://github.com/square/SocketRocket/blob/master/Contributing.md>`_ prior to submitting a Pull Request.

+ 154 - 0
Pods/SocketRocket/SocketRocket/SRWebSocket.h

@@ -0,0 +1,154 @@
+//
+//   Copyright 2012 Square Inc.
+//
+//   Licensed under the Apache License, Version 2.0 (the "License");
+//   you may not use this file except in compliance with the License.
+//   You may obtain a copy of the License at
+//
+//       http://www.apache.org/licenses/LICENSE-2.0
+//
+//   Unless required by applicable law or agreed to in writing, software
+//   distributed under the License is distributed on an "AS IS" BASIS,
+//   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//   See the License for the specific language governing permissions and
+//   limitations under the License.
+//
+
+#import <Foundation/Foundation.h>
+#import <Security/SecCertificate.h>
+
+typedef NS_ENUM(NSInteger, SRReadyState) {
+    SR_CONNECTING   = 0,
+    SR_OPEN         = 1,
+    SR_CLOSING      = 2,
+    SR_CLOSED       = 3,
+};
+
+typedef enum SRStatusCode : NSInteger {
+    // 0–999: Reserved and not used.
+    SRStatusCodeNormal = 1000,
+    SRStatusCodeGoingAway = 1001,
+    SRStatusCodeProtocolError = 1002,
+    SRStatusCodeUnhandledType = 1003,
+    // 1004 reserved.
+    SRStatusNoStatusReceived = 1005,
+    SRStatusCodeAbnormal = 1006,
+    SRStatusCodeInvalidUTF8 = 1007,
+    SRStatusCodePolicyViolated = 1008,
+    SRStatusCodeMessageTooBig = 1009,
+    SRStatusCodeMissingExtension = 1010,
+    SRStatusCodeInternalError = 1011,
+    SRStatusCodeServiceRestart = 1012,
+    SRStatusCodeTryAgainLater = 1013,
+    // 1014: Reserved for future use by the WebSocket standard.
+    SRStatusCodeTLSHandshake = 1015,
+    // 1016–1999: Reserved for future use by the WebSocket standard.
+    // 2000–2999: Reserved for use by WebSocket extensions.
+    // 3000–3999: Available for use by libraries and frameworks. May not be used by applications. Available for registration at the IANA via first-come, first-serve.
+    // 4000–4999: Available for use by applications.
+} SRStatusCode;
+
+@class SRWebSocket;
+
+extern NSString *const SRWebSocketErrorDomain;
+extern NSString *const SRHTTPResponseErrorKey;
+
+#pragma mark - SRWebSocketDelegate
+
+@protocol SRWebSocketDelegate;
+
+#pragma mark - SRWebSocket
+
+@interface SRWebSocket : NSObject <NSStreamDelegate>
+
+@property (nonatomic, weak) id <SRWebSocketDelegate> delegate;
+
+@property (nonatomic, readonly) SRReadyState readyState;
+@property (nonatomic, readonly, retain) NSURL *url;
+
+
+@property (nonatomic, readonly) CFHTTPMessageRef receivedHTTPHeaders;
+
+// Optional array of cookies (NSHTTPCookie objects) to apply to the connections
+@property (nonatomic, readwrite) NSArray * requestCookies;
+
+// This returns the negotiated protocol.
+// It will be nil until after the handshake completes.
+@property (nonatomic, readonly, copy) NSString *protocol;
+
+// Protocols should be an array of strings that turn into Sec-WebSocket-Protocol.
+- (id)initWithURLRequest:(NSURLRequest *)request protocols:(NSArray *)protocols allowsUntrustedSSLCertificates:(BOOL)allowsUntrustedSSLCertificates;
+- (id)initWithURLRequest:(NSURLRequest *)request protocols:(NSArray *)protocols;
+- (id)initWithURLRequest:(NSURLRequest *)request;
+
+// Some helper constructors.
+- (id)initWithURL:(NSURL *)url protocols:(NSArray *)protocols allowsUntrustedSSLCertificates:(BOOL)allowsUntrustedSSLCertificates;
+- (id)initWithURL:(NSURL *)url protocols:(NSArray *)protocols;
+- (id)initWithURL:(NSURL *)url;
+
+// Delegate queue will be dispatch_main_queue by default.
+// You cannot set both OperationQueue and dispatch_queue.
+- (void)setDelegateOperationQueue:(NSOperationQueue*) queue;
+- (void)setDelegateDispatchQueue:(dispatch_queue_t) queue;
+
+// By default, it will schedule itself on +[NSRunLoop SR_networkRunLoop] using defaultModes.
+- (void)scheduleInRunLoop:(NSRunLoop *)aRunLoop forMode:(NSString *)mode;
+- (void)unscheduleFromRunLoop:(NSRunLoop *)aRunLoop forMode:(NSString *)mode;
+
+// SRWebSockets are intended for one-time-use only.  Open should be called once and only once.
+- (void)open;
+
+- (void)close;
+- (void)closeWithCode:(NSInteger)code reason:(NSString *)reason;
+
+// Send a UTF8 String or Data.
+- (void)send:(id)data;
+
+// Send Data (can be nil) in a ping message.
+- (void)sendPing:(NSData *)data;
+
+@end
+
+#pragma mark - SRWebSocketDelegate
+
+@protocol SRWebSocketDelegate <NSObject>
+
+// message will either be an NSString if the server is using text
+// or NSData if the server is using binary.
+- (void)webSocket:(SRWebSocket *)webSocket didReceiveMessage:(id)message;
+
+@optional
+
+- (void)webSocketDidOpen:(SRWebSocket *)webSocket;
+- (void)webSocket:(SRWebSocket *)webSocket didFailWithError:(NSError *)error;
+- (void)webSocket:(SRWebSocket *)webSocket didCloseWithCode:(NSInteger)code reason:(NSString *)reason wasClean:(BOOL)wasClean;
+- (void)webSocket:(SRWebSocket *)webSocket didReceivePong:(NSData *)pongPayload;
+
+// Return YES to convert messages sent as Text to an NSString. Return NO to skip NSData -> NSString conversion for Text messages. Defaults to YES.
+- (BOOL)webSocketShouldConvertTextFrameToString:(SRWebSocket *)webSocket;
+
+@end
+
+#pragma mark - NSURLRequest (SRCertificateAdditions)
+
+@interface NSURLRequest (SRCertificateAdditions)
+
+@property (nonatomic, retain, readonly) NSArray *SR_SSLPinnedCertificates;
+
+@end
+
+#pragma mark - NSMutableURLRequest (SRCertificateAdditions)
+
+@interface NSMutableURLRequest (SRCertificateAdditions)
+
+@property (nonatomic, retain) NSArray *SR_SSLPinnedCertificates;
+
+@end
+
+#pragma mark - NSRunLoop (SRWebSocket)
+
+@interface NSRunLoop (SRWebSocket)
+
++ (NSRunLoop *)SR_networkRunLoop;
+
+@end

ファイルの差分が大きいため隠しています
+ 1916 - 0
Pods/SocketRocket/SocketRocket/SRWebSocket.m


+ 17 - 0
Pods/SocketRocket/SocketRocket/SocketRocket.h

@@ -0,0 +1,17 @@
+//
+//   Copyright 2012 Square Inc.
+//
+//   Licensed under the Apache License, Version 2.0 (the "License");
+//   you may not use this file except in compliance with the License.
+//   You may obtain a copy of the License at
+//
+//       http://www.apache.org/licenses/LICENSE-2.0
+//
+//   Unless required by applicable law or agreed to in writing, software
+//   distributed under the License is distributed on an "AS IS" BASIS,
+//   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//   See the License for the specific language governing permissions and
+//   limitations under the License.
+//
+
+#import <SocketRocket/SRWebSocket.h>

ファイルの差分が大きいため隠しています
+ 1 - 1
Pods/Target Support Files/AFNetworking-Synchronous/AFNetworking-Synchronous.xcconfig


ファイルの差分が大きいため隠しています
+ 1 - 1
Pods/Target Support Files/AFNetworking/AFNetworking.xcconfig


ファイルの差分が大きいため隠しています
+ 1 - 1
Pods/Target Support Files/Aspects/Aspects.xcconfig


ファイルの差分が大きいため隠しています
+ 1 - 1
Pods/Target Support Files/AsyncDisplayKit/AsyncDisplayKit.xcconfig


ファイルの差分が大きいため隠しています
+ 1 - 1
Pods/Target Support Files/Bolts/Bolts.xcconfig


ファイルの差分が大きいため隠しています
+ 1 - 1
Pods/Target Support Files/ClusterPrePermissions/ClusterPrePermissions.xcconfig


ファイルの差分が大きいため隠しています
+ 1 - 1
Pods/Target Support Files/CocoaLumberjack/CocoaLumberjack.xcconfig


ファイルの差分が大きいため隠しています
+ 1 - 1
Pods/Target Support Files/FLEX/FLEX.xcconfig


ファイルの差分が大きいため隠しています
+ 1 - 1
Pods/Target Support Files/HeapInspector/HeapInspector.xcconfig


ファイルの差分が大きいため隠しています
+ 1 - 1
Pods/Target Support Files/JGProgressHUD/JGProgressHUD.xcconfig


ファイルの差分が大きいため隠しています
+ 1 - 1
Pods/Target Support Files/JSONModel/JSONModel.xcconfig


ファイルの差分が大きいため隠しています
+ 1 - 1
Pods/Target Support Files/JYRefreshController/JYRefreshController.xcconfig


ファイルの差分が大きいため隠しています
+ 1 - 1
Pods/Target Support Files/LDProgressView/LDProgressView.xcconfig


ファイルの差分が大きいため隠しています
+ 1 - 1
Pods/Target Support Files/Masonry/Masonry.xcconfig


ファイルの差分が大きいため隠しています
+ 1 - 1
Pods/Target Support Files/PINCache/PINCache.xcconfig


ファイルの差分が大きいため隠しています
+ 1 - 1
Pods/Target Support Files/PINRemoteImage/PINRemoteImage.xcconfig


ファイルの差分が大きいため隠しています
+ 27 - 0
Pods/Target Support Files/Pods-OneCable/Pods-OneCable-acknowledgements.markdown


ファイルの差分が大きいため隠しています
+ 45 - 0
Pods/Target Support Files/Pods-OneCable/Pods-OneCable-acknowledgements.plist


ファイルの差分が大きいため隠しています
+ 5 - 4
Pods/Target Support Files/Pods-OneCable/Pods-OneCable.adhoc.xcconfig


ファイルの差分が大きいため隠しています
+ 5 - 4
Pods/Target Support Files/Pods-OneCable/Pods-OneCable.debug.xcconfig


ファイルの差分が大きいため隠しています
+ 5 - 4
Pods/Target Support Files/Pods-OneCable/Pods-OneCable.product.xcconfig


ファイルの差分が大きいため隠しています
+ 5 - 4
Pods/Target Support Files/Pods-OneCable/Pods-OneCable.release.xcconfig


ファイルの差分が大きいため隠しています
+ 1 - 1
Pods/Target Support Files/SDWebImage/SDWebImage.xcconfig


+ 5 - 0
Pods/Target Support Files/SocketRocket/SocketRocket-dummy.m

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

+ 4 - 0
Pods/Target Support Files/SocketRocket/SocketRocket-prefix.pch

@@ -0,0 +1,4 @@
+#ifdef __OBJC__
+#import <UIKit/UIKit.h>
+#endif
+

ファイルの差分が大きいため隠しています
+ 9 - 0
Pods/Target Support Files/SocketRocket/SocketRocket.xcconfig


ファイルの差分が大きいため隠しています
+ 1 - 1
Pods/Target Support Files/Valet/Valet.xcconfig


ファイルの差分が大きいため隠しています
+ 1 - 1
Pods/Target Support Files/WYPopoverController/WYPopoverController.xcconfig