lizhihui

更新181018版本

Showing 49 changed files with 248 additions and 220 deletions
No preview for this file type
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
8 8
9 /* Begin PBXBuildFile section */ 9 /* Begin PBXBuildFile section */
10 260A34CB2130061A003C083C /* PoolSdk.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 260A34CA21300619003C083C /* PoolSdk.framework */; }; 10 260A34CB2130061A003C083C /* PoolSdk.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 260A34CA21300619003C083C /* PoolSdk.framework */; };
11 - 2638DD7B215B23F5006540CB /* TurningSDK.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2638DD7A215B23F5006540CB /* TurningSDK.framework */; }; 11 + 261FB1AA217868E900029D36 /* PolarisSDK.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 261FB1A9217868E900029D36 /* PolarisSDK.framework */; };
12 845D18221C8D778400F27EB9 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 845D181B1C8D778400F27EB9 /* Images.xcassets */; }; 12 845D18221C8D778400F27EB9 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 845D181B1C8D778400F27EB9 /* Images.xcassets */; };
13 846BD2241EE9342700E89A1D /* pool_setting in Resources */ = {isa = PBXBuildFile; fileRef = 846BD21F1EE9342700E89A1D /* pool_setting */; }; 13 846BD2241EE9342700E89A1D /* pool_setting in Resources */ = {isa = PBXBuildFile; fileRef = 846BD21F1EE9342700E89A1D /* pool_setting */; };
14 846BD2261EE9342700E89A1D /* SDKInterface.m in Sources */ = {isa = PBXBuildFile; fileRef = 846BD2231EE9342700E89A1D /* SDKInterface.m */; }; 14 846BD2261EE9342700E89A1D /* SDKInterface.m in Sources */ = {isa = PBXBuildFile; fileRef = 846BD2231EE9342700E89A1D /* SDKInterface.m */; };
...@@ -32,7 +32,6 @@ ...@@ -32,7 +32,6 @@
32 84A090AB1F160A69003D23FB /* TrackingIO.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 84A090AA1F160A69003D23FB /* TrackingIO.a */; }; 32 84A090AB1F160A69003D23FB /* TrackingIO.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 84A090AA1F160A69003D23FB /* TrackingIO.a */; };
33 BB5F3C8E1C1811BC00DA339D /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = BB5F3C8D1C1811BC00DA339D /* main.m */; }; 33 BB5F3C8E1C1811BC00DA339D /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = BB5F3C8D1C1811BC00DA339D /* main.m */; };
34 BB5F3C971C1811BC00DA339D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = BB5F3C951C1811BC00DA339D /* Main.storyboard */; }; 34 BB5F3C971C1811BC00DA339D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = BB5F3C951C1811BC00DA339D /* Main.storyboard */; };
35 - BB5F3C9C1C1811BC00DA339D /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = BB5F3C9A1C1811BC00DA339D /* LaunchScreen.xib */; };
36 BB5F3CA81C1811BC00DA339D /* DemoTests.m in Sources */ = {isa = PBXBuildFile; fileRef = BB5F3CA71C1811BC00DA339D /* DemoTests.m */; }; 35 BB5F3CA81C1811BC00DA339D /* DemoTests.m in Sources */ = {isa = PBXBuildFile; fileRef = BB5F3CA71C1811BC00DA339D /* DemoTests.m */; };
37 /* End PBXBuildFile section */ 36 /* End PBXBuildFile section */
38 37
...@@ -61,7 +60,7 @@ ...@@ -61,7 +60,7 @@
61 60
62 /* Begin PBXFileReference section */ 61 /* Begin PBXFileReference section */
63 260A34CA21300619003C083C /* PoolSdk.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = PoolSdk.framework; sourceTree = "<group>"; }; 62 260A34CA21300619003C083C /* PoolSdk.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = PoolSdk.framework; sourceTree = "<group>"; };
64 - 2638DD7A215B23F5006540CB /* TurningSDK.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = TurningSDK.framework; sourceTree = "<group>"; }; 63 + 261FB1A9217868E900029D36 /* PolarisSDK.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = PolarisSDK.framework; sourceTree = "<group>"; };
65 845D181B1C8D778400F27EB9 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = poolsdk_file/poolsdk/Images.xcassets; sourceTree = "<group>"; }; 64 845D181B1C8D778400F27EB9 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = poolsdk_file/poolsdk/Images.xcassets; sourceTree = "<group>"; };
66 845D181C1C8D778400F27EB9 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = poolsdk_file/poolsdk/Info.plist; sourceTree = "<group>"; }; 65 845D181C1C8D778400F27EB9 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = poolsdk_file/poolsdk/Info.plist; sourceTree = "<group>"; };
67 846BD21F1EE9342700E89A1D /* pool_setting */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = pool_setting; path = poolsdk_file/poolsdk/pool_setting; sourceTree = "<group>"; }; 66 846BD21F1EE9342700E89A1D /* pool_setting */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = pool_setting; path = poolsdk_file/poolsdk/pool_setting; sourceTree = "<group>"; };
...@@ -105,6 +104,7 @@ ...@@ -105,6 +104,7 @@
105 files = ( 104 files = (
106 8484E5161EE7E36800B402D1 /* SystemConfiguration.framework in Frameworks */, 105 8484E5161EE7E36800B402D1 /* SystemConfiguration.framework in Frameworks */,
107 8484E4FC1EE7E1D800B402D1 /* libsqlite3.dylib in Frameworks */, 106 8484E4FC1EE7E1D800B402D1 /* libsqlite3.dylib in Frameworks */,
107 + 261FB1AA217868E900029D36 /* PolarisSDK.framework in Frameworks */,
108 8484E5121EE7E2B800B402D1 /* libz.1.dylib in Frameworks */, 108 8484E5121EE7E2B800B402D1 /* libz.1.dylib in Frameworks */,
109 8484E5101EE7E29A00B402D1 /* libc++.1.dylib in Frameworks */, 109 8484E5101EE7E29A00B402D1 /* libc++.1.dylib in Frameworks */,
110 8484E5001EE7E20C00B402D1 /* CFNetwork.framework in Frameworks */, 110 8484E5001EE7E20C00B402D1 /* CFNetwork.framework in Frameworks */,
...@@ -117,7 +117,6 @@ ...@@ -117,7 +117,6 @@
117 8484E50A1EE7E26200B402D1 /* Security.framework in Frameworks */, 117 8484E50A1EE7E26200B402D1 /* Security.framework in Frameworks */,
118 8484E5041EE7E24400B402D1 /* StoreKit.framework in Frameworks */, 118 8484E5041EE7E24400B402D1 /* StoreKit.framework in Frameworks */,
119 260A34CB2130061A003C083C /* PoolSdk.framework in Frameworks */, 119 260A34CB2130061A003C083C /* PoolSdk.framework in Frameworks */,
120 - 2638DD7B215B23F5006540CB /* TurningSDK.framework in Frameworks */,
121 8484E4FE1EE7E1F700B402D1 /* CoreTelephony.framework in Frameworks */, 120 8484E4FE1EE7E1F700B402D1 /* CoreTelephony.framework in Frameworks */,
122 84A090AB1F160A69003D23FB /* TrackingIO.a in Frameworks */, 121 84A090AB1F160A69003D23FB /* TrackingIO.a in Frameworks */,
123 ); 122 );
...@@ -144,7 +143,7 @@ ...@@ -144,7 +143,7 @@
144 8476DF641C4DD71D00EC42BA /* poolsdk */ = { 143 8476DF641C4DD71D00EC42BA /* poolsdk */ = {
145 isa = PBXGroup; 144 isa = PBXGroup;
146 children = ( 145 children = (
147 - 2638DD7A215B23F5006540CB /* TurningSDK.framework */, 146 + 261FB1A9217868E900029D36 /* PolarisSDK.framework */,
148 84A090AC1F174E21003D23FB /* TrackingIO.h */, 147 84A090AC1F174E21003D23FB /* TrackingIO.h */,
149 84A090AA1F160A69003D23FB /* TrackingIO.a */, 148 84A090AA1F160A69003D23FB /* TrackingIO.a */,
150 846BD21F1EE9342700E89A1D /* pool_setting */, 149 846BD21F1EE9342700E89A1D /* pool_setting */,
...@@ -316,7 +315,6 @@ ...@@ -316,7 +315,6 @@
316 files = ( 315 files = (
317 845D18221C8D778400F27EB9 /* Images.xcassets in Resources */, 316 845D18221C8D778400F27EB9 /* Images.xcassets in Resources */,
318 BB5F3C971C1811BC00DA339D /* Main.storyboard in Resources */, 317 BB5F3C971C1811BC00DA339D /* Main.storyboard in Resources */,
319 - BB5F3C9C1C1811BC00DA339D /* LaunchScreen.xib in Resources */,
320 846BD2241EE9342700E89A1D /* pool_setting in Resources */, 318 846BD2241EE9342700E89A1D /* pool_setting in Resources */,
321 ); 319 );
322 runOnlyForDeploymentPostprocessing = 0; 320 runOnlyForDeploymentPostprocessing = 0;
...@@ -467,7 +465,6 @@ ...@@ -467,7 +465,6 @@
467 BB5F3CAC1C1811BC00DA339D /* Debug */ = { 465 BB5F3CAC1C1811BC00DA339D /* Debug */ = {
468 isa = XCBuildConfiguration; 466 isa = XCBuildConfiguration;
469 buildSettings = { 467 buildSettings = {
470 - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
471 CODE_SIGN_IDENTITY = "iPhone Developer"; 468 CODE_SIGN_IDENTITY = "iPhone Developer";
472 "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 469 "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
473 CODE_SIGN_STYLE = Manual; 470 CODE_SIGN_STYLE = Manual;
...@@ -502,7 +499,6 @@ ...@@ -502,7 +499,6 @@
502 BB5F3CAD1C1811BC00DA339D /* Release */ = { 499 BB5F3CAD1C1811BC00DA339D /* Release */ = {
503 isa = XCBuildConfiguration; 500 isa = XCBuildConfiguration;
504 buildSettings = { 501 buildSettings = {
505 - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
506 CODE_SIGN_IDENTITY = "iPhone Developer"; 502 CODE_SIGN_IDENTITY = "iPhone Developer";
507 "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Distribution"; 503 "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Distribution";
508 CODE_SIGN_STYLE = Manual; 504 CODE_SIGN_STYLE = Manual;
......
1 +<?xml version="1.0" encoding="UTF-8"?>
2 +<Bucket
3 + type = "1"
4 + version = "2.0">
5 +</Bucket>
1 -<?xml version="1.0" encoding="UTF-8" standalone="no"?> 1 +<?xml version="1.0" encoding="UTF-8"?>
2 -<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="8191" systemVersion="14F27" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES"> 2 +<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="14113" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" colorMatched="YES">
3 + <device id="retina4_7" orientation="portrait">
4 + <adaptation id="fullscreen"/>
5 + </device>
3 <dependencies> 6 <dependencies>
4 <deployment identifier="iOS"/> 7 <deployment identifier="iOS"/>
5 - <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="8154"/> 8 + <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="14088"/>
6 <capability name="Constraints with non-1.0 multipliers" minToolsVersion="5.1"/> 9 <capability name="Constraints with non-1.0 multipliers" minToolsVersion="5.1"/>
10 + <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
7 </dependencies> 11 </dependencies>
8 <objects> 12 <objects>
9 <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/> 13 <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
...@@ -25,7 +29,7 @@ ...@@ -25,7 +29,7 @@
25 <nil key="highlightedColor"/> 29 <nil key="highlightedColor"/>
26 </label> 30 </label>
27 </subviews> 31 </subviews>
28 - <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/> 32 + <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
29 <constraints> 33 <constraints>
30 <constraint firstItem="kId-c2-rCX" firstAttribute="centerY" secondItem="iN0-l3-epB" secondAttribute="bottom" multiplier="1/3" constant="1" id="5cJ-9S-tgC"/> 34 <constraint firstItem="kId-c2-rCX" firstAttribute="centerY" secondItem="iN0-l3-epB" secondAttribute="bottom" multiplier="1/3" constant="1" id="5cJ-9S-tgC"/>
31 <constraint firstAttribute="centerX" secondItem="kId-c2-rCX" secondAttribute="centerX" id="Koa-jz-hwk"/> 35 <constraint firstAttribute="centerX" secondItem="kId-c2-rCX" secondAttribute="centerX" id="Koa-jz-hwk"/>
......
1 -<?xml version="1.0" encoding="UTF-8" standalone="no"?> 1 +<?xml version="1.0" encoding="UTF-8"?>
2 -<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="8191" systemVersion="14F27" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" initialViewController="vXZ-lx-hvc"> 2 +<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="14113" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="vXZ-lx-hvc">
3 + <device id="retina4_7" orientation="portrait">
4 + <adaptation id="fullscreen"/>
5 + </device>
3 <dependencies> 6 <dependencies>
4 - <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="8154"/> 7 + <deployment identifier="iOS"/>
8 + <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="14088"/>
9 + <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
5 </dependencies> 10 </dependencies>
6 <scenes> 11 <scenes>
7 <!--Main View Controller--> 12 <!--Main View Controller-->
...@@ -13,11 +18,12 @@ ...@@ -13,11 +18,12 @@
13 <viewControllerLayoutGuide type="bottom" id="2fi-mo-0CV"/> 18 <viewControllerLayoutGuide type="bottom" id="2fi-mo-0CV"/>
14 </layoutGuides> 19 </layoutGuides>
15 <view key="view" contentMode="scaleToFill" id="kh9-bI-dsS"> 20 <view key="view" contentMode="scaleToFill" id="kh9-bI-dsS">
16 - <rect key="frame" x="0.0" y="0.0" width="600" height="600"/> 21 + <rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
17 <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/> 22 <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
18 <subviews> 23 <subviews>
19 <button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="GQW-et-jRb"> 24 <button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="GQW-et-jRb">
20 <rect key="frame" x="44" y="85" width="208" height="30"/> 25 <rect key="frame" x="44" y="85" width="208" height="30"/>
26 + <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
21 <state key="normal" title="初始化"/> 27 <state key="normal" title="初始化"/>
22 <connections> 28 <connections>
23 <action selector="actionInit:" destination="vXZ-lx-hvc" eventType="touchUpInside" id="Srh-bu-gYD"/> 29 <action selector="actionInit:" destination="vXZ-lx-hvc" eventType="touchUpInside" id="Srh-bu-gYD"/>
...@@ -25,6 +31,7 @@ ...@@ -25,6 +31,7 @@
25 </button> 31 </button>
26 <button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="s0O-FE-ge8"> 32 <button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="s0O-FE-ge8">
27 <rect key="frame" x="61" y="123" width="175" height="30"/> 33 <rect key="frame" x="61" y="123" width="175" height="30"/>
34 + <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
28 <state key="normal" title="登录"/> 35 <state key="normal" title="登录"/>
29 <connections> 36 <connections>
30 <action selector="actionLogin:" destination="vXZ-lx-hvc" eventType="touchUpInside" id="381-gB-ImA"/> 37 <action selector="actionLogin:" destination="vXZ-lx-hvc" eventType="touchUpInside" id="381-gB-ImA"/>
...@@ -32,6 +39,7 @@ ...@@ -32,6 +39,7 @@
32 </button> 39 </button>
33 <button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="JQY-uO-q36"> 40 <button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="JQY-uO-q36">
34 <rect key="frame" x="53" y="166" width="191" height="30"/> 41 <rect key="frame" x="53" y="166" width="191" height="30"/>
42 + <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
35 <state key="normal" title="充值"/> 43 <state key="normal" title="充值"/>
36 <connections> 44 <connections>
37 <action selector="actionPay:" destination="vXZ-lx-hvc" eventType="touchUpInside" id="bvf-M4-rqy"/> 45 <action selector="actionPay:" destination="vXZ-lx-hvc" eventType="touchUpInside" id="bvf-M4-rqy"/>
...@@ -39,6 +47,7 @@ ...@@ -39,6 +47,7 @@
39 </button> 47 </button>
40 <button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="5na-1c-IlO"> 48 <button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="5na-1c-IlO">
41 <rect key="frame" x="357" y="85" width="100" height="30"/> 49 <rect key="frame" x="357" y="85" width="100" height="30"/>
50 + <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
42 <state key="normal" title="数据"/> 51 <state key="normal" title="数据"/>
43 <connections> 52 <connections>
44 <action selector="actionSubmitRoleData:" destination="vXZ-lx-hvc" eventType="touchUpInside" id="aNf-Iw-unv"/> 53 <action selector="actionSubmitRoleData:" destination="vXZ-lx-hvc" eventType="touchUpInside" id="aNf-Iw-unv"/>
...@@ -46,6 +55,7 @@ ...@@ -46,6 +55,7 @@
46 </button> 55 </button>
47 <button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="jcX-L1-JB6"> 56 <button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="jcX-L1-JB6">
48 <rect key="frame" x="377" y="166" width="60" height="30"/> 57 <rect key="frame" x="377" y="166" width="60" height="30"/>
58 + <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
49 <state key="normal" title="切换账号"/> 59 <state key="normal" title="切换账号"/>
50 <connections> 60 <connections>
51 <action selector="actionSwitchAccount:" destination="vXZ-lx-hvc" eventType="touchUpInside" id="miU-Hm-8cm"/> 61 <action selector="actionSwitchAccount:" destination="vXZ-lx-hvc" eventType="touchUpInside" id="miU-Hm-8cm"/>
...@@ -53,13 +63,14 @@ ...@@ -53,13 +63,14 @@
53 </button> 63 </button>
54 <button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Q9b-py-Nk0"> 64 <button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Q9b-py-Nk0">
55 <rect key="frame" x="340" y="123" width="134" height="30"/> 65 <rect key="frame" x="340" y="123" width="134" height="30"/>
66 + <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
56 <state key="normal" title="注销"/> 67 <state key="normal" title="注销"/>
57 <connections> 68 <connections>
58 <action selector="actionLogout:" destination="vXZ-lx-hvc" eventType="touchUpInside" id="t6e-7P-tJU"/> 69 <action selector="actionLogout:" destination="vXZ-lx-hvc" eventType="touchUpInside" id="t6e-7P-tJU"/>
59 </connections> 70 </connections>
60 </button> 71 </button>
61 </subviews> 72 </subviews>
62 - <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/> 73 + <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
63 </view> 74 </view>
64 </viewController> 75 </viewController>
65 <placeholder placeholderIdentifier="IBFirstResponder" id="x5A-6p-PRh" sceneMemberID="firstResponder"/> 76 <placeholder placeholderIdentifier="IBFirstResponder" id="x5A-6p-PRh" sceneMemberID="firstResponder"/>
......
...@@ -19,6 +19,7 @@ ...@@ -19,6 +19,7 @@
19 [super viewDidLoad]; 19 [super viewDidLoad];
20 [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(receiveSDKMessage:) name:poolSDK_Notification object:nil]; 20 [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(receiveSDKMessage:) name:poolSDK_Notification object:nil];
21 // Do any additional setup after loading the view. 21 // Do any additional setup after loading the view.
22 + NSLog(@"viewDidLoad");
22 } 23 }
23 24
24 - (void)didReceiveMemoryWarning { 25 - (void)didReceiveMemoryWarning {
......
1 +#import <UIKit/UIKit.h>
2 +
3 +@interface PolarisIAPHelperControl : NSObject<UITableViewDelegate, UITableViewDataSource>
4 +
5 +@property(nonatomic,strong) NSString* PolarisDingDanHao;
6 +@property(nonatomic,strong) NSDictionary* PolarisHuoWuLieBiao;
7 +@property(nonatomic,strong) NSMutableArray* PolarisHuoWuIDLieBiao;
8 +@property(nonatomic, strong) UITableView *PolarisHuoWuLieBiaoView;
9 +
10 +- (void)PolarisHuaQianView:(UIViewController*)controller PolarisHuoWuD:(NSString*)products PolarisQian:(NSString*)amount PolarisHuoWuMing:(NSString*)productName PolarisDingDanHao:(NSString*)DingDanHao;
11 +
12 +@end
1 +#import <UIKit/UIKit.h>
2 +#import "StoreKit/StoreKit.h"
3 +
4 +@interface PolarisAllManager : NSObject
5 +{
6 + NSString* PolarisCKAPPID_;
7 + NSString* PolarisCKAPPKEY_;
8 +
9 + NSString* PolarisInviterCode_;
10 +}
11 +
12 +@property bool PolarisGeiWoHuaQianBa;
13 +
14 ++ (PolarisAllManager *)PolarisInstance;
15 +
16 +- (void)PolarisChuShiHua;
17 +
18 +- (void)PolarisDengLu:(NSString *)PolarisCKAPPID : (NSString *)PolarisCKAPPKEY : (UIViewController *)controller;
19 +
20 +- (void)PolarisYangShi:(NSString*)PolarisLeiXing;
21 +
22 +- (void)PolarisCKQuery: (NSString *)PolarisFuWuQiID : (NSString *)PolarisNickName : (NSNumber *)PolarisAmount : (NSString *)PolarisCallBack : (UIViewController *)controller : (NSString *)PolarisServerName;
23 +
24 +- (void)PolarisCKQueryOperation:(UIViewController*)controll PolarisHuoWuID:(NSString*)products PolarisJiaGe:(NSString*)amount PolarisHuoWuMing:(NSString*)productName PolarisDingDanHao:(NSString*) DingDanHao;
25 +
26 +
27 +
28 +@end
1 +#import <Foundation/Foundation.h>
2 +
3 +extern NSString * const PolarisCKAssetsExitNotification;
4 +extern NSString * const PolarisCKAssetsLoginNotification;
5 +extern NSString * const PolarisCKAssetsErrorNotification;
6 +
7 +
8 +@interface PolarisHuiTiaoNotification : NSObject
9 +
10 +@end
1 #import <UIKit/UIKit.h> 1 #import <UIKit/UIKit.h>
2 2
3 -@interface TurningDiZhi : NSObject 3 +@interface PolarisLocation : NSObject
4 4
5 -+ (NSString *)TurningSKCloudServiceSetupOptionsKey; 5 ++ (NSString *)PolarisSKCloudServiceSetupOptionsKey;
6 @end 6 @end
7 7
......
1 #import <UIKit/UIKit.h> 1 #import <UIKit/UIKit.h>
2 -#import "TurningXinXi.h" 2 +#import "PolarisMessage.h"
3 #import <JavaScriptCore/JavaScriptCore.h> 3 #import <JavaScriptCore/JavaScriptCore.h>
4 4
5 -@interface TurningMain : UIViewController<UIWebViewDelegate,UIAlertViewDelegate> 5 +@interface PolarisMain : UIViewController<UIWebViewDelegate,UIAlertViewDelegate>
6 { 6 {
7 UIWebView *webView_; 7 UIWebView *webView_;
8 UIActivityIndicatorView *activityIndicator; 8 UIActivityIndicatorView *activityIndicator;
9 } 9 }
10 10
11 -@property(assign) BOOL TurningYouYuanJiao; 11 +@property(assign) BOOL PolarisYouYuanJiao;
12 12
13 -- (void)TurningSettingCKAssetsView:(int)webViewWidth :(int) webViewHeight :(int) screenwidth :(int) screenHeight; 13 +- (void)PolarisSettingCKAssetsView:(int)webViewWidth :(int) webViewHeight :(int) screenwidth :(int) screenHeight;
14 -- (void)TurningChuShiHuaWebView; 14 +- (void)PolarisChuShiHuaWebView;
15 - (void)loadWebPageWithString:(NSString *)url; 15 - (void)loadWebPageWithString:(NSString *)url;
16 - (void)loadWebPageWithJs:(NSString *)content; 16 - (void)loadWebPageWithJs:(NSString *)content;
17 - (void)postNotification:(NSString *)name : (NSString *)code; 17 - (void)postNotification:(NSString *)name : (NSString *)code;
......
1 #import <Foundation/Foundation.h> 1 #import <Foundation/Foundation.h>
2 2
3 -@interface TurningXinXi : NSObject 3 +@interface PolarisMessage : NSObject
4 { 4 {
5 // 5 //
6 NSString *openId; 6 NSString *openId;
...@@ -12,5 +12,5 @@ NSString *timestamp; ...@@ -12,5 +12,5 @@ NSString *timestamp;
12 @property(retain,nonatomic) NSString *openId; 12 @property(retain,nonatomic) NSString *openId;
13 @property(retain,nonatomic) NSString *token; 13 @property(retain,nonatomic) NSString *token;
14 @property(retain,nonatomic) NSString *timestamp; 14 @property(retain,nonatomic) NSString *timestamp;
15 -+ (TurningXinXi *)getInstance; 15 ++ (PolarisMessage *)getInstance;
16 @end 16 @end
......
1 +#import <Foundation/Foundation.h>
2 +
3 +@interface PolarisMessageJM : NSObject
4 +
5 ++(NSString *)PolarisJM:(NSString *)jm;
6 +
7 ++(void)PolarisEmptyqweS12Jijis;
8 ++(void)PolarisEmptyjqw3123eakdjl;
9 ++(void)PolarisEmptynqw123evcxnklr;
10 +-(void)PolarisEmptyasqw123edll;
11 +-(void)PolarisEmptyasqw12312edlasdl;
12 +-(void)PolarisEmptyasdq3123wellasd;
13 ++(void)PolarisEmptyain;
14 +-(void)PolarisEmptybua3in;
15 ++(void)PolarisEmptya3in;
16 +-(void)PolarisEmptybu2ain;
17 ++(void)PolarisEmptyai2n;
18 +-(void)PolarisEmptybu1ain;
19 ++(void)PolarisEmptyai2nasd;
20 +-(void)PolarisEmptybasdu1ain;
21 +
22 +@end
1 -#import <UIKit/UIKit.h>
2 -#import "StoreKit/StoreKit.h"
3 -
4 -@interface TurningAllManager : NSObject
5 -{
6 - NSString* TurningCKAPPID_;
7 - NSString* TurningCKAPPKEY_;
8 -
9 - NSString* TurningInviterCode_;
10 -}
11 -
12 -@property bool TurningGeiWoHuaQianBa;
13 -
14 -+ (TurningAllManager *)TurningInstance;
15 -
16 -- (void)TurningChuShiHua;
17 -
18 -- (void)TurningDengLu:(NSString *)TurningCKAPPID : (NSString *)TurningCKAPPKEY : (UIViewController *)controller;
19 -
20 -- (void)TurningYangShi:(NSString*)TurningLeiXing;
21 -
22 -- (void)TurningCKQuery: (NSString *)TurningFuWuQiID : (NSString *)TurningNickName : (NSNumber *)TurningAmount : (NSString *)TurningCallBack : (UIViewController *)controller : (NSString *)TurningServerName;
23 -
24 -- (void)TurningCKQueryOperation:(UIViewController*)controll TurningHuoWuID:(NSString*)products TurningJiaGe:(NSString*)amount TurningHuoWuMing:(NSString*)productName TurningDingDanHao:(NSString*) DingDanHao;
25 -
26 -
27 -
28 -@end
1 -#import <Foundation/Foundation.h>
2 -
3 -extern NSString * const TurningCKAssetsExitNotification;
4 -extern NSString * const TurningCKAssetsLoginNotification;
5 -extern NSString * const TurningCKAssetsErrorNotification;
6 -
7 -
8 -@interface TurningHuiTiaoNotification : NSObject
9 -
10 -@end
1 -#import <UIKit/UIKit.h>
2 -
3 -@interface TurningIAPHelperControl : NSObject<UITableViewDelegate, UITableViewDataSource>
4 -
5 -@property(nonatomic,strong) NSString* TurningDingDanHao;
6 -@property(nonatomic,strong) NSDictionary* TurningHuoWuLieBiao;
7 -@property(nonatomic,strong) NSMutableArray* TurningHuoWuIDLieBiao;
8 -@property(nonatomic, strong) UITableView *TurningHuoWuLieBiaoView;
9 -
10 -- (void)TurningHuaQianView:(UIViewController*)controller TurningHuoWuD:(NSString*)products TurningQian:(NSString*)amount TurningHuoWuMing:(NSString*)productName TurningDingDanHao:(NSString*)DingDanHao;
11 -
12 -@end
1 -#import <Foundation/Foundation.h>
2 -
3 -@interface TurningMsgJM : NSObject
4 -
5 -+(NSString *)TurningJM:(NSString *)jm;
6 -
7 -+(void)TurningEmptyqweS12Jijis;
8 -+(void)TurningEmptyjqw3123eakdjl;
9 -+(void)TurningEmptynqw123evcxnklr;
10 --(void)TurningEmptyasqw123edll;
11 --(void)TurningEmptyasqw12312edlasdl;
12 --(void)TurningEmptyasdq3123wellasd;
13 -+(void)TurningEmptyain;
14 --(void)TurningEmptybua3in;
15 -+(void)TurningEmptya3in;
16 --(void)TurningEmptybu2ain;
17 -+(void)TurningEmptyai2n;
18 --(void)TurningEmptybu1ain;
19 -
20 -@end
...@@ -4,6 +4,8 @@ ...@@ -4,6 +4,8 @@
4 <dict> 4 <dict>
5 <key>CFBundleDevelopmentRegion</key> 5 <key>CFBundleDevelopmentRegion</key>
6 <string>en</string> 6 <string>en</string>
7 + <key>CFBundleDisplayName</key>
8 + <string>海豹DEMO</string>
7 <key>CFBundleExecutable</key> 9 <key>CFBundleExecutable</key>
8 <string>$(EXECUTABLE_NAME)</string> 10 <string>$(EXECUTABLE_NAME)</string>
9 <key>CFBundleIdentifier</key> 11 <key>CFBundleIdentifier</key>
...@@ -25,7 +27,15 @@ ...@@ -25,7 +27,15 @@
25 <string>Editor</string> 27 <string>Editor</string>
26 <key>CFBundleURLSchemes</key> 28 <key>CFBundleURLSchemes</key>
27 <array> 29 <array>
28 - <string>com.youai.sdk</string> 30 + <string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
31 + </array>
32 + </dict>
33 + <dict>
34 + <key>CFBundleTypeRole</key>
35 + <string>Editor</string>
36 + <key>CFBundleURLSchemes</key>
37 + <array>
38 + <string>i9133public</string>
29 </array> 39 </array>
30 </dict> 40 </dict>
31 </array> 41 </array>
...@@ -38,8 +48,6 @@ ...@@ -38,8 +48,6 @@
38 <key>NSAllowsArbitraryLoads</key> 48 <key>NSAllowsArbitraryLoads</key>
39 <true/> 49 <true/>
40 </dict> 50 </dict>
41 - <key>UILaunchStoryboardName</key>
42 - <string>LaunchScreen</string>
43 <key>UIMainStoryboardFile</key> 51 <key>UIMainStoryboardFile</key>
44 <string>Main</string> 52 <string>Main</string>
45 <key>UIRequiredDeviceCapabilities</key> 53 <key>UIRequiredDeviceCapabilities</key>
...@@ -48,8 +56,8 @@ ...@@ -48,8 +56,8 @@
48 </array> 56 </array>
49 <key>UISupportedInterfaceOrientations</key> 57 <key>UISupportedInterfaceOrientations</key>
50 <array> 58 <array>
51 - <string>UIInterfaceOrientationLandscapeLeft</string> 59 + <string>UIInterfaceOrientationPortrait</string>
52 - <string>UIInterfaceOrientationLandscapeRight</string> 60 + <string>UIInterfaceOrientationPortraitUpsideDown</string>
53 </array> 61 </array>
54 </dict> 62 </dict>
55 </plist> 63 </plist>
......
1 #include "SDKInterface.h" 1 #include "SDKInterface.h"
2 #import <UIKit/UIKit.h> 2 #import <UIKit/UIKit.h>
3 3
4 -#import "TurningSDK/TurningAllManager.h" 4 +#import "PolarisSDK/PolarisAllManager.h"
5 -#import "TurningSDK/TurningHuiTiaoNotification.h" 5 +#import "PolarisSDK/PolarisHuiTiaoNotification.h"
6 -#import "TurningSDK/TurningXinXi.h" 6 +#import "PolarisSDK/PolarisMessage.h"
7 7
8 #import "TrackingIO.h" 8 #import "TrackingIO.h"
9 9
10 @implementation SDKInterface : Interface 10 @implementation SDKInterface : Interface
11 11
12 int mExchange; 12 int mExchange;
13 -NSString *TurningSDKAppId; 13 +NSString *PolarisSDKAppId;
14 -NSString *TurningSDKAppKey; 14 +NSString *PolarisSDKAppKey;
15 15
16 - (void)SDKinit:(UIViewController *) control 16 - (void)SDKinit:(UIViewController *) control
17 { 17 {
...@@ -19,10 +19,10 @@ NSString *TurningSDKAppKey; ...@@ -19,10 +19,10 @@ NSString *TurningSDKAppKey;
19 [super SDKinit:control]; 19 [super SDKinit:control];
20 20
21 [PoolConfig getInstance]; 21 [PoolConfig getInstance];
22 - [[TurningAllManager TurningInstance]TurningChuShiHua]; 22 + [[PolarisAllManager PolarisInstance]PolarisChuShiHua];
23 - [[TurningAllManager TurningInstance]TurningYangShi:@"sdk"]; 23 + [[PolarisAllManager PolarisInstance]PolarisYangShi:@"sdk"];
24 - [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(receiveLoginMessage:) name:TurningCKAssetsLoginNotification object:nil]; 24 + [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(receiveLoginMessage:) name:PolarisCKAssetsLoginNotification object:nil];
25 - [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(HCKAssetsToolCallBack:) name:@"TurningCKAssetsToolCallBack" object:nil]; 25 + [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(HCKAssetsToolCallBack:) name:@"PolarisCKAssetsToolCallBack" object:nil];
26 26
27 [[PoolChecker getInstance] sendNotice:PoolSDKNotificationInitSDK notiName:@"InitSuccess" statusCode:POOLSDK_NO_ERROR description:@"initSuccess" extendData:nil]; 27 [[PoolChecker getInstance] sendNotice:PoolSDKNotificationInitSDK notiName:@"InitSuccess" statusCode:POOLSDK_NO_ERROR description:@"initSuccess" extendData:nil];
28 28
...@@ -39,9 +39,9 @@ NSString *TurningSDKAppKey; ...@@ -39,9 +39,9 @@ NSString *TurningSDKAppKey;
39 - (void)SDKloginSDK 39 - (void)SDKloginSDK
40 { 40 {
41 //APPID APPKEY 41 //APPID APPKEY
42 - TurningSDKAppId = [[PoolConfig getInstance] getValueByKey:@"APP_ID"]; 42 + PolarisSDKAppId = [[PoolConfig getInstance] getValueByKey:@"APP_ID"];
43 - TurningSDKAppKey =[[PoolConfig getInstance] getValueByKey:@"APP_KEY"]; 43 + PolarisSDKAppKey =[[PoolConfig getInstance] getValueByKey:@"APP_KEY"];
44 - [[TurningAllManager TurningInstance]TurningDengLu:TurningSDKAppId :TurningSDKAppKey :self.controller]; 44 + [[PolarisAllManager PolarisInstance]PolarisDengLu:PolarisSDKAppId :PolarisSDKAppKey :self.controller];
45 45
46 } 46 }
47 47
...@@ -52,9 +52,9 @@ NSString *TurningSDKAppKey; ...@@ -52,9 +52,9 @@ NSString *TurningSDKAppKey;
52 { 52 {
53 NSLog(@"loginchek"); 53 NSLog(@"loginchek");
54 PoolLoginInfo *loginInfo = [PoolLoginInfo alloc]; 54 PoolLoginInfo *loginInfo = [PoolLoginInfo alloc];
55 - loginInfo.openId = [[TurningXinXi getInstance]openId]; 55 + loginInfo.openId = [[PolarisMessage getInstance]openId];
56 - loginInfo.sign = [[TurningXinXi getInstance] token]; 56 + loginInfo.sign = [[PolarisMessage getInstance] token];
57 - loginInfo.timestamp = [[TurningXinXi getInstance] timestamp]; 57 + loginInfo.timestamp = [[PolarisMessage getInstance] timestamp];
58 58
59 dispatch_async(dispatch_get_global_queue(0, 0), ^{ 59 dispatch_async(dispatch_get_global_queue(0, 0), ^{
60 [[PoolChecker getInstance] startCheck:loginInfo]; 60 [[PoolChecker getInstance] startCheck:loginInfo];
...@@ -82,7 +82,7 @@ NSString *TurningSDKAppKey; ...@@ -82,7 +82,7 @@ NSString *TurningSDKAppKey;
82 { 82 {
83 NSDictionary* payResultDic = notification.object; 83 NSDictionary* payResultDic = notification.object;
84 84
85 - NSString* receiptStr = [payResultDic objectForKey:@"TurningCKAssetsToolResult"]; 85 + NSString* receiptStr = [payResultDic objectForKey:@"PolarisCKAssetsToolResult"];
86 NSString* queryId = [payResultDic objectForKey:@"query_id"]; 86 NSString* queryId = [payResultDic objectForKey:@"query_id"];
87 87
88 NSDictionary* receiptDic = [NSDictionary dictionaryWithObjectsAndKeys:receiptStr,@"receipt",queryId,@"query_id", nil]; 88 NSDictionary* receiptDic = [NSDictionary dictionaryWithObjectsAndKeys:receiptStr,@"receipt",queryId,@"query_id", nil];
...@@ -216,10 +216,10 @@ NSString *TurningSDKAppKey; ...@@ -216,10 +216,10 @@ NSString *TurningSDKAppKey;
216 NSString *other = [payInfo other]; 216 NSString *other = [payInfo other];
217 217
218 if (other && [other length] > 0) { 218 if (other && [other length] > 0) {
219 - [[TurningAllManager TurningInstance] TurningCKQuery:serverId :roleName :amount :[payInfo queryId] :self.controller :[payInfo serverName]]; 219 + [[PolarisAllManager PolarisInstance] PolarisCKQuery:serverId :roleName :amount :[payInfo queryId] :self.controller :[payInfo serverName]];
220 }else{ 220 }else{
221 NSString* products = [payInfo products]; 221 NSString* products = [payInfo products];
222 - [[TurningAllManager TurningInstance] TurningCKQueryOperation:self.controller TurningHuoWuID:products TurningJiaGe:[payInfo postAmount] TurningHuoWuMing:[payInfo productName] TurningDingDanHao:queryId]; 222 + [[PolarisAllManager PolarisInstance] PolarisCKQueryOperation:self.controller PolarisHuoWuID:products PolarisJiaGe:[payInfo postAmount] PolarisHuoWuMing:[payInfo productName] PolarisDingDanHao:queryId];
223 } 223 }
224 } 224 }
225 225
......
1 新接入请参考对接文档和demo<br> 1 新接入请参考对接文档和demo<br>
2 2
3 -2018-09-26:<br> 3 +2018-10-18:<br>
4 -在上版本基础上,更新了4、5、6点后,已接入快速更新方法<br> 4 +1、``` 删除pool_file文件夹中ClancySDK.framework ``` <br>
5 -1、``` 删除pool_file文件夹中HeroesSDK.framework或者RainbowSDK.framework ``` <br> 5 +2、引入 ``` PloarisSDK.framework ``` <br>
6 -2、引入 ``` TurningSDK.framework ``` <br>
7 3、替换 ``` SDKInterface.m文件 ``` <br> 6 3、替换 ``` SDKInterface.m文件 ``` <br>
8 7
9 2018-05-28: ``` (在此日期之后接入的可以忽略) ``` <br> 8 2018-05-28: ``` (在此日期之后接入的可以忽略) ``` <br>
......
1 +#import <UIKit/UIKit.h>
2 +
3 +@interface PolarisIAPHelperControl : NSObject<UITableViewDelegate, UITableViewDataSource>
4 +
5 +@property(nonatomic,strong) NSString* PolarisDingDanHao;
6 +@property(nonatomic,strong) NSDictionary* PolarisHuoWuLieBiao;
7 +@property(nonatomic,strong) NSMutableArray* PolarisHuoWuIDLieBiao;
8 +@property(nonatomic, strong) UITableView *PolarisHuoWuLieBiaoView;
9 +
10 +- (void)PolarisHuaQianView:(UIViewController*)controller PolarisHuoWuD:(NSString*)products PolarisQian:(NSString*)amount PolarisHuoWuMing:(NSString*)productName PolarisDingDanHao:(NSString*)DingDanHao;
11 +
12 +@end
1 +#import <UIKit/UIKit.h>
2 +#import "StoreKit/StoreKit.h"
3 +
4 +@interface PolarisAllManager : NSObject
5 +{
6 + NSString* PolarisCKAPPID_;
7 + NSString* PolarisCKAPPKEY_;
8 +
9 + NSString* PolarisInviterCode_;
10 +}
11 +
12 +@property bool PolarisGeiWoHuaQianBa;
13 +
14 ++ (PolarisAllManager *)PolarisInstance;
15 +
16 +- (void)PolarisChuShiHua;
17 +
18 +- (void)PolarisDengLu:(NSString *)PolarisCKAPPID : (NSString *)PolarisCKAPPKEY : (UIViewController *)controller;
19 +
20 +- (void)PolarisYangShi:(NSString*)PolarisLeiXing;
21 +
22 +- (void)PolarisCKQuery: (NSString *)PolarisFuWuQiID : (NSString *)PolarisNickName : (NSNumber *)PolarisAmount : (NSString *)PolarisCallBack : (UIViewController *)controller : (NSString *)PolarisServerName;
23 +
24 +- (void)PolarisCKQueryOperation:(UIViewController*)controll PolarisHuoWuID:(NSString*)products PolarisJiaGe:(NSString*)amount PolarisHuoWuMing:(NSString*)productName PolarisDingDanHao:(NSString*) DingDanHao;
25 +
26 +
27 +
28 +@end
1 +#import <Foundation/Foundation.h>
2 +
3 +extern NSString * const PolarisCKAssetsExitNotification;
4 +extern NSString * const PolarisCKAssetsLoginNotification;
5 +extern NSString * const PolarisCKAssetsErrorNotification;
6 +
7 +
8 +@interface PolarisHuiTiaoNotification : NSObject
9 +
10 +@end
1 #import <UIKit/UIKit.h> 1 #import <UIKit/UIKit.h>
2 2
3 -@interface TurningDiZhi : NSObject 3 +@interface PolarisLocation : NSObject
4 4
5 -+ (NSString *)TurningSKCloudServiceSetupOptionsKey; 5 ++ (NSString *)PolarisSKCloudServiceSetupOptionsKey;
6 @end 6 @end
7 7
......
1 #import <UIKit/UIKit.h> 1 #import <UIKit/UIKit.h>
2 -#import "TurningXinXi.h" 2 +#import "PolarisMessage.h"
3 #import <JavaScriptCore/JavaScriptCore.h> 3 #import <JavaScriptCore/JavaScriptCore.h>
4 4
5 -@interface TurningMain : UIViewController<UIWebViewDelegate,UIAlertViewDelegate> 5 +@interface PolarisMain : UIViewController<UIWebViewDelegate,UIAlertViewDelegate>
6 { 6 {
7 UIWebView *webView_; 7 UIWebView *webView_;
8 UIActivityIndicatorView *activityIndicator; 8 UIActivityIndicatorView *activityIndicator;
9 } 9 }
10 10
11 -@property(assign) BOOL TurningYouYuanJiao; 11 +@property(assign) BOOL PolarisYouYuanJiao;
12 12
13 -- (void)TurningSettingCKAssetsView:(int)webViewWidth :(int) webViewHeight :(int) screenwidth :(int) screenHeight; 13 +- (void)PolarisSettingCKAssetsView:(int)webViewWidth :(int) webViewHeight :(int) screenwidth :(int) screenHeight;
14 -- (void)TurningChuShiHuaWebView; 14 +- (void)PolarisChuShiHuaWebView;
15 - (void)loadWebPageWithString:(NSString *)url; 15 - (void)loadWebPageWithString:(NSString *)url;
16 - (void)loadWebPageWithJs:(NSString *)content; 16 - (void)loadWebPageWithJs:(NSString *)content;
17 - (void)postNotification:(NSString *)name : (NSString *)code; 17 - (void)postNotification:(NSString *)name : (NSString *)code;
......
1 #import <Foundation/Foundation.h> 1 #import <Foundation/Foundation.h>
2 2
3 -@interface TurningXinXi : NSObject 3 +@interface PolarisMessage : NSObject
4 { 4 {
5 // 5 //
6 NSString *openId; 6 NSString *openId;
...@@ -12,5 +12,5 @@ NSString *timestamp; ...@@ -12,5 +12,5 @@ NSString *timestamp;
12 @property(retain,nonatomic) NSString *openId; 12 @property(retain,nonatomic) NSString *openId;
13 @property(retain,nonatomic) NSString *token; 13 @property(retain,nonatomic) NSString *token;
14 @property(retain,nonatomic) NSString *timestamp; 14 @property(retain,nonatomic) NSString *timestamp;
15 -+ (TurningXinXi *)getInstance; 15 ++ (PolarisMessage *)getInstance;
16 @end 16 @end
......
1 +#import <Foundation/Foundation.h>
2 +
3 +@interface PolarisMessageJM : NSObject
4 +
5 ++(NSString *)PolarisJM:(NSString *)jm;
6 +
7 ++(void)PolarisEmptyqweS12Jijis;
8 ++(void)PolarisEmptyjqw3123eakdjl;
9 ++(void)PolarisEmptynqw123evcxnklr;
10 +-(void)PolarisEmptyasqw123edll;
11 +-(void)PolarisEmptyasqw12312edlasdl;
12 +-(void)PolarisEmptyasdq3123wellasd;
13 ++(void)PolarisEmptyain;
14 +-(void)PolarisEmptybua3in;
15 ++(void)PolarisEmptya3in;
16 +-(void)PolarisEmptybu2ain;
17 ++(void)PolarisEmptyai2n;
18 +-(void)PolarisEmptybu1ain;
19 ++(void)PolarisEmptyai2nasd;
20 +-(void)PolarisEmptybasdu1ain;
21 +
22 +@end
1 #include "SDKInterface.h" 1 #include "SDKInterface.h"
2 #import <UIKit/UIKit.h> 2 #import <UIKit/UIKit.h>
3 3
4 -#import "TurningSDK/TurningAllManager.h" 4 +#import "PolarisSDK/PolarisAllManager.h"
5 -#import "TurningSDK/TurningHuiTiaoNotification.h" 5 +#import "PolarisSDK/PolarisHuiTiaoNotification.h"
6 -#import "TurningSDK/TurningXinXi.h" 6 +#import "PolarisSDK/PolarisMessage.h"
7 7
8 #import "TrackingIO.h" 8 #import "TrackingIO.h"
9 9
10 @implementation SDKInterface : Interface 10 @implementation SDKInterface : Interface
11 11
12 int mExchange; 12 int mExchange;
13 -NSString *TurningSDKAppId; 13 +NSString *PolarisSDKAppId;
14 -NSString *TurningSDKAppKey; 14 +NSString *PolarisSDKAppKey;
15 15
16 - (void)SDKinit:(UIViewController *) control 16 - (void)SDKinit:(UIViewController *) control
17 { 17 {
...@@ -19,10 +19,10 @@ NSString *TurningSDKAppKey; ...@@ -19,10 +19,10 @@ NSString *TurningSDKAppKey;
19 [super SDKinit:control]; 19 [super SDKinit:control];
20 20
21 [PoolConfig getInstance]; 21 [PoolConfig getInstance];
22 - [[TurningAllManager TurningInstance]TurningChuShiHua]; 22 + [[PolarisAllManager PolarisInstance]PolarisChuShiHua];
23 - [[TurningAllManager TurningInstance]TurningYangShi:@"sdk"]; 23 + [[PolarisAllManager PolarisInstance]PolarisYangShi:@"sdk"];
24 - [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(receiveLoginMessage:) name:TurningCKAssetsLoginNotification object:nil]; 24 + [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(receiveLoginMessage:) name:PolarisCKAssetsLoginNotification object:nil];
25 - [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(HCKAssetsToolCallBack:) name:@"TurningCKAssetsToolCallBack" object:nil]; 25 + [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(HCKAssetsToolCallBack:) name:@"PolarisCKAssetsToolCallBack" object:nil];
26 26
27 [[PoolChecker getInstance] sendNotice:PoolSDKNotificationInitSDK notiName:@"InitSuccess" statusCode:POOLSDK_NO_ERROR description:@"initSuccess" extendData:nil]; 27 [[PoolChecker getInstance] sendNotice:PoolSDKNotificationInitSDK notiName:@"InitSuccess" statusCode:POOLSDK_NO_ERROR description:@"initSuccess" extendData:nil];
28 28
...@@ -39,9 +39,9 @@ NSString *TurningSDKAppKey; ...@@ -39,9 +39,9 @@ NSString *TurningSDKAppKey;
39 - (void)SDKloginSDK 39 - (void)SDKloginSDK
40 { 40 {
41 //APPID APPKEY 41 //APPID APPKEY
42 - TurningSDKAppId = [[PoolConfig getInstance] getValueByKey:@"APP_ID"]; 42 + PolarisSDKAppId = [[PoolConfig getInstance] getValueByKey:@"APP_ID"];
43 - TurningSDKAppKey =[[PoolConfig getInstance] getValueByKey:@"APP_KEY"]; 43 + PolarisSDKAppKey =[[PoolConfig getInstance] getValueByKey:@"APP_KEY"];
44 - [[TurningAllManager TurningInstance]TurningDengLu:TurningSDKAppId :TurningSDKAppKey :self.controller]; 44 + [[PolarisAllManager PolarisInstance]PolarisDengLu:PolarisSDKAppId :PolarisSDKAppKey :self.controller];
45 45
46 } 46 }
47 47
...@@ -52,9 +52,9 @@ NSString *TurningSDKAppKey; ...@@ -52,9 +52,9 @@ NSString *TurningSDKAppKey;
52 { 52 {
53 NSLog(@"loginchek"); 53 NSLog(@"loginchek");
54 PoolLoginInfo *loginInfo = [PoolLoginInfo alloc]; 54 PoolLoginInfo *loginInfo = [PoolLoginInfo alloc];
55 - loginInfo.openId = [[TurningXinXi getInstance]openId]; 55 + loginInfo.openId = [[PolarisMessage getInstance]openId];
56 - loginInfo.sign = [[TurningXinXi getInstance] token]; 56 + loginInfo.sign = [[PolarisMessage getInstance] token];
57 - loginInfo.timestamp = [[TurningXinXi getInstance] timestamp]; 57 + loginInfo.timestamp = [[PolarisMessage getInstance] timestamp];
58 58
59 dispatch_async(dispatch_get_global_queue(0, 0), ^{ 59 dispatch_async(dispatch_get_global_queue(0, 0), ^{
60 [[PoolChecker getInstance] startCheck:loginInfo]; 60 [[PoolChecker getInstance] startCheck:loginInfo];
...@@ -82,7 +82,7 @@ NSString *TurningSDKAppKey; ...@@ -82,7 +82,7 @@ NSString *TurningSDKAppKey;
82 { 82 {
83 NSDictionary* payResultDic = notification.object; 83 NSDictionary* payResultDic = notification.object;
84 84
85 - NSString* receiptStr = [payResultDic objectForKey:@"TurningCKAssetsToolResult"]; 85 + NSString* receiptStr = [payResultDic objectForKey:@"PolarisCKAssetsToolResult"];
86 NSString* queryId = [payResultDic objectForKey:@"query_id"]; 86 NSString* queryId = [payResultDic objectForKey:@"query_id"];
87 87
88 NSDictionary* receiptDic = [NSDictionary dictionaryWithObjectsAndKeys:receiptStr,@"receipt",queryId,@"query_id", nil]; 88 NSDictionary* receiptDic = [NSDictionary dictionaryWithObjectsAndKeys:receiptStr,@"receipt",queryId,@"query_id", nil];
...@@ -216,10 +216,10 @@ NSString *TurningSDKAppKey; ...@@ -216,10 +216,10 @@ NSString *TurningSDKAppKey;
216 NSString *other = [payInfo other]; 216 NSString *other = [payInfo other];
217 217
218 if (other && [other length] > 0) { 218 if (other && [other length] > 0) {
219 - [[TurningAllManager TurningInstance] TurningCKQuery:serverId :roleName :amount :[payInfo queryId] :self.controller :[payInfo serverName]]; 219 + [[PolarisAllManager PolarisInstance] PolarisCKQuery:serverId :roleName :amount :[payInfo queryId] :self.controller :[payInfo serverName]];
220 }else{ 220 }else{
221 NSString* products = [payInfo products]; 221 NSString* products = [payInfo products];
222 - [[TurningAllManager TurningInstance] TurningCKQueryOperation:self.controller TurningHuoWuID:products TurningJiaGe:[payInfo postAmount] TurningHuoWuMing:[payInfo productName] TurningDingDanHao:queryId]; 222 + [[PolarisAllManager PolarisInstance] PolarisCKQueryOperation:self.controller PolarisHuoWuID:products PolarisJiaGe:[payInfo postAmount] PolarisHuoWuMing:[payInfo productName] PolarisDingDanHao:queryId];
223 } 223 }
224 } 224 }
225 225
......
1 -#import <UIKit/UIKit.h>
2 -#import "StoreKit/StoreKit.h"
3 -
4 -@interface TurningAllManager : NSObject
5 -{
6 - NSString* TurningCKAPPID_;
7 - NSString* TurningCKAPPKEY_;
8 -
9 - NSString* TurningInviterCode_;
10 -}
11 -
12 -@property bool TurningGeiWoHuaQianBa;
13 -
14 -+ (TurningAllManager *)TurningInstance;
15 -
16 -- (void)TurningChuShiHua;
17 -
18 -- (void)TurningDengLu:(NSString *)TurningCKAPPID : (NSString *)TurningCKAPPKEY : (UIViewController *)controller;
19 -
20 -- (void)TurningYangShi:(NSString*)TurningLeiXing;
21 -
22 -- (void)TurningCKQuery: (NSString *)TurningFuWuQiID : (NSString *)TurningNickName : (NSNumber *)TurningAmount : (NSString *)TurningCallBack : (UIViewController *)controller : (NSString *)TurningServerName;
23 -
24 -- (void)TurningCKQueryOperation:(UIViewController*)controll TurningHuoWuID:(NSString*)products TurningJiaGe:(NSString*)amount TurningHuoWuMing:(NSString*)productName TurningDingDanHao:(NSString*) DingDanHao;
25 -
26 -
27 -
28 -@end
1 -#import <Foundation/Foundation.h>
2 -
3 -extern NSString * const TurningCKAssetsExitNotification;
4 -extern NSString * const TurningCKAssetsLoginNotification;
5 -extern NSString * const TurningCKAssetsErrorNotification;
6 -
7 -
8 -@interface TurningHuiTiaoNotification : NSObject
9 -
10 -@end
1 -#import <UIKit/UIKit.h>
2 -
3 -@interface TurningIAPHelperControl : NSObject<UITableViewDelegate, UITableViewDataSource>
4 -
5 -@property(nonatomic,strong) NSString* TurningDingDanHao;
6 -@property(nonatomic,strong) NSDictionary* TurningHuoWuLieBiao;
7 -@property(nonatomic,strong) NSMutableArray* TurningHuoWuIDLieBiao;
8 -@property(nonatomic, strong) UITableView *TurningHuoWuLieBiaoView;
9 -
10 -- (void)TurningHuaQianView:(UIViewController*)controller TurningHuoWuD:(NSString*)products TurningQian:(NSString*)amount TurningHuoWuMing:(NSString*)productName TurningDingDanHao:(NSString*)DingDanHao;
11 -
12 -@end
1 -#import <Foundation/Foundation.h>
2 -
3 -@interface TurningMsgJM : NSObject
4 -
5 -+(NSString *)TurningJM:(NSString *)jm;
6 -
7 -+(void)TurningEmptyqweS12Jijis;
8 -+(void)TurningEmptyjqw3123eakdjl;
9 -+(void)TurningEmptynqw123evcxnklr;
10 --(void)TurningEmptyasqw123edll;
11 --(void)TurningEmptyasqw12312edlasdl;
12 --(void)TurningEmptyasdq3123wellasd;
13 -+(void)TurningEmptyain;
14 --(void)TurningEmptybua3in;
15 -+(void)TurningEmptya3in;
16 --(void)TurningEmptybu2ain;
17 -+(void)TurningEmptyai2n;
18 --(void)TurningEmptybu1ain;
19 -
20 -@end