Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

CL-IOS-History-Demo:Add History-Demo Application

  • Loading branch information...
commit f5ac8e9a978c2c90bcb7e29d802baf46071dcc6b 1 parent 6f2e014
@tanaji-kadam tanaji-kadam authored
Showing with 8,182 additions and 0 deletions.
  1. +11 −0 objective-c/DetailedHistoryTest/.project
  2. +328 −0 objective-c/DetailedHistoryTest/DetailedHistoryTest.xcodeproj/project.pbxproj
  3. +7 −0 objective-c/DetailedHistoryTest/DetailedHistoryTest.xcodeproj/project.xcworkspace/contents.xcworkspacedata
  4. BIN  ...dHistoryTest.xcodeproj/project.xcworkspace/xcuserdata/dahiwadkar.xcuserdatad/UserInterfaceState.xcuserstate
  5. +10 −0 ...ledHistoryTest.xcodeproj/project.xcworkspace/xcuserdata/dahiwadkar.xcuserdatad/WorkspaceSettings.xcsettings
  6. BIN  ...ailedHistoryTest.xcodeproj/project.xcworkspace/xcuserdata/pubnub.xcuserdatad/UserInterfaceState.xcuserstate
  7. +176 −0 ...storyTest/DetailedHistoryTest.xcodeproj/xcuserdata/dahiwadkar.xcuserdatad/xcdebugger/Breakpoints.xcbkptlist
  8. +85 −0 ...tailedHistoryTest/DetailedHistoryTest.xcodeproj/xcuserdata/dahiwadkar.xcuserdatad/xcschemes/Pubnub.xcscheme
  9. +22 −0 ...toryTest/DetailedHistoryTest.xcodeproj/xcuserdata/dahiwadkar.xcuserdatad/xcschemes/xcschememanagement.plist
  10. +86 −0 ...c/DetailedHistoryTest/DetailedHistoryTest.xcodeproj/xcuserdata/pubnub.xcuserdatad/xcschemes/Pubnub.xcscheme
  11. +22 −0 ...dHistoryTest/DetailedHistoryTest.xcodeproj/xcuserdata/pubnub.xcuserdatad/xcschemes/xcschememanagement.plist
  12. +15 −0 objective-c/DetailedHistoryTest/Pubnub/AppDelegate.h
  13. +52 −0 objective-c/DetailedHistoryTest/Pubnub/AppDelegate.m
  14. +40 −0 objective-c/DetailedHistoryTest/Pubnub/DetailedHistoryTest-Info.plist
  15. +14 −0 objective-c/DetailedHistoryTest/Pubnub/DetailedHistoryTest-Prefix.pch
  16. +1,011 −0 objective-c/DetailedHistoryTest/Pubnub/MainWindow_iPhone.xib
  17. +23 −0 objective-c/DetailedHistoryTest/Pubnub/PubNub/Base64.h
  18. +97 −0 objective-c/DetailedHistoryTest/Pubnub/PubNub/Base64.m
  19. +93 −0 objective-c/DetailedHistoryTest/Pubnub/PubNub/CEPubnub.h
  20. +1,061 −0 objective-c/DetailedHistoryTest/Pubnub/PubNub/CEPubnub.m
  21. +47 −0 objective-c/DetailedHistoryTest/Pubnub/PubNub/CEPubnubDelegate.h
  22. +21 −0 objective-c/DetailedHistoryTest/Pubnub/PubNub/Cipher.h
  23. +107 −0 objective-c/DetailedHistoryTest/Pubnub/PubNub/Cipher.m
  24. +27 −0 objective-c/DetailedHistoryTest/Pubnub/PubNub/Common.h
  25. +132 −0 objective-c/DetailedHistoryTest/Pubnub/PubNub/Common.m
  26. +32 −0 objective-c/DetailedHistoryTest/Pubnub/PubNub/JSON.h
  27. +94 −0 objective-c/DetailedHistoryTest/Pubnub/PubNub/JSON.m
  28. +251 −0 objective-c/DetailedHistoryTest/Pubnub/PubNub/JSONKit.h
  29. +3,065 −0 objective-c/DetailedHistoryTest/Pubnub/PubNub/JSONKit.m
  30. +17 −0 objective-c/DetailedHistoryTest/Pubnub/SubcribeInBackground.h
  31. +169 −0 objective-c/DetailedHistoryTest/Pubnub/SubcribeInBackground.m
  32. +2 −0  objective-c/DetailedHistoryTest/Pubnub/en.lproj/InfoPlist.strings
  33. +149 −0 objective-c/DetailedHistoryTest/Pubnub/en.lproj/MainStoryboard.storyboard
  34. +34 −0 objective-c/DetailedHistoryTest/Pubnub/iPhoneTest.h
  35. +359 −0 objective-c/DetailedHistoryTest/Pubnub/iPhoneTest.m
  36. +505 −0 objective-c/DetailedHistoryTest/Pubnub/iPhoneTest.xib
  37. +18 −0 objective-c/DetailedHistoryTest/Pubnub/main.m
View
11 objective-c/DetailedHistoryTest/.project
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>objective-c</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ </buildSpec>
+ <natures>
+ </natures>
+</projectDescription>
View
328 objective-c/DetailedHistoryTest/DetailedHistoryTest.xcodeproj/project.pbxproj
@@ -0,0 +1,328 @@
+// !$*UTF8*$!
+{
+ archiveVersion = 1;
+ classes = {
+ };
+ objectVersion = 46;
+ objects = {
+
+/* Begin PBXBuildFile section */
+ C8A06AA51664BC4700FB808A /* SubcribeInBackground.m in Sources */ = {isa = PBXBuildFile; fileRef = C8A06AA41664BC4700FB808A /* SubcribeInBackground.m */; };
+ C8C1CDD81611C71100FE66B6 /* JSONKit.m in Sources */ = {isa = PBXBuildFile; fileRef = C8C1CDD71611C71100FE66B6 /* JSONKit.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; };
+ C8C1CDDB1611CC3C00FE66B6 /* JSON.m in Sources */ = {isa = PBXBuildFile; fileRef = C8C1CDDA1611CC3C00FE66B6 /* JSON.m */; };
+ C8FD4D38153D447200D0A418 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C8FD4D37153D447200D0A418 /* UIKit.framework */; };
+ C8FD4D3A153D447200D0A418 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C8FD4D39153D447200D0A418 /* Foundation.framework */; settings = {ATTRIBUTES = (Weak, ); }; };
+ C8FD4D3C153D447200D0A418 /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C8FD4D3B153D447200D0A418 /* CoreGraphics.framework */; };
+ C8FD4D42153D447200D0A418 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = C8FD4D40153D447200D0A418 /* InfoPlist.strings */; };
+ C8FD4D44153D447200D0A418 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = C8FD4D43153D447200D0A418 /* main.m */; };
+ C8FD4D48153D447200D0A418 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = C8FD4D47153D447200D0A418 /* AppDelegate.m */; };
+ C8FD4D4E153D447200D0A418 /* iPhoneTest.m in Sources */ = {isa = PBXBuildFile; fileRef = C8FD4D4D153D447200D0A418 /* iPhoneTest.m */; };
+ C8FD4D79153D469D00D0A418 /* Base64.m in Sources */ = {isa = PBXBuildFile; fileRef = C8FD4D6C153D469D00D0A418 /* Base64.m */; };
+ C8FD4D7A153D469D00D0A418 /* CEPubnub.m in Sources */ = {isa = PBXBuildFile; fileRef = C8FD4D6E153D469D00D0A418 /* CEPubnub.m */; };
+ C8FD4D7B153D469D00D0A418 /* Cipher.m in Sources */ = {isa = PBXBuildFile; fileRef = C8FD4D70153D469D00D0A418 /* Cipher.m */; };
+ C8FD4D7C153D469D00D0A418 /* Common.m in Sources */ = {isa = PBXBuildFile; fileRef = C8FD4D72153D469D00D0A418 /* Common.m */; };
+ C8FD4D85153D505500D0A418 /* MainWindow_iPhone.xib in Resources */ = {isa = PBXBuildFile; fileRef = C8FD4D84153D505500D0A418 /* MainWindow_iPhone.xib */; };
+/* End PBXBuildFile section */
+
+/* Begin PBXFileReference section */
+ C8A06AA31664BC4700FB808A /* SubcribeInBackground.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SubcribeInBackground.h; sourceTree = "<group>"; };
+ C8A06AA41664BC4700FB808A /* SubcribeInBackground.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SubcribeInBackground.m; sourceTree = "<group>"; };
+ C8C1CDD61611C71100FE66B6 /* JSONKit.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSONKit.h; sourceTree = "<group>"; };
+ C8C1CDD71611C71100FE66B6 /* JSONKit.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = JSONKit.m; sourceTree = "<group>"; };
+ C8C1CDD91611CC1A00FE66B6 /* JSON.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSON.h; sourceTree = "<group>"; };
+ C8C1CDDA1611CC3C00FE66B6 /* JSON.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = JSON.m; sourceTree = "<group>"; };
+ C8C1CDE8161C19C100FE66B6 /* CEPubnubDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CEPubnubDelegate.h; sourceTree = "<group>"; };
+ C8FD4D33153D447200D0A418 /* DetailedHistoryTest.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = DetailedHistoryTest.app; sourceTree = BUILT_PRODUCTS_DIR; };
+ C8FD4D37153D447200D0A418 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; };
+ C8FD4D39153D447200D0A418 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
+ C8FD4D3B153D447200D0A418 /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; };
+ C8FD4D3F153D447200D0A418 /* DetailedHistoryTest-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "DetailedHistoryTest-Info.plist"; sourceTree = "<group>"; };
+ C8FD4D41153D447200D0A418 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = "<group>"; };
+ C8FD4D43153D447200D0A418 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
+ C8FD4D45153D447200D0A418 /* DetailedHistoryTest-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "DetailedHistoryTest-Prefix.pch"; sourceTree = "<group>"; };
+ C8FD4D46153D447200D0A418 /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = "<group>"; };
+ C8FD4D47153D447200D0A418 /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = "<group>"; };
+ C8FD4D4C153D447200D0A418 /* iPhoneTest.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = iPhoneTest.h; sourceTree = "<group>"; };
+ C8FD4D4D153D447200D0A418 /* iPhoneTest.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = iPhoneTest.m; sourceTree = "<group>"; };
+ C8FD4D6B153D469D00D0A418 /* Base64.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Base64.h; sourceTree = "<group>"; };
+ C8FD4D6C153D469D00D0A418 /* Base64.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = Base64.m; sourceTree = "<group>"; };
+ C8FD4D6D153D469D00D0A418 /* CEPubnub.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CEPubnub.h; sourceTree = "<group>"; };
+ C8FD4D6E153D469D00D0A418 /* CEPubnub.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CEPubnub.m; sourceTree = "<group>"; };
+ C8FD4D6F153D469D00D0A418 /* Cipher.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Cipher.h; sourceTree = "<group>"; };
+ C8FD4D70153D469D00D0A418 /* Cipher.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = Cipher.m; sourceTree = "<group>"; };
+ C8FD4D71153D469D00D0A418 /* Common.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Common.h; sourceTree = "<group>"; };
+ C8FD4D72153D469D00D0A418 /* Common.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = Common.m; sourceTree = "<group>"; };
+ C8FD4D84153D505500D0A418 /* MainWindow_iPhone.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = MainWindow_iPhone.xib; sourceTree = "<group>"; };
+/* End PBXFileReference section */
+
+/* Begin PBXFrameworksBuildPhase section */
+ C8FD4D30153D447200D0A418 /* Frameworks */ = {
+ isa = PBXFrameworksBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ C8FD4D38153D447200D0A418 /* UIKit.framework in Frameworks */,
+ C8FD4D3A153D447200D0A418 /* Foundation.framework in Frameworks */,
+ C8FD4D3C153D447200D0A418 /* CoreGraphics.framework in Frameworks */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXFrameworksBuildPhase section */
+
+/* Begin PBXGroup section */
+ C8FD4D28153D447100D0A418 = {
+ isa = PBXGroup;
+ children = (
+ C8FD4D3D153D447200D0A418 /* Pubnub */,
+ C8FD4D36153D447200D0A418 /* Frameworks */,
+ C8FD4D34153D447200D0A418 /* Products */,
+ );
+ sourceTree = "<group>";
+ };
+ C8FD4D34153D447200D0A418 /* Products */ = {
+ isa = PBXGroup;
+ children = (
+ C8FD4D33153D447200D0A418 /* DetailedHistoryTest.app */,
+ );
+ name = Products;
+ sourceTree = "<group>";
+ };
+ C8FD4D36153D447200D0A418 /* Frameworks */ = {
+ isa = PBXGroup;
+ children = (
+ C8FD4D37153D447200D0A418 /* UIKit.framework */,
+ C8FD4D39153D447200D0A418 /* Foundation.framework */,
+ C8FD4D3B153D447200D0A418 /* CoreGraphics.framework */,
+ );
+ name = Frameworks;
+ sourceTree = "<group>";
+ };
+ C8FD4D3D153D447200D0A418 /* Pubnub */ = {
+ isa = PBXGroup;
+ children = (
+ C8FD4D84153D505500D0A418 /* MainWindow_iPhone.xib */,
+ C8FD4D6A153D469D00D0A418 /* PubNub */,
+ C8FD4D46153D447200D0A418 /* AppDelegate.h */,
+ C8FD4D47153D447200D0A418 /* AppDelegate.m */,
+ C8FD4D4C153D447200D0A418 /* iPhoneTest.h */,
+ C8FD4D4D153D447200D0A418 /* iPhoneTest.m */,
+ C8FD4D3E153D447200D0A418 /* Supporting Files */,
+ C8A06AA31664BC4700FB808A /* SubcribeInBackground.h */,
+ C8A06AA41664BC4700FB808A /* SubcribeInBackground.m */,
+ );
+ path = Pubnub;
+ sourceTree = "<group>";
+ };
+ C8FD4D3E153D447200D0A418 /* Supporting Files */ = {
+ isa = PBXGroup;
+ children = (
+ C8FD4D3F153D447200D0A418 /* DetailedHistoryTest-Info.plist */,
+ C8FD4D40153D447200D0A418 /* InfoPlist.strings */,
+ C8FD4D43153D447200D0A418 /* main.m */,
+ C8FD4D45153D447200D0A418 /* DetailedHistoryTest-Prefix.pch */,
+ );
+ name = "Supporting Files";
+ sourceTree = "<group>";
+ };
+ C8FD4D6A153D469D00D0A418 /* PubNub */ = {
+ isa = PBXGroup;
+ children = (
+ C8C1CDE8161C19C100FE66B6 /* CEPubnubDelegate.h */,
+ C8FD4D6D153D469D00D0A418 /* CEPubnub.h */,
+ C8FD4D6E153D469D00D0A418 /* CEPubnub.m */,
+ C8FD4D71153D469D00D0A418 /* Common.h */,
+ C8FD4D72153D469D00D0A418 /* Common.m */,
+ C8FD4D6F153D469D00D0A418 /* Cipher.h */,
+ C8FD4D70153D469D00D0A418 /* Cipher.m */,
+ C8C1CDD91611CC1A00FE66B6 /* JSON.h */,
+ C8C1CDDA1611CC3C00FE66B6 /* JSON.m */,
+ C8C1CDD61611C71100FE66B6 /* JSONKit.h */,
+ C8C1CDD71611C71100FE66B6 /* JSONKit.m */,
+ C8FD4D6B153D469D00D0A418 /* Base64.h */,
+ C8FD4D6C153D469D00D0A418 /* Base64.m */,
+ );
+ path = PubNub;
+ sourceTree = "<group>";
+ };
+/* End PBXGroup section */
+
+/* Begin PBXNativeTarget section */
+ C8FD4D32153D447200D0A418 /* DetailedHistoryTest */ = {
+ isa = PBXNativeTarget;
+ buildConfigurationList = C8FD4D51153D447200D0A418 /* Build configuration list for PBXNativeTarget "DetailedHistoryTest" */;
+ buildPhases = (
+ C8FD4D2F153D447200D0A418 /* Sources */,
+ C8FD4D30153D447200D0A418 /* Frameworks */,
+ C8FD4D31153D447200D0A418 /* Resources */,
+ );
+ buildRules = (
+ );
+ dependencies = (
+ );
+ name = DetailedHistoryTest;
+ productName = Pubnub;
+ productReference = C8FD4D33153D447200D0A418 /* DetailedHistoryTest.app */;
+ productType = "com.apple.product-type.application";
+ };
+/* End PBXNativeTarget section */
+
+/* Begin PBXProject section */
+ C8FD4D2A153D447100D0A418 /* Project object */ = {
+ isa = PBXProject;
+ attributes = {
+ LastUpgradeCheck = 0430;
+ };
+ buildConfigurationList = C8FD4D2D153D447100D0A418 /* Build configuration list for PBXProject "DetailedHistoryTest" */;
+ compatibilityVersion = "Xcode 3.2";
+ developmentRegion = English;
+ hasScannedForEncodings = 0;
+ knownRegions = (
+ en,
+ );
+ mainGroup = C8FD4D28153D447100D0A418;
+ productRefGroup = C8FD4D34153D447200D0A418 /* Products */;
+ projectDirPath = "";
+ projectRoot = "";
+ targets = (
+ C8FD4D32153D447200D0A418 /* DetailedHistoryTest */,
+ );
+ };
+/* End PBXProject section */
+
+/* Begin PBXResourcesBuildPhase section */
+ C8FD4D31153D447200D0A418 /* Resources */ = {
+ isa = PBXResourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ C8FD4D42153D447200D0A418 /* InfoPlist.strings in Resources */,
+ C8FD4D85153D505500D0A418 /* MainWindow_iPhone.xib in Resources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXResourcesBuildPhase section */
+
+/* Begin PBXSourcesBuildPhase section */
+ C8FD4D2F153D447200D0A418 /* Sources */ = {
+ isa = PBXSourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ C8FD4D44153D447200D0A418 /* main.m in Sources */,
+ C8FD4D48153D447200D0A418 /* AppDelegate.m in Sources */,
+ C8FD4D4E153D447200D0A418 /* iPhoneTest.m in Sources */,
+ C8FD4D79153D469D00D0A418 /* Base64.m in Sources */,
+ C8FD4D7A153D469D00D0A418 /* CEPubnub.m in Sources */,
+ C8FD4D7B153D469D00D0A418 /* Cipher.m in Sources */,
+ C8FD4D7C153D469D00D0A418 /* Common.m in Sources */,
+ C8C1CDD81611C71100FE66B6 /* JSONKit.m in Sources */,
+ C8C1CDDB1611CC3C00FE66B6 /* JSON.m in Sources */,
+ C8A06AA51664BC4700FB808A /* SubcribeInBackground.m in Sources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXSourcesBuildPhase section */
+
+/* Begin PBXVariantGroup section */
+ C8FD4D40153D447200D0A418 /* InfoPlist.strings */ = {
+ isa = PBXVariantGroup;
+ children = (
+ C8FD4D41153D447200D0A418 /* en */,
+ );
+ name = InfoPlist.strings;
+ sourceTree = "<group>";
+ };
+/* End PBXVariantGroup section */
+
+/* Begin XCBuildConfiguration section */
+ C8FD4D4F153D447200D0A418 /* Debug */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ALWAYS_SEARCH_USER_PATHS = NO;
+ ARCHS = "$(ARCHS_STANDARD_32_BIT)";
+ CLANG_ENABLE_OBJC_ARC = YES;
+ "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
+ COPY_PHASE_STRIP = NO;
+ GCC_C_LANGUAGE_STANDARD = gnu99;
+ GCC_DYNAMIC_NO_PIC = NO;
+ GCC_OPTIMIZATION_LEVEL = 0;
+ GCC_PREPROCESSOR_DEFINITIONS = (
+ "DEBUG=1",
+ "$(inherited)",
+ );
+ GCC_SYMBOLS_PRIVATE_EXTERN = NO;
+ GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
+ GCC_WARN_ABOUT_RETURN_TYPE = YES;
+ GCC_WARN_UNINITIALIZED_AUTOS = YES;
+ GCC_WARN_UNUSED_VARIABLE = YES;
+ IPHONEOS_DEPLOYMENT_TARGET = 4.0;
+ SDKROOT = iphoneos;
+ };
+ name = Debug;
+ };
+ C8FD4D50153D447200D0A418 /* Release */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ALWAYS_SEARCH_USER_PATHS = NO;
+ ARCHS = "$(ARCHS_STANDARD_32_BIT)";
+ CLANG_ENABLE_OBJC_ARC = YES;
+ "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
+ COPY_PHASE_STRIP = YES;
+ GCC_C_LANGUAGE_STANDARD = gnu99;
+ GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
+ GCC_WARN_ABOUT_RETURN_TYPE = YES;
+ GCC_WARN_UNINITIALIZED_AUTOS = YES;
+ GCC_WARN_UNUSED_VARIABLE = YES;
+ IPHONEOS_DEPLOYMENT_TARGET = 4.0;
+ OTHER_CFLAGS = "-DNS_BLOCK_ASSERTIONS=1";
+ SDKROOT = iphoneos;
+ VALIDATE_PRODUCT = YES;
+ };
+ name = Release;
+ };
+ C8FD4D52153D447200D0A418 /* Debug */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ GCC_PRECOMPILE_PREFIX_HEADER = YES;
+ GCC_PREFIX_HEADER = "Pubnub/DetailedHistoryTest-Prefix.pch";
+ INFOPLIST_FILE = "Pubnub/DetailedHistoryTest-Info.plist";
+ IPHONEOS_DEPLOYMENT_TARGET = 4.0;
+ PRODUCT_NAME = DetailedHistoryTest;
+ WRAPPER_EXTENSION = app;
+ };
+ name = Debug;
+ };
+ C8FD4D53153D447200D0A418 /* Release */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ GCC_PRECOMPILE_PREFIX_HEADER = YES;
+ GCC_PREFIX_HEADER = "Pubnub/DetailedHistoryTest-Prefix.pch";
+ INFOPLIST_FILE = "Pubnub/DetailedHistoryTest-Info.plist";
+ IPHONEOS_DEPLOYMENT_TARGET = 4.0;
+ PRODUCT_NAME = DetailedHistoryTest;
+ WRAPPER_EXTENSION = app;
+ };
+ name = Release;
+ };
+/* End XCBuildConfiguration section */
+
+/* Begin XCConfigurationList section */
+ C8FD4D2D153D447100D0A418 /* Build configuration list for PBXProject "DetailedHistoryTest" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ C8FD4D4F153D447200D0A418 /* Debug */,
+ C8FD4D50153D447200D0A418 /* Release */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
+ };
+ C8FD4D51153D447200D0A418 /* Build configuration list for PBXNativeTarget "DetailedHistoryTest" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ C8FD4D52153D447200D0A418 /* Debug */,
+ C8FD4D53153D447200D0A418 /* Release */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
+ };
+/* End XCConfigurationList section */
+ };
+ rootObject = C8FD4D2A153D447100D0A418 /* Project object */;
+}
View
7 objective-c/DetailedHistoryTest/DetailedHistoryTest.xcodeproj/project.xcworkspace/contents.xcworkspacedata
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Workspace
+ version = "1.0">
+ <FileRef
+ location = "self:DetailedHistoryTest.xcodeproj">
+ </FileRef>
+</Workspace>
View
BIN  ...storyTest.xcodeproj/project.xcworkspace/xcuserdata/dahiwadkar.xcuserdatad/UserInterfaceState.xcuserstate
Binary file not shown
View
10 ...HistoryTest.xcodeproj/project.xcworkspace/xcuserdata/dahiwadkar.xcuserdatad/WorkspaceSettings.xcsettings
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>HasAskedToTakeAutomaticSnapshotBeforeSignificantChanges</key>
+ <true/>
+ <key>SnapshotAutomaticallyBeforeSignificantChanges</key>
+ <true/>
+</dict>
+</plist>
View
BIN  ...edHistoryTest.xcodeproj/project.xcworkspace/xcuserdata/pubnub.xcuserdatad/UserInterfaceState.xcuserstate
Binary file not shown
View
176 ...ryTest/DetailedHistoryTest.xcodeproj/xcuserdata/dahiwadkar.xcuserdatad/xcdebugger/Breakpoints.xcbkptlist
@@ -0,0 +1,176 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Bucket
+ type = "1"
+ version = "1.0">
+ <FileBreakpoints>
+ <FileBreakpoint
+ shouldBeEnabled = "No"
+ ignoreCount = "0"
+ continueAfterRunningActions = "No"
+ filePath = "Pubnub/PubNub/CEPubnub.m"
+ timestampString = "380814960.229824"
+ startingColumnNumber = "9223372036854775807"
+ endingColumnNumber = "9223372036854775807"
+ startingLineNumber = "177"
+ endingLineNumber = "177"
+ landmarkName = "-connection:didFailWithError:"
+ landmarkType = "5">
+ </FileBreakpoint>
+ <FileBreakpoint
+ shouldBeEnabled = "No"
+ ignoreCount = "0"
+ continueAfterRunningActions = "No"
+ filePath = "Pubnub/PubNub/CEPubnub.m"
+ timestampString = "380814960.229824"
+ startingColumnNumber = "9223372036854775807"
+ endingColumnNumber = "9223372036854775807"
+ startingLineNumber = "214"
+ endingLineNumber = "214"
+ landmarkName = "delegate"
+ landmarkType = "19">
+ </FileBreakpoint>
+ <FileBreakpoint
+ shouldBeEnabled = "No"
+ ignoreCount = "0"
+ continueAfterRunningActions = "No"
+ filePath = "Pubnub/PubNub/CEPubnub.m"
+ timestampString = "380814960.229824"
+ startingColumnNumber = "9223372036854775807"
+ endingColumnNumber = "9223372036854775807"
+ startingLineNumber = "509"
+ endingLineNumber = "509"
+ landmarkName = "-isSubscribedToChannel:"
+ landmarkType = "5">
+ </FileBreakpoint>
+ <FileBreakpoint
+ shouldBeEnabled = "No"
+ ignoreCount = "0"
+ continueAfterRunningActions = "No"
+ filePath = "Pubnub/PubNub/CEPubnub.m"
+ timestampString = "380814960.229824"
+ startingColumnNumber = "9223372036854775807"
+ endingColumnNumber = "9223372036854775807"
+ startingLineNumber = "706"
+ endingLineNumber = "706"
+ landmarkName = "-connection:didCompleteWithResponse:"
+ landmarkType = "5">
+ </FileBreakpoint>
+ <FileBreakpoint
+ shouldBeEnabled = "No"
+ ignoreCount = "0"
+ continueAfterRunningActions = "No"
+ filePath = "Pubnub/PubNub/CEPubnub.m"
+ timestampString = "380814960.229824"
+ startingColumnNumber = "9223372036854775807"
+ endingColumnNumber = "9223372036854775807"
+ startingLineNumber = "497"
+ endingLineNumber = "497"
+ landmarkName = "-isSubscribedToChannel:"
+ landmarkType = "5">
+ </FileBreakpoint>
+ <FileBreakpoint
+ shouldBeEnabled = "No"
+ ignoreCount = "0"
+ continueAfterRunningActions = "No"
+ filePath = "Pubnub/PubNub/CEPubnub.m"
+ timestampString = "380814960.229824"
+ startingColumnNumber = "9223372036854775807"
+ endingColumnNumber = "9223372036854775807"
+ startingLineNumber = "117"
+ endingLineNumber = "117"
+ landmarkName = "-connectionDidFinishLoading:"
+ landmarkType = "5">
+ </FileBreakpoint>
+ <FileBreakpoint
+ shouldBeEnabled = "Yes"
+ ignoreCount = "0"
+ continueAfterRunningActions = "No"
+ filePath = "Pubnub/PubNub/CEPubnub.m"
+ timestampString = "380814960.229824"
+ startingColumnNumber = "9223372036854775807"
+ endingColumnNumber = "9223372036854775807"
+ startingLineNumber = "978"
+ endingLineNumber = "978"
+ landmarkName = "-handleCommandGetTimeForConnection:response:"
+ landmarkType = "5">
+ </FileBreakpoint>
+ <FileBreakpoint
+ shouldBeEnabled = "No"
+ ignoreCount = "0"
+ continueAfterRunningActions = "No"
+ filePath = "Pubnub/PubNub/CEPubnub.m"
+ timestampString = "380814960.229824"
+ startingColumnNumber = "9223372036854775807"
+ endingColumnNumber = "9223372036854775807"
+ startingLineNumber = "972"
+ endingLineNumber = "972"
+ landmarkName = "-handleCommandGetTimeForConnection:response:"
+ landmarkType = "5">
+ </FileBreakpoint>
+ <FileBreakpoint
+ shouldBeEnabled = "Yes"
+ ignoreCount = "0"
+ continueAfterRunningActions = "No"
+ filePath = "Pubnub/PubNub/CEPubnub.m"
+ timestampString = "380814960.229824"
+ startingColumnNumber = "9223372036854775807"
+ endingColumnNumber = "9223372036854775807"
+ startingLineNumber = "973"
+ endingLineNumber = "973"
+ landmarkName = "-handleCommandGetTimeForConnection:response:"
+ landmarkType = "5">
+ </FileBreakpoint>
+ <FileBreakpoint
+ shouldBeEnabled = "No"
+ ignoreCount = "0"
+ continueAfterRunningActions = "No"
+ filePath = "Pubnub/PubNub/CEPubnub.m"
+ timestampString = "380814960.229824"
+ startingColumnNumber = "9223372036854775807"
+ endingColumnNumber = "9223372036854775807"
+ startingLineNumber = "128"
+ endingLineNumber = "128"
+ landmarkName = "-connectionDidFinishLoading:"
+ landmarkType = "5">
+ </FileBreakpoint>
+ <FileBreakpoint
+ shouldBeEnabled = "No"
+ ignoreCount = "0"
+ continueAfterRunningActions = "No"
+ filePath = "Pubnub/PubNub/CEPubnub.m"
+ timestampString = "380814960.229824"
+ startingColumnNumber = "9223372036854775807"
+ endingColumnNumber = "9223372036854775807"
+ startingLineNumber = "1009"
+ endingLineNumber = "1009"
+ landmarkName = "-connectToChannel:"
+ landmarkType = "5">
+ </FileBreakpoint>
+ <FileBreakpoint
+ shouldBeEnabled = "No"
+ ignoreCount = "0"
+ continueAfterRunningActions = "No"
+ filePath = "Pubnub/iPhoneTest.m"
+ timestampString = "380812541.900211"
+ startingColumnNumber = "9223372036854775807"
+ endingColumnNumber = "9223372036854775807"
+ startingLineNumber = "206"
+ endingLineNumber = "206"
+ landmarkName = "-getHistoryResult:"
+ landmarkType = "5">
+ </FileBreakpoint>
+ <FileBreakpoint
+ shouldBeEnabled = "No"
+ ignoreCount = "0"
+ continueAfterRunningActions = "No"
+ filePath = "Pubnub/iPhoneTest.m"
+ timestampString = "380812541.900211"
+ startingColumnNumber = "9223372036854775807"
+ endingColumnNumber = "9223372036854775807"
+ startingLineNumber = "201"
+ endingLineNumber = "201"
+ landmarkName = "-textFieldShouldReturn:"
+ landmarkType = "5">
+ </FileBreakpoint>
+ </FileBreakpoints>
+</Bucket>
View
85 ...ledHistoryTest/DetailedHistoryTest.xcodeproj/xcuserdata/dahiwadkar.xcuserdatad/xcschemes/Pubnub.xcscheme
@@ -0,0 +1,85 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Scheme
+ version = "1.3">
+ <BuildAction
+ parallelizeBuildables = "YES"
+ buildImplicitDependencies = "YES">
+ <BuildActionEntries>
+ <BuildActionEntry
+ buildForTesting = "YES"
+ buildForRunning = "YES"
+ buildForProfiling = "YES"
+ buildForArchiving = "YES"
+ buildForAnalyzing = "YES">
+ <BuildableReference
+ BuildableIdentifier = "primary"
+ BlueprintIdentifier = "C8FD4D32153D447200D0A418"
+ BuildableName = "DetailedHistoryTest.app"
+ BlueprintName = "DetailedHistoryTest"
+ ReferencedContainer = "container:DetailedHistoryTest.xcodeproj">
+ </BuildableReference>
+ </BuildActionEntry>
+ </BuildActionEntries>
+ </BuildAction>
+ <TestAction
+ selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
+ selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
+ shouldUseLaunchSchemeArgsEnv = "YES"
+ buildConfiguration = "Debug">
+ <Testables>
+ </Testables>
+ <MacroExpansion>
+ <BuildableReference
+ BuildableIdentifier = "primary"
+ BlueprintIdentifier = "C8FD4D32153D447200D0A418"
+ BuildableName = "DetailedHistoryTest.app"
+ BlueprintName = "DetailedHistoryTest"
+ ReferencedContainer = "container:DetailedHistoryTest.xcodeproj">
+ </BuildableReference>
+ </MacroExpansion>
+ </TestAction>
+ <LaunchAction
+ selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
+ selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
+ launchStyle = "0"
+ useCustomWorkingDirectory = "NO"
+ buildConfiguration = "Debug"
+ ignoresPersistentStateOnLaunch = "NO"
+ debugDocumentVersioning = "YES"
+ allowLocationSimulation = "YES">
+ <BuildableProductRunnable>
+ <BuildableReference
+ BuildableIdentifier = "primary"
+ BlueprintIdentifier = "C8FD4D32153D447200D0A418"
+ BuildableName = "DetailedHistoryTest.app"
+ BlueprintName = "DetailedHistoryTest"
+ ReferencedContainer = "container:DetailedHistoryTest.xcodeproj">
+ </BuildableReference>
+ </BuildableProductRunnable>
+ <AdditionalOptions>
+ </AdditionalOptions>
+ </LaunchAction>
+ <ProfileAction
+ shouldUseLaunchSchemeArgsEnv = "YES"
+ savedToolIdentifier = ""
+ useCustomWorkingDirectory = "NO"
+ buildConfiguration = "Release"
+ debugDocumentVersioning = "YES">
+ <BuildableProductRunnable>
+ <BuildableReference
+ BuildableIdentifier = "primary"
+ BlueprintIdentifier = "C8FD4D32153D447200D0A418"
+ BuildableName = "DetailedHistoryTest.app"
+ BlueprintName = "DetailedHistoryTest"
+ ReferencedContainer = "container:DetailedHistoryTest.xcodeproj">
+ </BuildableReference>
+ </BuildableProductRunnable>
+ </ProfileAction>
+ <AnalyzeAction
+ buildConfiguration = "Debug">
+ </AnalyzeAction>
+ <ArchiveAction
+ buildConfiguration = "Release"
+ revealArchiveInOrganizer = "YES">
+ </ArchiveAction>
+</Scheme>
View
22 ...yTest/DetailedHistoryTest.xcodeproj/xcuserdata/dahiwadkar.xcuserdatad/xcschemes/xcschememanagement.plist
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>SchemeUserState</key>
+ <dict>
+ <key>Pubnub.xcscheme</key>
+ <dict>
+ <key>orderHint</key>
+ <integer>0</integer>
+ </dict>
+ </dict>
+ <key>SuppressBuildableAutocreation</key>
+ <dict>
+ <key>C8FD4D32153D447200D0A418</key>
+ <dict>
+ <key>primary</key>
+ <true/>
+ </dict>
+ </dict>
+</dict>
+</plist>
View
86 ...etailedHistoryTest/DetailedHistoryTest.xcodeproj/xcuserdata/pubnub.xcuserdatad/xcschemes/Pubnub.xcscheme
@@ -0,0 +1,86 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Scheme
+ LastUpgradeVersion = "0440"
+ version = "1.3">
+ <BuildAction
+ parallelizeBuildables = "YES"
+ buildImplicitDependencies = "YES">
+ <BuildActionEntries>
+ <BuildActionEntry
+ buildForTesting = "YES"
+ buildForRunning = "YES"
+ buildForProfiling = "YES"
+ buildForArchiving = "YES"
+ buildForAnalyzing = "YES">
+ <BuildableReference
+ BuildableIdentifier = "primary"
+ BlueprintIdentifier = "C8FD4D32153D447200D0A418"
+ BuildableName = "Pubnub.app"
+ BlueprintName = "Pubnub"
+ ReferencedContainer = "container:Pubnub.xcodeproj">
+ </BuildableReference>
+ </BuildActionEntry>
+ </BuildActionEntries>
+ </BuildAction>
+ <TestAction
+ selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
+ selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
+ shouldUseLaunchSchemeArgsEnv = "YES"
+ buildConfiguration = "Debug">
+ <Testables>
+ </Testables>
+ <MacroExpansion>
+ <BuildableReference
+ BuildableIdentifier = "primary"
+ BlueprintIdentifier = "C8FD4D32153D447200D0A418"
+ BuildableName = "Pubnub.app"
+ BlueprintName = "Pubnub"
+ ReferencedContainer = "container:Pubnub.xcodeproj">
+ </BuildableReference>
+ </MacroExpansion>
+ </TestAction>
+ <LaunchAction
+ selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
+ selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
+ launchStyle = "0"
+ useCustomWorkingDirectory = "NO"
+ buildConfiguration = "Debug"
+ ignoresPersistentStateOnLaunch = "NO"
+ debugDocumentVersioning = "YES"
+ allowLocationSimulation = "YES">
+ <BuildableProductRunnable>
+ <BuildableReference
+ BuildableIdentifier = "primary"
+ BlueprintIdentifier = "C8FD4D32153D447200D0A418"
+ BuildableName = "Pubnub.app"
+ BlueprintName = "Pubnub"
+ ReferencedContainer = "container:Pubnub.xcodeproj">
+ </BuildableReference>
+ </BuildableProductRunnable>
+ <AdditionalOptions>
+ </AdditionalOptions>
+ </LaunchAction>
+ <ProfileAction
+ shouldUseLaunchSchemeArgsEnv = "YES"
+ savedToolIdentifier = ""
+ useCustomWorkingDirectory = "NO"
+ buildConfiguration = "Release"
+ debugDocumentVersioning = "YES">
+ <BuildableProductRunnable>
+ <BuildableReference
+ BuildableIdentifier = "primary"
+ BlueprintIdentifier = "C8FD4D32153D447200D0A418"
+ BuildableName = "Pubnub.app"
+ BlueprintName = "Pubnub"
+ ReferencedContainer = "container:Pubnub.xcodeproj">
+ </BuildableReference>
+ </BuildableProductRunnable>
+ </ProfileAction>
+ <AnalyzeAction
+ buildConfiguration = "Debug">
+ </AnalyzeAction>
+ <ArchiveAction
+ buildConfiguration = "Release"
+ revealArchiveInOrganizer = "YES">
+ </ArchiveAction>
+</Scheme>
View
22 ...storyTest/DetailedHistoryTest.xcodeproj/xcuserdata/pubnub.xcuserdatad/xcschemes/xcschememanagement.plist
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>SchemeUserState</key>
+ <dict>
+ <key>Pubnub.xcscheme</key>
+ <dict>
+ <key>orderHint</key>
+ <integer>0</integer>
+ </dict>
+ </dict>
+ <key>SuppressBuildableAutocreation</key>
+ <dict>
+ <key>C8FD4D32153D447200D0A418</key>
+ <dict>
+ <key>primary</key>
+ <true/>
+ </dict>
+ </dict>
+</dict>
+</plist>
View
15 objective-c/DetailedHistoryTest/Pubnub/AppDelegate.h
@@ -0,0 +1,15 @@
+//
+// AppDelegate.h
+// Pubnub
+//
+// Created by itshastra on 17/04/12.
+// Copyright (c) 2012 __MyCompanyName__. All rights reserved.
+//
+
+#import <UIKit/UIKit.h>
+
+@interface AppDelegate : UIResponder <UIApplicationDelegate>
+
+@property (strong, nonatomic) UIWindow *window;
+
+@end
View
52 objective-c/DetailedHistoryTest/Pubnub/AppDelegate.m
@@ -0,0 +1,52 @@
+//
+// AppDelegate.m
+// Pubnub
+//
+// Created by itshastra on 17/04/12.
+// Copyright (c) 2012 __MyCompanyName__. All rights reserved.
+//
+
+#import "AppDelegate.h"
+#import "iPhoneTest.h"
+#import "CEPubnub.h"
+
+@implementation AppDelegate
+
+@synthesize window = _window;
+
+- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
+{
+ NSLog(@"launching");
+ // Override point for customization after application launch.
+ return YES;
+}
+
+- (void)applicationWillResignActive:(UIApplication *)application
+{
+ // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state.
+ // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game.
+ [CEPubnub setApplicationActive:NO];
+}
+
+- (void)applicationDidEnterBackground:(UIApplication *)application
+{
+ // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later.
+ // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.
+}
+
+- (void)applicationWillEnterForeground:(UIApplication *)application
+{
+ // Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background.
+}
+
+- (void)applicationDidBecomeActive:(UIApplication *)application
+{
+ // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface.
+}
+
+- (void)applicationWillTerminate:(UIApplication *)application
+{
+ // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.
+}
+
+@end
View
40 objective-c/DetailedHistoryTest/Pubnub/DetailedHistoryTest-Info.plist
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>CFBundleDevelopmentRegion</key>
+ <string>en</string>
+ <key>CFBundleDisplayName</key>
+ <string>${PRODUCT_NAME}</string>
+ <key>CFBundleExecutable</key>
+ <string>${EXECUTABLE_NAME}</string>
+ <key>CFBundleIdentifier</key>
+ <string>its.${PRODUCT_NAME:rfc1034identifier}</string>
+ <key>CFBundleInfoDictionaryVersion</key>
+ <string>6.0</string>
+ <key>CFBundleName</key>
+ <string>${PRODUCT_NAME}</string>
+ <key>CFBundlePackageType</key>
+ <string>APPL</string>
+ <key>CFBundleShortVersionString</key>
+ <string>1.0</string>
+ <key>CFBundleSignature</key>
+ <string>????</string>
+ <key>CFBundleVersion</key>
+ <string>1.0</string>
+ <key>LSRequiresIPhoneOS</key>
+ <true/>
+ <key>NSMainNibFile</key>
+ <string>MainWindow_iPhone</string>
+ <key>UIRequiredDeviceCapabilities</key>
+ <array>
+ <string>armv7</string>
+ </array>
+ <key>UISupportedInterfaceOrientations</key>
+ <array>
+ <string>UIInterfaceOrientationPortrait</string>
+ <string>UIInterfaceOrientationLandscapeLeft</string>
+ <string>UIInterfaceOrientationLandscapeRight</string>
+ </array>
+</dict>
+</plist>
View
14 objective-c/DetailedHistoryTest/Pubnub/DetailedHistoryTest-Prefix.pch
@@ -0,0 +1,14 @@
+//
+// Prefix header for all source files of the 'Pubnub' target in the 'Pubnub' project
+//
+
+#import <Availability.h>
+
+#ifndef __IPHONE_5_0
+#warning "This project uses features only available in iOS SDK 5.0 and later."
+#endif
+
+#ifdef __OBJC__
+ #import <UIKit/UIKit.h>
+ #import <Foundation/Foundation.h>
+#endif
View
1,011 objective-c/DetailedHistoryTest/Pubnub/MainWindow_iPhone.xib
@@ -0,0 +1,1011 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<archive type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="7.10">
+ <data>
+ <int key="IBDocument.SystemTarget">1296</int>
+ <string key="IBDocument.SystemVersion">11G63</string>
+ <string key="IBDocument.InterfaceBuilderVersion">2549</string>
+ <string key="IBDocument.AppKitVersion">1138.51</string>
+ <string key="IBDocument.HIToolboxVersion">569.00</string>
+ <object class="NSMutableDictionary" key="IBDocument.PluginVersions">
+ <string key="NS.key.0">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ <string key="NS.object.0">1498</string>
+ </object>
+ <object class="NSArray" key="IBDocument.IntegratedClassDependencies">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <string>IBProxyObject</string>
+ <string>IBUIButton</string>
+ <string>IBUICustomObject</string>
+ <string>IBUILabel</string>
+ <string>IBUIScrollView</string>
+ <string>IBUISwitch</string>
+ <string>IBUITextField</string>
+ <string>IBUITextView</string>
+ <string>IBUIView</string>
+ <string>IBUIViewController</string>
+ <string>IBUIWindow</string>
+ </object>
+ <object class="NSArray" key="IBDocument.PluginDependencies">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ </object>
+ <object class="NSMutableDictionary" key="IBDocument.Metadata">
+ <string key="NS.key.0">PluginDependencyRecalculationVersion</string>
+ <integer value="1" key="NS.object.0"/>
+ </object>
+ <object class="NSMutableArray" key="IBDocument.RootObjects" id="1000">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="IBProxyObject" id="841351856">
+ <string key="IBProxiedObjectIdentifier">IBFilesOwner</string>
+ <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+ </object>
+ <object class="IBProxyObject" id="450319686">
+ <string key="IBProxiedObjectIdentifier">IBFirstResponder</string>
+ <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+ </object>
+ <object class="IBUIWindow" id="380026005">
+ <reference key="NSNextResponder"/>
+ <int key="NSvFlags">1316</int>
+ <object class="NSMutableArray" key="NSSubviews">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="IBUIView" id="827338986">
+ <reference key="NSNextResponder" ref="380026005"/>
+ <int key="NSvFlags">1298</int>
+ <string key="NSFrame">{{0, 10}, {320, 460}}</string>
+ <reference key="NSSuperview" ref="380026005"/>
+ <object class="NSColor" key="IBUIBackgroundColor">
+ <int key="NSColorSpace">3</int>
+ <bytes key="NSWhite">MC43NQA</bytes>
+ <object class="NSColorSpace" key="NSCustomColorSpace" id="867276257">
+ <int key="NSID">2</int>
+ </object>
+ </object>
+ <bool key="IBUIClearsContextBeforeDrawing">NO</bool>
+ <object class="IBUISimulatedStatusBarMetrics" key="IBUISimulatedStatusBarMetrics"/>
+ <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+ </object>
+ </object>
+ <object class="NSPSMatrix" key="NSFrameMatrix"/>
+ <string key="NSFrameSize">{320, 480}</string>
+ <reference key="NSSuperview"/>
+ <reference key="NSNextKeyView" ref="827338986"/>
+ <object class="NSColor" key="IBUIBackgroundColor">
+ <int key="NSColorSpace">1</int>
+ <bytes key="NSRGB">MSAxIDEAA</bytes>
+ </object>
+ <bool key="IBUIOpaque">NO</bool>
+ <bool key="IBUIClearsContextBeforeDrawing">NO</bool>
+ <object class="IBUISimulatedStatusBarMetrics" key="IBUISimulatedStatusBarMetrics"/>
+ <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+ <bool key="IBUIResizesToFullScreen">YES</bool>
+ </object>
+ <object class="IBUICustomObject" id="987256611">
+ <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+ </object>
+ <object class="IBUIViewController" id="983902574">
+ <object class="IBUIView" key="IBUIView" id="448933780">
+ <reference key="NSNextResponder"/>
+ <int key="NSvFlags">274</int>
+ <object class="NSMutableArray" key="NSSubviews">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="IBUIScrollView" id="224265230">
+ <reference key="NSNextResponder" ref="448933780"/>
+ <int key="NSvFlags">1292</int>
+ <object class="NSMutableArray" key="NSSubviews">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="IBUITextView" id="551291897">
+ <reference key="NSNextResponder" ref="224265230"/>
+ <int key="NSvFlags">1316</int>
+ <string key="NSFrame">{{0, 287}, {320, 173}}</string>
+ <reference key="NSSuperview" ref="224265230"/>
+ <object class="NSColor" key="IBUIBackgroundColor">
+ <int key="NSColorSpace">1</int>
+ <bytes key="NSRGB">MC45ODgzNjI0NTYgMSAwLjc5NjcyMTA5MwA</bytes>
+ </object>
+ <bool key="IBUIClipsSubviews">YES</bool>
+ <bool key="IBUIMultipleTouchEnabled">YES</bool>
+ <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+ <bool key="IBUIEditable">NO</bool>
+ <string key="IBUIText"/>
+ <object class="IBUITextInputTraits" key="IBUITextInputTraits">
+ <int key="IBUIAutocapitalizationType">2</int>
+ <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+ </object>
+ <object class="IBUIFontDescription" key="IBUIFontDescription">
+ <string key="name">Helvetica</string>
+ <string key="family">Helvetica</string>
+ <int key="traits">0</int>
+ <double key="pointSize">15</double>
+ </object>
+ <object class="NSFont" key="IBUIFont">
+ <string key="NSName">Helvetica</string>
+ <double key="NSSize">15</double>
+ <int key="NSfFlags">16</int>
+ </object>
+ </object>
+ <object class="IBUITextField" id="783244782">
+ <reference key="NSNextResponder" ref="224265230"/>
+ <int key="NSvFlags">1316</int>
+ <string key="NSFrame">{{9, 9}, {245, 31}}</string>
+ <reference key="NSSuperview" ref="224265230"/>
+ <reference key="NSNextKeyView" ref="684846554"/>
+ <string key="NSReuseIdentifierKey">_NS:9</string>
+ <bool key="IBUIOpaque">NO</bool>
+ <bool key="IBUIClipsSubviews">YES</bool>
+ <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+ <int key="IBUIContentVerticalAlignment">0</int>
+ <string key="IBUIText">demo</string>
+ <int key="IBUIBorderStyle">3</int>
+ <object class="NSColor" key="IBUITextColor">
+ <int key="NSColorSpace">3</int>
+ <bytes key="NSWhite">MAA</bytes>
+ <reference key="NSCustomColorSpace" ref="867276257"/>
+ </object>
+ <bool key="IBUIAdjustsFontSizeToFit">YES</bool>
+ <float key="IBUIMinimumFontSize">17</float>
+ <object class="IBUITextInputTraits" key="IBUITextInputTraits">
+ <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+ </object>
+ <object class="IBUIFontDescription" key="IBUIFontDescription" id="1012025305">
+ <int key="type">1</int>
+ <double key="pointSize">14</double>
+ </object>
+ <object class="NSFont" key="IBUIFont" id="63942241">
+ <string key="NSName">Helvetica</string>
+ <double key="NSSize">14</double>
+ <int key="NSfFlags">16</int>
+ </object>
+ </object>
+ <object class="IBUITextField" id="582363854">
+ <reference key="NSNextResponder" ref="224265230"/>
+ <int key="NSvFlags">1316</int>
+ <string key="NSFrame">{{9, 48}, {245, 31}}</string>
+ <reference key="NSSuperview" ref="224265230"/>
+ <reference key="NSNextKeyView" ref="1070599666"/>
+ <string key="NSReuseIdentifierKey">_NS:9</string>
+ <bool key="IBUIOpaque">NO</bool>
+ <bool key="IBUIClipsSubviews">YES</bool>
+ <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+ <int key="IBUIContentVerticalAlignment">0</int>
+ <string key="IBUIText">channel_demo</string>
+ <int key="IBUIBorderStyle">3</int>
+ <object class="NSColor" key="IBUITextColor">
+ <int key="NSColorSpace">3</int>
+ <bytes key="NSWhite">MAA</bytes>
+ <reference key="NSCustomColorSpace" ref="867276257"/>
+ </object>
+ <bool key="IBUIAdjustsFontSizeToFit">YES</bool>
+ <float key="IBUIMinimumFontSize">17</float>
+ <object class="IBUITextInputTraits" key="IBUITextInputTraits">
+ <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+ </object>
+ <reference key="IBUIFontDescription" ref="1012025305"/>
+ <reference key="IBUIFont" ref="63942241"/>
+ </object>
+ <object class="IBUITextField" id="879367600">
+ <reference key="NSNextResponder" ref="224265230"/>
+ <int key="NSvFlags">1316</int>
+ <string key="NSFrame">{{9, 87}, {245, 31}}</string>
+ <reference key="NSSuperview" ref="224265230"/>
+ <reference key="NSNextKeyView" ref="812092205"/>
+ <string key="NSReuseIdentifierKey">_NS:9</string>
+ <bool key="IBUIOpaque">NO</bool>
+ <bool key="IBUIClipsSubviews">YES</bool>
+ <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+ <int key="IBUIContentVerticalAlignment">0</int>
+ <string key="IBUIText"/>
+ <int key="IBUIBorderStyle">3</int>
+ <object class="NSColor" key="IBUITextColor">
+ <int key="NSColorSpace">3</int>
+ <bytes key="NSWhite">MAA</bytes>
+ <reference key="NSCustomColorSpace" ref="867276257"/>
+ </object>
+ <bool key="IBUIAdjustsFontSizeToFit">YES</bool>
+ <float key="IBUIMinimumFontSize">17</float>
+ <object class="IBUITextInputTraits" key="IBUITextInputTraits">
+ <int key="IBUIKeyboardType">4</int>
+ <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+ </object>
+ <reference key="IBUIFontDescription" ref="1012025305"/>
+ <reference key="IBUIFont" ref="63942241"/>
+ </object>
+ <object class="IBUILabel" id="684846554">
+ <reference key="NSNextResponder" ref="224265230"/>
+ <int key="NSvFlags">1316</int>
+ <string key="NSFrame">{{262, 9}, {51, 29.5}}</string>
+ <reference key="NSSuperview" ref="224265230"/>
+ <reference key="NSNextKeyView" ref="582363854"/>
+ <string key="NSReuseIdentifierKey">_NS:9</string>
+ <bool key="IBUIOpaque">NO</bool>
+ <bool key="IBUIClipsSubviews">YES</bool>
+ <int key="IBUIContentMode">7</int>
+ <bool key="IBUIUserInteractionEnabled">NO</bool>
+ <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+ <string key="IBUIText">Sub Key</string>
+ <object class="NSColor" key="IBUITextColor" id="36171636">
+ <int key="NSColorSpace">1</int>
+ <bytes key="NSRGB">MCAwIDAAA</bytes>
+ </object>
+ <nil key="IBUIHighlightedColor"/>
+ <int key="IBUIBaselineAdjustment">0</int>
+ <float key="IBUIMinimumFontSize">10</float>
+ <object class="IBUIFontDescription" key="IBUIFontDescription" id="864398418">
+ <int key="type">1</int>
+ <double key="pointSize">16</double>
+ </object>
+ <object class="NSFont" key="IBUIFont" id="730637914">
+ <string key="NSName">Helvetica</string>
+ <double key="NSSize">16</double>
+ <int key="NSfFlags">16</int>
+ </object>
+ </object>
+ <object class="IBUILabel" id="1070599666">
+ <reference key="NSNextResponder" ref="224265230"/>
+ <int key="NSvFlags">1316</int>
+ <string key="NSFrame">{{262, 46}, {51, 29.5}}</string>
+ <reference key="NSSuperview" ref="224265230"/>
+ <reference key="NSNextKeyView" ref="879367600"/>
+ <string key="NSReuseIdentifierKey">_NS:9</string>
+ <bool key="IBUIOpaque">NO</bool>
+ <bool key="IBUIClipsSubviews">YES</bool>
+ <int key="IBUIContentMode">7</int>
+ <bool key="IBUIUserInteractionEnabled">NO</bool>
+ <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+ <string key="IBUIText">Channel</string>
+ <reference key="IBUITextColor" ref="36171636"/>
+ <nil key="IBUIHighlightedColor"/>
+ <int key="IBUIBaselineAdjustment">0</int>
+ <float key="IBUIMinimumFontSize">10</float>
+ <reference key="IBUIFontDescription" ref="864398418"/>
+ <reference key="IBUIFont" ref="730637914"/>
+ </object>
+ <object class="IBUILabel" id="812092205">
+ <reference key="NSNextResponder" ref="224265230"/>
+ <int key="NSvFlags">1316</int>
+ <string key="NSFrame">{{262, 88}, {51, 29.5}}</string>
+ <reference key="NSSuperview" ref="224265230"/>
+ <reference key="NSNextKeyView" ref="143902136"/>
+ <string key="NSReuseIdentifierKey">_NS:9</string>
+ <bool key="IBUIOpaque">NO</bool>
+ <bool key="IBUIClipsSubviews">YES</bool>
+ <int key="IBUIContentMode">7</int>
+ <bool key="IBUIUserInteractionEnabled">NO</bool>
+ <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+ <string key="IBUIText">Start TT</string>
+ <reference key="IBUITextColor" ref="36171636"/>
+ <nil key="IBUIHighlightedColor"/>
+ <int key="IBUIBaselineAdjustment">0</int>
+ <float key="IBUIMinimumFontSize">10</float>
+ <reference key="IBUIFontDescription" ref="864398418"/>
+ <reference key="IBUIFont" ref="730637914"/>
+ </object>
+ <object class="IBUITextField" id="143902136">
+ <reference key="NSNextResponder" ref="224265230"/>
+ <int key="NSvFlags">1316</int>
+ <string key="NSFrame">{{8, 125}, {245, 31}}</string>
+ <reference key="NSSuperview" ref="224265230"/>
+ <reference key="NSNextKeyView" ref="662301632"/>
+ <string key="NSReuseIdentifierKey">_NS:9</string>
+ <bool key="IBUIOpaque">NO</bool>
+ <bool key="IBUIClipsSubviews">YES</bool>
+ <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+ <int key="IBUIContentVerticalAlignment">0</int>
+ <string key="IBUIText"/>
+ <int key="IBUIBorderStyle">3</int>
+ <object class="NSColor" key="IBUITextColor">
+ <int key="NSColorSpace">3</int>
+ <bytes key="NSWhite">MAA</bytes>
+ <reference key="NSCustomColorSpace" ref="867276257"/>
+ </object>
+ <bool key="IBUIAdjustsFontSizeToFit">YES</bool>
+ <float key="IBUIMinimumFontSize">17</float>
+ <object class="IBUITextInputTraits" key="IBUITextInputTraits">
+ <int key="IBUIKeyboardType">4</int>
+ <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+ </object>
+ <reference key="IBUIFontDescription" ref="1012025305"/>
+ <reference key="IBUIFont" ref="63942241"/>
+ </object>
+ <object class="IBUILabel" id="662301632">
+ <reference key="NSNextResponder" ref="224265230"/>
+ <int key="NSvFlags">1316</int>
+ <string key="NSFrame">{{261, 126.5}, {51, 29.5}}</string>
+ <reference key="NSSuperview" ref="224265230"/>
+ <reference key="NSNextKeyView" ref="182067317"/>
+ <string key="NSReuseIdentifierKey">_NS:9</string>
+ <bool key="IBUIOpaque">NO</bool>
+ <bool key="IBUIClipsSubviews">YES</bool>
+ <int key="IBUIContentMode">7</int>
+ <bool key="IBUIUserInteractionEnabled">NO</bool>
+ <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+ <string key="IBUIText">End TT</string>
+ <reference key="IBUITextColor" ref="36171636"/>
+ <nil key="IBUIHighlightedColor"/>
+ <int key="IBUIBaselineAdjustment">0</int>
+ <float key="IBUIMinimumFontSize">10</float>
+ <reference key="IBUIFontDescription" ref="864398418"/>
+ <reference key="IBUIFont" ref="730637914"/>
+ </object>
+ <object class="IBUITextField" id="182067317">
+ <reference key="NSNextResponder" ref="224265230"/>
+ <int key="NSvFlags">1316</int>
+ <string key="NSFrame">{{9, 164}, {83, 31}}</string>
+ <reference key="NSSuperview" ref="224265230"/>
+ <reference key="NSNextKeyView" ref="686740252"/>
+ <string key="NSReuseIdentifierKey">_NS:9</string>
+ <bool key="IBUIOpaque">NO</bool>
+ <bool key="IBUIClipsSubviews">YES</bool>
+ <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+ <int key="IBUIContentVerticalAlignment">0</int>
+ <string key="IBUIText"/>
+ <int key="IBUIBorderStyle">3</int>
+ <object class="NSColor" key="IBUITextColor">
+ <int key="NSColorSpace">3</int>
+ <bytes key="NSWhite">MAA</bytes>
+ <reference key="NSCustomColorSpace" ref="867276257"/>
+ </object>
+ <int key="IBUITextAlignment">2</int>
+ <bool key="IBUIAdjustsFontSizeToFit">YES</bool>
+ <float key="IBUIMinimumFontSize">17</float>
+ <object class="IBUITextInputTraits" key="IBUITextInputTraits">
+ <int key="IBUIKeyboardType">4</int>
+ <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+ </object>
+ <reference key="IBUIFontDescription" ref="1012025305"/>
+ <reference key="IBUIFont" ref="63942241"/>
+ </object>
+ <object class="IBUILabel" id="686740252">
+ <reference key="NSNextResponder" ref="224265230"/>
+ <int key="NSvFlags">1316</int>
+ <string key="NSFrame">{{105, 164}, {51, 29.5}}</string>
+ <reference key="NSSuperview" ref="224265230"/>
+ <reference key="NSNextKeyView" ref="411503385"/>
+ <string key="NSReuseIdentifierKey">_NS:9</string>
+ <bool key="IBUIOpaque">NO</bool>
+ <bool key="IBUIClipsSubviews">YES</bool>
+ <int key="IBUIContentMode">7</int>
+ <bool key="IBUIUserInteractionEnabled">NO</bool>
+ <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+ <string key="IBUIText">Count</string>
+ <reference key="IBUITextColor" ref="36171636"/>
+ <nil key="IBUIHighlightedColor"/>
+ <int key="IBUIBaselineAdjustment">0</int>
+ <float key="IBUIMinimumFontSize">10</float>
+ <reference key="IBUIFontDescription" ref="864398418"/>
+ <reference key="IBUIFont" ref="730637914"/>
+ </object>
+ <object class="IBUITextField" id="773652110">
+ <reference key="NSNextResponder" ref="224265230"/>
+ <int key="NSvFlags">1316</int>
+ <string key="NSFrame">{{9, 203}, {244, 31}}</string>
+ <reference key="NSSuperview" ref="224265230"/>
+ <reference key="NSNextKeyView" ref="228512820"/>
+ <string key="NSReuseIdentifierKey">_NS:9</string>
+ <bool key="IBUIOpaque">NO</bool>
+ <bool key="IBUIClipsSubviews">YES</bool>
+ <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+ <int key="IBUIContentVerticalAlignment">0</int>
+ <string key="IBUIText"/>
+ <int key="IBUIBorderStyle">3</int>
+ <object class="NSColor" key="IBUITextColor">
+ <int key="NSColorSpace">3</int>
+ <bytes key="NSWhite">MAA</bytes>
+ <reference key="NSCustomColorSpace" ref="867276257"/>
+ </object>
+ <int key="IBUITextAlignment">2</int>
+ <bool key="IBUIAdjustsFontSizeToFit">YES</bool>
+ <float key="IBUIMinimumFontSize">17</float>
+ <object class="IBUITextInputTraits" key="IBUITextInputTraits">
+ <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+ </object>
+ <reference key="IBUIFontDescription" ref="1012025305"/>
+ <reference key="IBUIFont" ref="63942241"/>
+ </object>
+ <object class="IBUILabel" id="228512820">
+ <reference key="NSNextResponder" ref="224265230"/>
+ <int key="NSvFlags">1316</int>
+ <string key="NSFrame">{{255, 198}, {61, 35.5}}</string>
+ <reference key="NSSuperview" ref="224265230"/>
+ <reference key="NSNextKeyView" ref="391508545"/>
+ <string key="NSReuseIdentifierKey">_NS:9</string>
+ <bool key="IBUIOpaque">NO</bool>
+ <bool key="IBUIClipsSubviews">YES</bool>
+ <int key="IBUIContentMode">7</int>
+ <bool key="IBUIUserInteractionEnabled">NO</bool>
+ <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+ <string key="IBUIText">Last URL</string>
+ <reference key="IBUITextColor" ref="36171636"/>
+ <nil key="IBUIHighlightedColor"/>
+ <int key="IBUIBaselineAdjustment">0</int>
+ <float key="IBUIMinimumFontSize">10</float>
+ <reference key="IBUIFontDescription" ref="864398418"/>
+ <reference key="IBUIFont" ref="730637914"/>
+ </object>
+ <object class="IBUILabel" id="355216240">
+ <reference key="NSNextResponder" ref="224265230"/>
+ <int key="NSvFlags">1316</int>
+ <string key="NSFrame">{{251, 160}, {69, 40}}</string>
+ <reference key="NSSuperview" ref="224265230"/>
+ <reference key="NSNextKeyView" ref="773652110"/>
+ <string key="NSReuseIdentifierKey">_NS:9</string>
+ <bool key="IBUIOpaque">NO</bool>
+ <bool key="IBUIClipsSubviews">YES</bool>
+ <int key="IBUIContentMode">7</int>
+ <bool key="IBUIUserInteractionEnabled">NO</bool>
+ <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+ <string key="IBUIText">Reverse</string>
+ <reference key="IBUITextColor" ref="36171636"/>
+ <nil key="IBUIHighlightedColor"/>
+ <int key="IBUIBaselineAdjustment">0</int>
+ <float key="IBUIMinimumFontSize">10</float>
+ <reference key="IBUIFontDescription" ref="864398418"/>
+ <reference key="IBUIFont" ref="730637914"/>
+ </object>
+ <object class="IBUISwitch" id="411503385">
+ <reference key="NSNextResponder" ref="224265230"/>
+ <int key="NSvFlags">1316</int>
+ <string key="NSFrame">{{149, 168}, {94, 27}}</string>
+ <reference key="NSSuperview" ref="224265230"/>
+ <reference key="NSNextKeyView" ref="355216240"/>
+ <string key="NSReuseIdentifierKey">_NS:9</string>
+ <bool key="IBUIOpaque">NO</bool>
+ <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+ <int key="IBUIContentHorizontalAlignment">0</int>
+ <int key="IBUIContentVerticalAlignment">0</int>
+ <bool key="IBUIOn">YES</bool>
+ </object>
+ <object class="IBUIButton" id="391508545">
+ <reference key="NSNextResponder" ref="224265230"/>
+ <int key="NSvFlags">1316</int>
+ <string key="NSFrame">{{6, 242}, {86, 37}}</string>
+ <reference key="NSSuperview" ref="224265230"/>
+ <reference key="NSNextKeyView" ref="647062504"/>
+ <string key="NSReuseIdentifierKey">_NS:9</string>
+ <bool key="IBUIOpaque">NO</bool>
+ <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+ <int key="IBUIContentHorizontalAlignment">0</int>
+ <int key="IBUIContentVerticalAlignment">0</int>
+ <int key="IBUIButtonType">1</int>
+ <string key="IBUINormalTitle">Get History</string>
+ <object class="NSColor" key="IBUIHighlightedTitleColor" id="239382325">
+ <int key="NSColorSpace">3</int>
+ <bytes key="NSWhite">MQA</bytes>
+ </object>
+ <object class="NSColor" key="IBUINormalTitleColor">
+ <int key="NSColorSpace">1</int>
+ <bytes key="NSRGB">MC4xOTYwNzg0MzQ2IDAuMzA5ODAzOTMyOSAwLjUyMTU2ODY1NgA</bytes>
+ </object>
+ <object class="NSColor" key="IBUINormalTitleShadowColor" id="329616175">
+ <int key="NSColorSpace">3</int>
+ <bytes key="NSWhite">MC41AA</bytes>
+ </object>
+ <object class="IBUIFontDescription" key="IBUIFontDescription" id="119080232">
+ <int key="type">2</int>
+ <double key="pointSize">15</double>
+ </object>
+ <object class="NSFont" key="IBUIFont" id="443289014">
+ <string key="NSName">Helvetica-Bold</string>
+ <double key="NSSize">15</double>
+ <int key="NSfFlags">16</int>
+ </object>
+ </object>
+ <object class="IBUIButton" id="647062504">
+ <reference key="NSNextResponder" ref="224265230"/>
+ <int key="NSvFlags">1316</int>
+ <string key="NSFrame">{{100, 242}, {64, 37}}</string>
+ <reference key="NSSuperview" ref="224265230"/>
+ <reference key="NSNextKeyView" ref="320659124"/>
+ <string key="NSReuseIdentifierKey">_NS:9</string>
+ <bool key="IBUIOpaque">NO</bool>
+ <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+ <int key="IBUIContentHorizontalAlignment">0</int>
+ <int key="IBUIContentVerticalAlignment">0</int>
+ <int key="IBUIButtonType">1</int>
+ <string key="IBUINormalTitle">Clear</string>
+ <reference key="IBUIHighlightedTitleColor" ref="239382325"/>
+ <object class="NSColor" key="IBUINormalTitleColor">
+ <int key="NSColorSpace">1</int>
+ <bytes key="NSRGB">MC4xOTYwNzg0MzQ2IDAuMzA5ODAzOTMyOSAwLjUyMTU2ODY1NgA</bytes>
+ </object>
+ <reference key="IBUINormalTitleShadowColor" ref="329616175"/>
+ <reference key="IBUIFontDescription" ref="119080232"/>
+ <reference key="IBUIFont" ref="443289014"/>
+ </object>
+ <object class="IBUIButton" id="320659124">
+ <reference key="NSNextResponder" ref="224265230"/>
+ <int key="NSvFlags">1316</int>
+ <string key="NSFrame">{{172, 242}, {59, 37}}</string>
+ <reference key="NSSuperview" ref="224265230"/>
+ <reference key="NSNextKeyView" ref="261106492"/>
+ <string key="NSReuseIdentifierKey">_NS:9</string>
+ <bool key="IBUIOpaque">NO</bool>
+ <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+ <int key="IBUIContentHorizontalAlignment">0</int>
+ <int key="IBUIContentVerticalAlignment">0</int>
+ <int key="IBUIButtonType">1</int>
+ <string key="IBUINormalTitle">Next</string>
+ <reference key="IBUIHighlightedTitleColor" ref="239382325"/>
+ <object class="NSColor" key="IBUINormalTitleColor">
+ <int key="NSColorSpace">1</int>
+ <bytes key="NSRGB">MC4xOTYwNzg0MzQ2IDAuMzA5ODAzOTMyOSAwLjUyMTU2ODY1NgA</bytes>
+ </object>
+ <reference key="IBUINormalTitleShadowColor" ref="329616175"/>
+ <reference key="IBUIFontDescription" ref="119080232"/>
+ <reference key="IBUIFont" ref="443289014"/>
+ </object>
+ <object class="IBUIButton" id="261106492">
+ <reference key="NSNextResponder" ref="224265230"/>
+ <int key="NSvFlags">1316</int>
+ <string key="NSFrame">{{239, 243}, {72, 37}}</string>
+ <reference key="NSSuperview" ref="224265230"/>
+ <reference key="NSNextKeyView" ref="551291897"/>
+ <string key="NSReuseIdentifierKey">_NS:9</string>
+ <bool key="IBUIOpaque">NO</bool>
+ <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+ <int key="IBUIContentHorizontalAlignment">0</int>
+ <int key="IBUIContentVerticalAlignment">0</int>
+ <int key="IBUIButtonType">1</int>
+ <string key="IBUINormalTitle">Previous</string>
+ <reference key="IBUIHighlightedTitleColor" ref="239382325"/>
+ <object class="NSColor" key="IBUINormalTitleColor">
+ <int key="NSColorSpace">1</int>
+ <bytes key="NSRGB">MC4xOTYwNzg0MzQ2IDAuMzA5ODAzOTMyOSAwLjUyMTU2ODY1NgA</bytes>
+ </object>
+ <reference key="IBUINormalTitleShadowColor" ref="329616175"/>
+ <reference key="IBUIFontDescription" ref="119080232"/>
+ <reference key="IBUIFont" ref="443289014"/>
+ </object>
+ </object>
+ <object class="NSPSMatrix" key="NSFrameMatrix"/>
+ <string key="NSFrameSize">{320, 460}</string>
+ <reference key="NSSuperview" ref="448933780"/>
+ <reference key="NSNextKeyView" ref="783244782"/>
+ <bool key="IBUIClipsSubviews">YES</bool>
+ <bool key="IBUIMultipleTouchEnabled">YES</bool>
+ <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+ </object>
+ </object>
+ <string key="NSFrame">{{0, 20}, {320, 460}}</string>
+ <reference key="NSSuperview"/>
+ <reference key="NSNextKeyView" ref="224265230"/>
+ <string key="NSReuseIdentifierKey">_NS:9</string>
+ <object class="NSColor" key="IBUIBackgroundColor">
+ <int key="NSColorSpace">3</int>
+ <bytes key="NSWhite">MQA</bytes>
+ <reference key="NSCustomColorSpace" ref="867276257"/>
+ </object>
+ <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+ </object>
+ <object class="IBUISimulatedStatusBarMetrics" key="IBUISimulatedStatusBarMetrics"/>
+ <object class="IBUISimulatedOrientationMetrics" key="IBUISimulatedOrientationMetrics">
+ <int key="IBUIInterfaceOrientation">1</int>
+ <int key="interfaceOrientation">1</int>
+ </object>
+ <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+ <bool key="IBUIHorizontal">NO</bool>
+ </object>
+ </object>
+ <object class="IBObjectContainer" key="IBDocument.Objects">
+ <object class="NSMutableArray" key="connectionRecords">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="IBConnectionRecord">
+ <object class="IBCocoaTouchOutletConnection" key="connection">
+ <string key="label">delegate</string>
+ <reference key="source" ref="841351856"/>
+ <reference key="destination" ref="987256611"/>
+ </object>
+ <int key="connectionID">14</int>
+ </object>
+ <object class="IBConnectionRecord">
+ <object class="IBCocoaTouchOutletConnection" key="connection">
+ <string key="label">rootViewController</string>
+ <reference key="source" ref="380026005"/>
+ <reference key="destination" ref="983902574"/>
+ </object>
+ <int key="connectionID">58</int>
+ </object>
+ <object class="IBConnectionRecord">
+ <object class="IBCocoaTouchOutletConnection" key="connection">
+ <string key="label">window</string>
+ <reference key="source" ref="987256611"/>
+ <reference key="destination" ref="380026005"/>
+ </object>
+ <int key="connectionID">15</int>
+ </object>
+ <object class="IBConnectionRecord">
+ <object class="IBCocoaTouchOutletConnection" key="connection">
+ <string key="label">txt</string>
+ <reference key="source" ref="983902574"/>
+ <reference key="destination" ref="551291897"/>
+ </object>
+ <int key="connectionID">62</int>
+ </object>
+ <object class="IBConnectionRecord">
+ <object class="IBCocoaTouchOutletConnection" key="connection">
+ <string key="label">subKeyText</string>
+ <reference key="source" ref="983902574"/>
+ <reference key="destination" ref="783244782"/>
+ </object>
+ <int key="connectionID">98</int>
+ </object>
+ <object class="IBConnectionRecord">
+ <object class="IBCocoaTouchOutletConnection" key="connection">
+ <string key="label">channelText</string>
+ <reference key="source" ref="983902574"/>
+ <reference key="destination" ref="582363854"/>
+ </object>
+ <int key="connectionID">99</int>
+ </object>
+ <object class="IBConnectionRecord">
+ <object class="IBCocoaTouchOutletConnection" key="connection">
+ <string key="label">startTTText</string>
+ <reference key="source" ref="983902574"/>
+ <reference key="destination" ref="879367600"/>
+ </object>
+ <int key="connectionID">100</int>
+ </object>
+ <object class="IBConnectionRecord">
+ <object class="IBCocoaTouchOutletConnection" key="connection">
+ <string key="label">endTTText</string>
+ <reference key="source" ref="983902574"/>
+ <reference key="destination" ref="143902136"/>
+ </object>
+ <int key="connectionID">101</int>
+ </object>
+ <object class="IBConnectionRecord">
+ <object class="IBCocoaTouchOutletConnection" key="connection">
+ <string key="label">countText</string>
+ <reference key="source" ref="983902574"/>
+ <reference key="destination" ref="182067317"/>
+ </object>
+ <int key="connectionID">102</int>
+ </object>
+ <object class="IBConnectionRecord">
+ <object class="IBCocoaTouchOutletConnection" key="connection">
+ <string key="label">reverce</string>
+ <reference key="source" ref="983902574"/>
+ <reference key="destination" ref="411503385"/>
+ </object>
+ <int key="connectionID">103</int>
+ </object>
+ <object class="IBConnectionRecord">
+ <object class="IBCocoaTouchOutletConnection" key="connection">
+ <string key="label">lastURLText</string>
+ <reference key="source" ref="983902574"/>
+ <reference key="destination" ref="773652110"/>
+ </object>
+ <int key="connectionID">104</int>
+ </object>
+ <object class="IBConnectionRecord">
+ <object class="IBCocoaTouchEventConnection" key="connection">
+ <string key="label">getHistoryResult:</string>
+ <reference key="source" ref="391508545"/>
+ <reference key="destination" ref="983902574"/>
+ <int key="IBEventType">7</int>
+ </object>
+ <int key="connectionID">105</int>
+ </object>
+ <object class="IBConnectionRecord">
+ <object class="IBCocoaTouchEventConnection" key="connection">
+ <string key="label">clearScreen:</string>
+ <reference key="source" ref="647062504"/>
+ <reference key="destination" ref="983902574"/>
+ <int key="IBEventType">7</int>
+ </object>
+ <int key="connectionID">106</int>
+ </object>
+ <object class="IBConnectionRecord">
+ <object class="IBCocoaTouchEventConnection" key="connection">
+ <string key="label">nextClick:</string>
+ <reference key="source" ref="320659124"/>
+ <reference key="destination" ref="983902574"/>
+ <int key="IBEventType">7</int>
+ </object>
+ <int key="connectionID">107</int>
+ </object>
+ <object class="IBConnectionRecord">
+ <object class="IBCocoaTouchEventConnection" key="connection">
+ <string key="label">previusClick:</string>
+ <reference key="source" ref="261106492"/>
+ <reference key="destination" ref="983902574"/>
+ <int key="IBEventType">7</int>
+ </object>
+ <int key="connectionID">109</int>
+ </object>
+ </object>
+ <object class="IBMutableOrderedSet" key="objectRecords">
+ <object class="NSArray" key="orderedObjects">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="IBObjectRecord">
+ <int key="objectID">0</int>
+ <object class="NSArray" key="object" id="0">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ </object>
+ <reference key="children" ref="1000"/>
+ <nil key="parent"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">2</int>
+ <reference key="object" ref="380026005"/>
+ <object class="NSMutableArray" key="children">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <reference ref="827338986"/>
+ </object>
+ <reference key="parent" ref="0"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">-1</int>
+ <reference key="object" ref="841351856"/>
+ <reference key="parent" ref="0"/>
+ <string key="objectName">File's Owner</string>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">-2</int>
+ <reference key="object" ref="450319686"/>
+ <reference key="parent" ref="0"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">13</int>
+ <reference key="object" ref="987256611"/>
+ <reference key="parent" ref="0"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">24</int>
+ <reference key="object" ref="827338986"/>
+ <object class="NSMutableArray" key="children">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ </object>
+ <reference key="parent" ref="380026005"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">41</int>
+ <reference key="object" ref="983902574"/>
+ <object class="NSMutableArray" key="children">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <reference ref="448933780"/>
+ </object>
+ <reference key="parent" ref="0"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">42</int>
+ <reference key="object" ref="448933780"/>
+ <object class="NSMutableArray" key="children">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <reference ref="224265230"/>
+ </object>
+ <reference key="parent" ref="983902574"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">43</int>
+ <reference key="object" ref="224265230"/>
+ <object class="NSMutableArray" key="children">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <reference ref="582363854"/>
+ <reference ref="879367600"/>
+ <reference ref="684846554"/>
+ <reference ref="1070599666"/>
+ <reference ref="812092205"/>
+ <reference ref="143902136"/>
+ <reference ref="662301632"/>
+ <reference ref="686740252"/>
+ <reference ref="411503385"/>
+ <reference ref="773652110"/>
+ <reference ref="391508545"/>
+ <reference ref="261106492"/>
+ <reference ref="355216240"/>
+ <reference ref="228512820"/>
+ <reference ref="783244782"/>
+ <reference ref="551291897"/>
+ <reference ref="647062504"/>
+ <reference ref="320659124"/>
+ <reference ref="182067317"/>
+ </object>
+ <reference key="parent" ref="448933780"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">33</int>
+ <reference key="object" ref="551291897"/>
+ <reference key="parent" ref="224265230"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">79</int>
+ <reference key="object" ref="783244782"/>
+ <reference key="parent" ref="224265230"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">80</int>
+ <reference key="object" ref="582363854"/>
+ <reference key="parent" ref="224265230"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">81</int>
+ <reference key="object" ref="879367600"/>
+ <reference key="parent" ref="224265230"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">82</int>
+ <reference key="object" ref="684846554"/>
+ <reference key="parent" ref="224265230"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">84</int>
+ <reference key="object" ref="1070599666"/>
+ <reference key="parent" ref="224265230"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">85</int>
+ <reference key="object" ref="812092205"/>
+ <reference key="parent" ref="224265230"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">86</int>
+ <reference key="object" ref="143902136"/>
+ <reference key="parent" ref="224265230"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">87</int>
+ <reference key="object" ref="662301632"/>
+ <reference key="parent" ref="224265230"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">88</int>
+ <reference key="object" ref="182067317"/>
+ <reference key="parent" ref="224265230"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">89</int>
+ <reference key="object" ref="686740252"/>
+ <reference key="parent" ref="224265230"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">90</int>
+ <reference key="object" ref="411503385"/>
+ <reference key="parent" ref="224265230"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">91</int>
+ <reference key="object" ref="355216240"/>
+ <reference key="parent" ref="224265230"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">92</int>
+ <reference key="object" ref="773652110"/>
+ <reference key="parent" ref="224265230"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">93</int>
+ <reference key="object" ref="228512820"/>
+ <reference key="parent" ref="224265230"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">94</int>
+ <reference key="object" ref="391508545"/>
+ <reference key="parent" ref="224265230"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">95</int>
+ <reference key="object" ref="647062504"/>
+ <reference key="parent" ref="224265230"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">96</int>
+ <reference key="object" ref="320659124"/>
+ <reference key="parent" ref="224265230"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">97</int>
+ <reference key="object" ref="261106492"/>
+ <reference key="parent" ref="224265230"/>
+ </object>
+ </object>
+ </object>
+ <object class="NSMutableDictionary" key="flattenedProperties">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="NSArray" key="dict.sortedKeys">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <string>-1.CustomClassName</string>
+ <string>-1.IBPluginDependency</string>
+ <string>-2.CustomClassName</string>
+ <string>-2.IBPluginDependency</string>
+ <string>13.CustomClassName</string>
+ <string>13.IBPluginDependency</string>
+ <string>2.IBAttributePlaceholdersKey</string>
+ <string>2.IBPluginDependency</string>
+ <string>24.IBPluginDependency</string>
+ <string>33.IBPluginDependency</string>
+ <string>41.CustomClassName</string>
+ <string>41.IBPluginDependency</string>
+ <string>42.IBPluginDependency</string>
+ <string>43.IBPluginDependency</string>
+ <string>43.IBUserGuides</string>
+ <string>43.showNotes</string>
+ <string>79.IBPluginDependency</string>
+ <string>80.IBPluginDependency</string>
+ <string>81.IBPluginDependency</string>
+ <string>82.IBPluginDependency</string>
+ <string>84.IBPluginDependency</string>
+ <string>85.IBPluginDependency</string>
+ <string>86.IBPluginDependency</string>
+ <string>87.IBPluginDependency</string>
+ <string>88.IBPluginDependency</string>
+ <string>89.IBPluginDependency</string>
+ <string>90.IBPluginDependency</string>
+ <string>91.IBPluginDependency</string>
+ <string>92.IBPluginDependency</string>
+ <string>93.IBPluginDependency</string>
+ <string>94.IBPluginDependency</string>
+ <string>95.IBPluginDependency</string>
+ <string>96.IBPluginDependency</string>
+ <string>97.IBPluginDependency</string>
+ </object>
+ <object class="NSArray" key="dict.values">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <string>UIApplication</string>
+ <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ <string>UIResponder</string>
+ <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ <string>AppDelegate</string>
+ <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ <object class="NSMutableDictionary">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <reference key="dict.sortedKeys" ref="0"/>
+ <reference key="dict.values" ref="0"/>
+ </object>
+ <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ <string>iPhoneTest</string>
+ <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ <reference ref="0"/>
+ <boolean value="NO"/>
+ <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ </object>
+ </object>
+ <object class="NSMutableDictionary" key="unlocalizedProperties">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <reference key="dict.sortedKeys" ref="0"/>
+ <reference key="dict.values" ref="0"/>
+ </object>
+ <nil key="activeLocalization"/>
+ <object class="NSMutableDictionary" key="localizations">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <reference key="dict.sortedKeys" ref="0"/>
+ <reference key="dict.values" ref="0"/>
+ </object>
+ <nil key="sourceID"/>
+ <int key="maxID">109</int>
+ </object>
+ <object class="IBClassDescriber" key="IBDocument.Classes"/>
+ <int key="IBDocument.localizationMode">0</int>
+ <string key="IBDocument.TargetRuntimeIdentifier">IBCocoaTouchFramework</string>
+ <object class="NSMutableDictionary" key="IBDocument.PluginDeclaredDependencyDefaults">
+ <string key="NS.key.0">com.apple.InterfaceBuilder.CocoaTouchPlugin.iPhoneOS</string>
+ <real value="1296" key="NS.object.0"/>
+ </object>
+ <object class="NSMutableDictionary" key="IBDocument.PluginDeclaredDevelopmentDependencies">
+ <string key="NS.key.0">com.apple.InterfaceBuilder.CocoaTouchPlugin.InterfaceBuilder3</string>
+ <integer value="3100" key="NS.object.0"/>
+ </object>
+ <bool key="IBDocument.PluginDeclaredDependenciesTrackSystemTargetVersion">YES</bool>
+ <int key="IBDocument.defaultPropertyAccessControl">3</int>
+ <string key="IBCocoaTouchPluginVersion">1498</string>
+ </data>
+</archive>
View
23 objective-c/DetailedHistoryTest/Pubnub/PubNub/Base64.h
@@ -0,0 +1,23 @@
+//
+// Base64.h
+// CryptTest
+//
+// Created by Kiichi Takeuchi on 4/20/10.
+// Copyright 2010 ObjectGraph LLC. All rights reserved.
+//
+// Original Source Code is donated by Cyrus
+// Public Domain License
+// http://www.cocoadev.com/index.pl?BaseSixtyFour
+
+#import <Foundation/Foundation.h>
+
+
+@interface Base64 : NSObject {
+
+}
++ (void) initialize;
++ (NSString*) encode:(const uint8_t*) input length:(NSInteger) length;
++ (NSString*) encode:(NSData*) rawBytes;
++ (NSData*) decode:(const char*) string length:(NSInteger) inputLength;
++ (NSData*) decode:(NSString*) string;
+@end
View
97 objective-c/DetailedHistoryTest/Pubnub/PubNub/Base64.m
@@ -0,0 +1,97 @@
+//
+// Base64.m
+// CryptTest
+//
+// Created by Kiichi Takeuchi on 4/20/10.
+// Copyright 2010 ObjectGraph LLC. All rights reserved.
+//
+
+#import "Base64.h"
+
+
+@implementation Base64
+#define ArrayLength(x) (sizeof(x)/sizeof(*(x)))
+
+static char encodingTable[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
+static char decodingTable[128];
+
++ (void) initialize {
+ if (self == [Base64 class]) {
+ memset(decodingTable, 0, ArrayLength(decodingTable));
+ for (NSInteger i = 0; i < ArrayLength(encodingTable); i++) {
+ decodingTable[encodingTable[i]] = i;
+ }
+ }
+}
+
+
++ (NSString*) encode:(const uint8_t*) input length:(NSInteger) length {
+ NSMutableData* data = [NSMutableData dataWithLength:((length + 2) / 3) * 4];
+ uint8_t* output = (uint8_t*)data.mutableBytes;
+
+ for (NSInteger i = 0; i < length; i += 3) {
+ NSInteger value = 0;
+ for (NSInteger j = i; j < (i + 3); j++) {
+ value <<= 8;
+
+ if (j < length) {
+ value |= (0xFF & input[j]);
+ }
+ }
+
+ NSInteger index = (i / 3) * 4;
+ output[index + 0] = encodingTable[(value >> 18) & 0x3F];
+ output[index + 1] = encodingTable[(value >> 12) & 0x3F];
+ output[index + 2] = (i + 1) < length ? encodingTable[(value >> 6) & 0x3F] : '=';
+ output[index + 3] = (i + 2) < length ? encodingTable[(value >> 0) & 0x3F] : '=';
+ }
+
+ return [[NSString alloc] initWithData:data
+ encoding:NSASCIIStringEncoding] ;
+}
+
+
++ (NSString*) encode:(NSData*) rawBytes {
+ return [self encode:(const uint8_t*) rawBytes.bytes length:rawBytes.length];
+}
+
+
++ (NSData*) decode:(const char*) string length:(NSInteger) inputLength {
+ if ((string == NULL) || (inputLength % 4 != 0)) {
+ return nil;
+ }
+
+ while (inputLength > 0 && string[inputLength - 1] == '=') {
+ inputLength--;
+ }
+
+ NSInteger outputLength = inputLength * 3 / 4;
+ NSMutableData* data = [NSMutableData dataWithLength:outputLength];
+ uint8_t* output = data.mutableBytes;
+
+ NSInteger inputPoint = 0;
+ NSInteger outputPoint = 0;
+ while (inputPoint < inputLength) {
+ char i0 = string[inputPoint++];
+ char i1 = string[inputPoint++];
+ char i2 = inputPoint < inputLength ? string[inputPoint++] : 'A'; /* 'A' will decode to \0 */
+ char i3 = inputPoint < inputLength ? string[inputPoint++] : 'A';
+
+ output[outputPoint++] = (decodingTable[i0] << 2) | (decodingTable[i1] >> 4);
+ if (outputPoint < outputLength) {
+ output[outputPoint++] = ((decodingTable[i1] & 0xf) << 4) | (decodingTable[i2] >> 2);
+ }
+ if (outputPoint < outputLength) {
+ output[outputPoint++] = ((decodingTable[i2] & 0x3) << 6) | decodingTable[i3];
+ }
+ }
+
+ return data;
+}
+
+
++ (NSData*) decode:(NSString*) string {
+ return [self decode:[string cStringUsingEncoding:NSASCIIStringEncoding] length:string.length];
+}
+
+@end
View
93 objective-c/DetailedHistoryTest/Pubnub/PubNub/CEPubnub.h
@@ -0,0 +1,93 @@
+ // Copyright 2011 Cooliris, 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 "CEPubnubDelegate.h"
+
+// All operations happen on the main thread
+// Messages must be JSON compatible
+@interface CEPubnub : NSObject {
+@private
+ __unsafe_unretained id<CEPubnubDelegate> _delegate;
+ NSString *_publishKey;
+ NSString *_subscribeKey;
+ NSString *_secretKey;
+ NSString *_host;
+ NSString *_cipherKey;
+ NSString *_uuids;
+
+ NSMutableSet* _connections;
+ NSMutableSet * _subscriptions;
+
+ int _tryCount;
+}
+
+@property (nonatomic, assign) id<CEPubnubDelegate> delegate;
+
+- (CEPubnub *)initWithSubscribeKey:(NSString *)subscribeKey useSSL:(BOOL)useSSL;
+
+- (CEPubnub *)initWithPublishKey:(NSString *)publishKey
+ subscribeKey:(NSString *)subscribeKey
+ secretKey:(NSString *)secretKey
+ useSSL:(BOOL)useSSL;
+
+- (CEPubnub *)initWithPublishKey:(NSString *)publishKey // May be nil if -publishMessage:toChannel: is never used
+ subscribeKey:(NSString *)subscribeKey
+ secretKey:(NSString *)secretKey // May be nil if -publishMessage:toChannel: is never used
+ useSSL:(BOOL)useSSL
+ cipherKey:(NSString *)cipherKey
+ uuid:(NSString *)uuid
+ origin:(NSString *)origin;
+
+- (CEPubnub *)initWithPublishKey:(NSString *)publishKey
+ subscribeKey:(NSString *)subscribeKey
+ secretKey:(NSString *)secretKey
+ cipherKey:(NSString *)cipherKey
+ useSSL:(BOOL)useSSL;
+
+- (CEPubnub *)initWithPublishKey:(NSString *)publishKey
+ subscribeKey:(NSString *)subscribeKey
+ secretKey:(NSString *)secretKey
+ cipherKey:(NSString *)cipherKey
+ uuid:(NSString *)uuid
+ useSSL:(BOOL)useSSL;
+
++ (NSString *)getUUID;
+
+- (void)publish:(NSDictionary *)arg1;
+- (void)publish:(NSString *)message onChannel:(NSString *)channel;
+- (void)fetchHistory:(NSDictionary *)arg1;
+- (void)detailedHistory:(NSDictionary *)arg1;
+- (void)unsubscribeFromAllChannels;
+- (void)getTime;
+- (void)subscribe:(NSString *)channel; // Does nothing if already subscribed
+- (void)unsubscribeFromChannel:(NSString *)channel; // Does nothing if not subscribed
+- (BOOL)isSubscribedToChannel:(NSString *)channel;
+- (void)hereNow:(NSString *)channel;
+- (void)presence:(NSString *)channel;
+
+- (void)here_now:(NSString *)channel __deprecated;
++ (BOOL)isApplicationActive;
++ (void)setApplicationActive:(BOOL) state;
+@end
+
+@interface ChannelStatus :NSObject
+
+@property(nonatomic, retain) NSString *channel;
+@property(nonatomic, nonatomic) BOOL connected;
+@property(nonatomic, nonatomic) BOOL first;
+
+@end
+
+
View
1,061 objective-c/DetailedHistoryTest/Pubnub/PubNub/CEPubnub.m
@@ -0,0 +1,1061 @@
+ // Copyright 2011 Cooliris, 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 "CEPubnub.h"
+#import "Common.h"
+#import "JSON.h"
+
+#define kDefaultOrigin @"pubsub.pubnub.com"
+#define kMaxHistorySize 100 // From documentation
+#define kConnectionTimeOut 310.0 // From https://github.com/jazzychad/CEPubnub/blob/master/CEPubnub/CEPubnubRequest.m
+#define kMinRetryInterval 5.0 //In seconds
+#define kMinRetry 3 // -1 for indefinite retry attempts
+#define kInitialTimeToken @"0"
+
+typedef enum {
+ kCommand_Undefined = 0,
+ kCommand_SendMessage,
+ kCommand_ReceiveMessage,
+ kCommand_FetchHistory,
+ kCommand_FetchDetailHistory,
+ kCommand_GetTime,
+ kCommand_Here_Now,
+ kCommand_Leave
+} Command;
+
+@interface PubNubConnection : NSURLConnection {
+@private
+ CEPubnub *_pubNub;
+ Command _command;
+ NSString *_channel;
+ id _message;
+
+ NSHTTPURLResponse* _response;
+ NSMutableData* _data;
+}
+@property(nonatomic, readonly) Command command;
+@property(nonatomic, readonly) NSString *channel;
+@property(nonatomic, readonly) NSData* data;
+@property(nonatomic, readonly) id message;
+- (id) initWithPubNub:(CEPubnub *)pubNub url:(NSURL*)url command:(Command)command channel:(NSString *)channel;
+@end
+
+@interface CEPubnub ()
+- (void)connection:(PubNubConnection*)connection didCompleteWithResponse:(id)response;
+@end
+
+@implementation ChannelStatus
+@synthesize connected,channel,first;
+@end
+
+@implementation PubNubConnection
+
+@synthesize command=_command, channel=_channel, data=_data, message=_message;
+
+- (id) initWithPubNub:(CEPubnub *)pubNub url:(NSURL*)url command:(Command)command channel:(NSString *)channel {
+ NSMutableURLRequest* request = [NSMutableURLRequest requestWithURL:url
+ cachePolicy:NSURLRequestReloadIgnoringCacheData
+ timeoutInterval:kConnectionTimeOut];
+ [request setValue:@"V" forHTTPHeaderField:@"3.3"];
+ [request setValue:@"User-Agent" forHTTPHeaderField:@"Obj-C-iOS"];
+ [request setValue:@"Accept" forHTTPHeaderField:@"gzip"];
+
+ // [request setValue:@"close" forHTTPHeaderField:@"Connection"];
+ if ((self = [super initWithRequest:request delegate:self])) {
+ _command = command;
+ _pubNub = pubNub;
+ _channel = [channel copy];
+ }
+ return self;
+}
+
+- (id) initWithPubNub:(CEPubnub *)pubNub url:(NSURL*)url command:(Command)command channel:(NSString *)channel message:(id)message{
+ NSMutableURLRequest* request = [NSMutableURLRequest requestWithURL:url
+ cachePolicy:NSURLRequestReloadIgnoringCacheData
+ timeoutInterval:kConnectionTimeOut];
+ [request setValue:@"V" forHTTPHeaderField:@"3.3"];
+ [request setValue:@"User-Agent" forHTTPHeaderField:@"Obj-C-iOS"];
+ [request setValue:@"Accept" forHTTPHeaderField:@"gzip"];
+
+ // [request setValue:@"close" forHTTPHeaderField:@"Connection"];
+ if ((self = [super initWithRequest:request delegate:self])) {
+ _command = command;
+ _pubNub = pubNub;
+ _channel = [channel copy];
+ _message=[mes