Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
shzx
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
张杰
shzx
Commits
950112e4
Commit
950112e4
authored
Mar 29, 2018
by
Javen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.0.1版本
parent
9e499913
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
27 additions
and
16 deletions
+27
-16
project.pbxproj
SHZX.xcodeproj/project.pbxproj
+11
-5
LaunchScreen.storyboard
SHZX/Base.lproj/LaunchScreen.storyboard
+7
-7
Info.plist
SHZX/Info.plist
+7
-2
NetworkAPI.swift
SHZX/Network/NetworkAPI.swift
+1
-1
ViewController.swift
SHZX/ViewController.swift
+1
-1
No files found.
SHZX.xcodeproj/project.pbxproj
View file @
950112e4
...
@@ -191,7 +191,7 @@
...
@@ -191,7 +191,7 @@
TargetAttributes
=
{
TargetAttributes
=
{
29D7E014204E72DB00010071
=
{
29D7E014204E72DB00010071
=
{
CreatedOnToolsVersion
=
9.2
;
CreatedOnToolsVersion
=
9.2
;
ProvisioningStyle
=
Automatic
;
ProvisioningStyle
=
Manual
;
};
};
};
};
};
};
...
@@ -386,7 +386,7 @@
...
@@ -386,7 +386,7 @@
GCC_WARN_UNINITIALIZED_AUTOS
=
YES_AGGRESSIVE
;
GCC_WARN_UNINITIALIZED_AUTOS
=
YES_AGGRESSIVE
;
GCC_WARN_UNUSED_FUNCTION
=
YES
;
GCC_WARN_UNUSED_FUNCTION
=
YES
;
GCC_WARN_UNUSED_VARIABLE
=
YES
;
GCC_WARN_UNUSED_VARIABLE
=
YES
;
IPHONEOS_DEPLOYMENT_TARGET
=
1
1.2
;
IPHONEOS_DEPLOYMENT_TARGET
=
1
0.0
;
MTL_ENABLE_DEBUG_INFO
=
YES
;
MTL_ENABLE_DEBUG_INFO
=
YES
;
ONLY_ACTIVE_ARCH
=
YES
;
ONLY_ACTIVE_ARCH
=
YES
;
SDKROOT
=
iphoneos
;
SDKROOT
=
iphoneos
;
...
@@ -437,7 +437,7 @@
...
@@ -437,7 +437,7 @@
GCC_WARN_UNINITIALIZED_AUTOS
=
YES_AGGRESSIVE
;
GCC_WARN_UNINITIALIZED_AUTOS
=
YES_AGGRESSIVE
;
GCC_WARN_UNUSED_FUNCTION
=
YES
;
GCC_WARN_UNUSED_FUNCTION
=
YES
;
GCC_WARN_UNUSED_VARIABLE
=
YES
;
GCC_WARN_UNUSED_VARIABLE
=
YES
;
IPHONEOS_DEPLOYMENT_TARGET
=
1
1.2
;
IPHONEOS_DEPLOYMENT_TARGET
=
1
0.0
;
MTL_ENABLE_DEBUG_INFO
=
NO
;
MTL_ENABLE_DEBUG_INFO
=
NO
;
SDKROOT
=
iphoneos
;
SDKROOT
=
iphoneos
;
SWIFT_OPTIMIZATION_LEVEL
=
"-Owholemodule"
;
SWIFT_OPTIMIZATION_LEVEL
=
"-Owholemodule"
;
...
@@ -450,13 +450,16 @@
...
@@ -450,13 +450,16 @@
baseConfigurationReference
=
741C820678A2593F5FCD1236
/* Pods-SHZX.debug.xcconfig */
;
baseConfigurationReference
=
741C820678A2593F5FCD1236
/* Pods-SHZX.debug.xcconfig */
;
buildSettings
=
{
buildSettings
=
{
ASSETCATALOG_COMPILER_APPICON_NAME
=
AppIcon
;
ASSETCATALOG_COMPILER_APPICON_NAME
=
AppIcon
;
CODE_SIGN_STYLE
=
Automatic
;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]"
=
"iPhone Distribution"
;
CODE_SIGN_STYLE
=
Manual
;
DEVELOPMENT_TEAM
=
W54V2VB863
;
DEVELOPMENT_TEAM
=
W54V2VB863
;
INFOPLIST_FILE
=
SHZX/Info.plist
;
INFOPLIST_FILE
=
SHZX/Info.plist
;
IPHONEOS_DEPLOYMENT_TARGET
=
9.0
;
IPHONEOS_DEPLOYMENT_TARGET
=
9.0
;
LD_RUNPATH_SEARCH_PATHS
=
"$(inherited) @executable_path/Frameworks"
;
LD_RUNPATH_SEARCH_PATHS
=
"$(inherited) @executable_path/Frameworks"
;
PRODUCT_BUNDLE_IDENTIFIER
=
com.gomore.shzx
;
PRODUCT_BUNDLE_IDENTIFIER
=
com.gomore.shzx
;
PRODUCT_NAME
=
"$(TARGET_NAME)"
;
PRODUCT_NAME
=
"$(TARGET_NAME)"
;
PROVISIONING_PROFILE
=
"fead1508-a0cf-4959-a88f-9271e61ca298"
;
PROVISIONING_PROFILE_SPECIFIER
=
shzx_dis
;
SWIFT_VERSION
=
4.0
;
SWIFT_VERSION
=
4.0
;
TARGETED_DEVICE_FAMILY
=
2
;
TARGETED_DEVICE_FAMILY
=
2
;
};
};
...
@@ -467,13 +470,16 @@
...
@@ -467,13 +470,16 @@
baseConfigurationReference
=
0551BA1661C7C5A89FF065EC
/* Pods-SHZX.release.xcconfig */
;
baseConfigurationReference
=
0551BA1661C7C5A89FF065EC
/* Pods-SHZX.release.xcconfig */
;
buildSettings
=
{
buildSettings
=
{
ASSETCATALOG_COMPILER_APPICON_NAME
=
AppIcon
;
ASSETCATALOG_COMPILER_APPICON_NAME
=
AppIcon
;
CODE_SIGN_STYLE
=
Automatic
;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]"
=
"iPhone Distribution"
;
CODE_SIGN_STYLE
=
Manual
;
DEVELOPMENT_TEAM
=
W54V2VB863
;
DEVELOPMENT_TEAM
=
W54V2VB863
;
INFOPLIST_FILE
=
SHZX/Info.plist
;
INFOPLIST_FILE
=
SHZX/Info.plist
;
IPHONEOS_DEPLOYMENT_TARGET
=
9.0
;
IPHONEOS_DEPLOYMENT_TARGET
=
9.0
;
LD_RUNPATH_SEARCH_PATHS
=
"$(inherited) @executable_path/Frameworks"
;
LD_RUNPATH_SEARCH_PATHS
=
"$(inherited) @executable_path/Frameworks"
;
PRODUCT_BUNDLE_IDENTIFIER
=
com.gomore.shzx
;
PRODUCT_BUNDLE_IDENTIFIER
=
com.gomore.shzx
;
PRODUCT_NAME
=
"$(TARGET_NAME)"
;
PRODUCT_NAME
=
"$(TARGET_NAME)"
;
PROVISIONING_PROFILE
=
"fead1508-a0cf-4959-a88f-9271e61ca298"
;
PROVISIONING_PROFILE_SPECIFIER
=
shzx_dis
;
SWIFT_VERSION
=
4.0
;
SWIFT_VERSION
=
4.0
;
TARGETED_DEVICE_FAMILY
=
2
;
TARGETED_DEVICE_FAMILY
=
2
;
};
};
...
...
SHZX/Base.lproj/LaunchScreen.storyboard
View file @
950112e4
...
@@ -18,16 +18,16 @@
...
@@ -18,16 +18,16 @@
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"1024"
height=
"768"
/>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"1024"
height=
"768"
/>
<autoresizingMask
key=
"autoresizingMask"
widthSizable=
"YES"
heightSizable=
"YES"
/>
<autoresizingMask
key=
"autoresizingMask"
widthSizable=
"YES"
heightSizable=
"YES"
/>
<subviews>
<subviews>
<imageView
userInteractionEnabled=
"NO"
contentMode=
"scaleAspectFill"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
image=
"back"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"
lsr-fN-Rxw
"
>
<imageView
userInteractionEnabled=
"NO"
contentMode=
"scaleAspectFill"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
image=
"back"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"
gn0-5n-Wed
"
>
<rect
key=
"frame"
x=
"0.0"
y=
"
20"
width=
"1024"
height=
"74
8"
/>
<rect
key=
"frame"
x=
"0.0"
y=
"
0.0"
width=
"1024"
height=
"76
8"
/>
</imageView>
</imageView>
</subviews>
</subviews>
<color
key=
"backgroundColor"
red=
"1"
green=
"1"
blue=
"1"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"sRGB"
/>
<color
key=
"backgroundColor"
red=
"1"
green=
"1"
blue=
"1"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"sRGB"
/>
<constraints>
<constraints>
<constraint
firstItem=
"
lsr-fN-Rxw"
firstAttribute=
"top"
secondItem=
"6Tk-OE-BBY"
secondAttribute=
"top"
id=
"3RV-1l-vE8
"
/>
<constraint
firstItem=
"
gn0-5n-Wed"
firstAttribute=
"top"
secondItem=
"Ze5-6b-2t3"
secondAttribute=
"top"
id=
"6Sh-Vt-uDC
"
/>
<constraint
first
Item=
"lsr-fN-Rxw"
firstAttribute=
"leading"
secondItem=
"6Tk-OE-BBY"
secondAttribute=
"leading"
id=
"ExH-Mw-IJH
"
/>
<constraint
first
Attribute=
"bottom"
secondItem=
"gn0-5n-Wed"
secondAttribute=
"bottom"
id=
"KG2-iT-d3k
"
/>
<constraint
firstItem=
"
lsr-fN-Rxw"
firstAttribute=
"trailing"
secondItem=
"6Tk-OE-BBY"
secondAttribute=
"trailing"
id=
"Q7N-Zc-NHd
"
/>
<constraint
firstItem=
"
6Tk-OE-BBY"
firstAttribute=
"trailing"
secondItem=
"gn0-5n-Wed"
secondAttribute=
"trailing"
id=
"dfX-Ry-RZ9
"
/>
<constraint
firstItem=
"
6Tk-OE-BBY"
firstAttribute=
"bottom"
secondItem=
"lsr-fN-Rxw"
secondAttribute=
"bottom"
id=
"gfp-zF-7FL
"
/>
<constraint
firstItem=
"
gn0-5n-Wed"
firstAttribute=
"leading"
secondItem=
"Ze5-6b-2t3"
secondAttribute=
"leading"
id=
"w1v-p5-72S
"
/>
</constraints>
</constraints>
<viewLayoutGuide
key=
"safeArea"
id=
"6Tk-OE-BBY"
/>
<viewLayoutGuide
key=
"safeArea"
id=
"6Tk-OE-BBY"
/>
</view>
</view>
...
@@ -38,6 +38,6 @@
...
@@ -38,6 +38,6 @@
</scene>
</scene>
</scenes>
</scenes>
<resources>
<resources>
<image
name=
"back"
width=
"
1024"
height=
"768
"
/>
<image
name=
"back"
width=
"
2048"
height=
"1536
"
/>
</resources>
</resources>
</document>
</document>
SHZX/Info.plist
View file @
950112e4
...
@@ -17,11 +17,16 @@
...
@@ -17,11 +17,16 @@
<
k
e
y
>
CFBundlePackageType
<
/k
e
y
>
<
k
e
y
>
CFBundlePackageType
<
/k
e
y
>
<
string
>
APPL
<
/string
>
<
string
>
APPL
<
/string
>
<
k
e
y
>
CFBundleShortVersionString
<
/k
e
y
>
<
k
e
y
>
CFBundleShortVersionString
<
/k
e
y
>
<
string
>
1.0.
0
<
/string
>
<
string
>
1.0.
1
<
/string
>
<
k
e
y
>
CFBundleVersion
<
/k
e
y
>
<
k
e
y
>
CFBundleVersion
<
/k
e
y
>
<
string
>
1.0.
0
<
/string
>
<
string
>
1.0.
1
<
/string
>
<
k
e
y
>
LSRequiresIPhoneOS
<
/k
e
y
>
<
k
e
y
>
LSRequiresIPhoneOS
<
/k
e
y
>
<
tru
e
/
>
<
tru
e
/
>
<
k
e
y
>
NSAppTransportSecurity
<
/k
e
y
>
<
d
i
c
t
>
<
k
e
y
>
NSAllowsArbitraryLoads
<
/k
e
y
>
<
tru
e
/
>
<
/
d
i
c
t
>
<
k
e
y
>
UILaunchStoryboardName
<
/k
e
y
>
<
k
e
y
>
UILaunchStoryboardName
<
/k
e
y
>
<
string
>
LaunchScreen
<
/string
>
<
string
>
LaunchScreen
<
/string
>
<
k
e
y
>
UIMainStoryboardFile
<
/k
e
y
>
<
k
e
y
>
UIMainStoryboardFile
<
/k
e
y
>
...
...
SHZX/Network/NetworkAPI.swift
View file @
950112e4
...
@@ -22,7 +22,7 @@ public enum Service {
...
@@ -22,7 +22,7 @@ public enum Service {
extension
Service
:
TargetType
{
extension
Service
:
TargetType
{
public
var
baseURL
:
URL
{
public
var
baseURL
:
URL
{
return
URL
(
string
:
"http://1
21.40.116.34:8077
/"
)
!
return
URL
(
string
:
"http://1
72.16.23.112:8081
/"
)
!
}
}
public
var
path
:
String
{
public
var
path
:
String
{
...
...
SHZX/ViewController.swift
View file @
950112e4
...
@@ -39,7 +39,7 @@ class ViewController: UIViewController {
...
@@ -39,7 +39,7 @@ class ViewController: UIViewController {
var
imageArray
:
Array
<
String
>
=
{
var
imageArray
:
Array
<
String
>
=
{
var
imageArray
=
[
"http://1
21.40.116.34:8077/KlImages/KlyAPI?ID=2&Type=SHZX"
,
"http://121.40.116.34:8077/KlImages/KlyAPI?ID=2&Type=SHZX"
]
var
imageArray
=
[
"http://1
72.16.23.112:8082/Img/172.16.26.18.jpg"
,
"http://172.16.23.112:8082/Img/172.16.26.19.jpg"
,
]
return
imageArray
return
imageArray
}()
}()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment