Toggle navigation
Toggle navigation
This project
Loading...
Sign in
iOS
/
PNChart
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
kevinzhow
2016-01-16 13:31:38 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
bf8e1095bd08a60784c2e19481319af5ad93418e
bf8e1095
1 parent
8d4b8746
Add LaunchScreen
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
64 additions
and
6 deletions
PNChartDemo.xcodeproj/project.pbxproj
PNChartDemo/Launch Screen.storyboard
PNChartDemo/PCChartViewController.h
PNChartDemo/PNChartDemo-Info.plist
PNChartTests/Info.plist
PNChartDemo.xcodeproj/project.pbxproj
View file @
bf8e109
...
...
@@ -22,6 +22,7 @@
0AF7A8AF182AAEEF003645C4 /* PCChartViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 0AF7A8AE182AAEEF003645C4 /* PCChartViewController.m */; };
5C728F7B8AACCC0864A63B26 /* libPods-PNChartTests.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B0A0D7DDAB496680487BF1E5 /* libPods-PNChartTests.a */; };
5C9B4AA31B05BBCB00093EBE /* PNBarChart.m in Sources */ = {isa = PBXBuildFile; fileRef = 5C9B4AA21B05BBCB00093EBE /* PNBarChart.m */; };
6A35C46F1C4A0D22004AB51A /* Launch Screen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 6A35C46E1C4A0D22004AB51A /* Launch Screen.storyboard */; };
6E984E5D1AE2B00600E817A0 /* PNBarChartTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 6E984E5C1AE2B00600E817A0 /* PNBarChartTests.m */; };
6E984E5E1AE2B03800E817A0 /* PNBar.m in Sources */ = {isa = PBXBuildFile; fileRef = 91177EC9198DFAC400017E27 /* PNBar.m */; };
91177ED8198DFAC400017E27 /* PNBar.m in Sources */ = {isa = PBXBuildFile; fileRef = 91177EC9198DFAC400017E27 /* PNBar.m */; };
...
...
@@ -77,6 +78,7 @@
3BA6321352024B1FBA0158B0 /* libPods.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libPods.a; sourceTree = BUILT_PRODUCTS_DIR; };
4D54B84CA1CAEB2BBBC9DCFA /* Pods-PNChartTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-PNChartTests.release.xcconfig"; path = "Pods/Target Support Files/Pods-PNChartTests/Pods-PNChartTests.release.xcconfig"; sourceTree = "<group>"; };
5C9B4AA21B05BBCB00093EBE /* PNBarChart.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PNBarChart.m; sourceTree = "<group>"; };
6A35C46E1C4A0D22004AB51A /* Launch Screen.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; path = "Launch Screen.storyboard"; sourceTree = "<group>"; };
6E984E511AE2AF2D00E817A0 /* PNChartTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = PNChartTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
6E984E541AE2AF2D00E817A0 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
6E984E5C1AE2B00600E817A0 /* PNBarChartTests.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PNBarChartTests.m; sourceTree = "<group>"; };
...
...
@@ -182,6 +184,7 @@
0AF7A879182AA9F6003645C4 /* Main.storyboard */,
0AF7A87F182AA9F6003645C4 /* Images.xcassets */,
0AF7A86E182AA9F6003645C4 /* Supporting Files */,
6A35C46E1C4A0D22004AB51A /* Launch Screen.storyboard */,
);
path = PNChartDemo;
sourceTree = "<group>";
...
...
@@ -328,7 +331,7 @@
isa = PBXProject;
attributes = {
CLASSPREFIX = PC;
LastUpgradeCheck = 0
51
0;
LastUpgradeCheck = 0
72
0;
ORGANIZATIONNAME = kevinzhow;
TargetAttributes = {
6E984E501AE2AF2D00E817A0 = {
...
...
@@ -363,6 +366,7 @@
files = (
0AF7A880182AA9F6003645C4 /* Images.xcassets in Resources */,
0AF7A872182AA9F6003645C4 /* InfoPlist.strings in Resources */,
6A35C46F1C4A0D22004AB51A /* Launch Screen.storyboard in Resources */,
0AF7A87B182AA9F6003645C4 /* Main.storyboard in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
...
...
@@ -554,6 +558,7 @@
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
COPY_PHASE_STRIP = NO;
ENABLE_TESTABILITY = YES;
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_DYNAMIC_NO_PIC = NO;
GCC_OPTIMIZATION_LEVEL = 0;
...
...
@@ -611,11 +616,11 @@
baseConfigurationReference = EFE4F6360943ED4001072124 /* Pods.debug.xcconfig */;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = "PNChartDemo/PNChartDemo-Prefix.pch";
INFOPLIST_FILE = "PNChartDemo/PNChartDemo-Info.plist";
IPHONEOS_DEPLOYMENT_TARGET = 6.0;
PRODUCT_BUNDLE_IDENTIFIER = "Piner.${PRODUCT_NAME:rfc1034identifier}";
PRODUCT_NAME = "$(TARGET_NAME)";
WRAPPER_EXTENSION = app;
};
...
...
@@ -626,11 +631,11 @@
baseConfigurationReference = 2980CA20C29DC029B2D0B926 /* Pods.release.xcconfig */;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = "PNChartDemo/PNChartDemo-Prefix.pch";
INFOPLIST_FILE = "PNChartDemo/PNChartDemo-Info.plist";
IPHONEOS_DEPLOYMENT_TARGET = 6.0;
PRODUCT_BUNDLE_IDENTIFIER = "Piner.${PRODUCT_NAME:rfc1034identifier}";
PRODUCT_NAME = "$(TARGET_NAME)";
WRAPPER_EXTENSION = app;
};
...
...
@@ -658,6 +663,7 @@
IPHONEOS_DEPLOYMENT_TARGET = 8.3;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
MTL_ENABLE_DEBUG_INFO = YES;
PRODUCT_BUNDLE_IDENTIFIER = "vila.$(PRODUCT_NAME:rfc1034identifier)";
PRODUCT_NAME = "$(TARGET_NAME)";
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/PNChartDemo.app/PNChartDemo";
};
...
...
@@ -682,6 +688,7 @@
IPHONEOS_DEPLOYMENT_TARGET = 8.3;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
MTL_ENABLE_DEBUG_INFO = NO;
PRODUCT_BUNDLE_IDENTIFIER = "vila.$(PRODUCT_NAME:rfc1034identifier)";
PRODUCT_NAME = "$(TARGET_NAME)";
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/PNChartDemo.app/PNChartDemo";
};
...
...
PNChartDemo/Launch Screen.storyboard
0 → 100644
View file @
bf8e109
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document
type=
"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB"
version=
"3.0"
toolsVersion=
"9531"
systemVersion=
"15C50"
targetRuntime=
"iOS.CocoaTouch"
propertyAccessControl=
"none"
useAutolayout=
"YES"
launchScreen=
"YES"
useTraitCollections=
"YES"
initialViewController=
"01J-lp-oVM"
>
<dependencies>
<deployment
identifier=
"iOS"
/>
<plugIn
identifier=
"com.apple.InterfaceBuilder.IBCocoaTouchPlugin"
version=
"9529"
/>
<capability
name=
"Constraints with non-1.0 multipliers"
minToolsVersion=
"5.1"
/>
</dependencies>
<scenes>
<!--View Controller-->
<scene
sceneID=
"EHf-IW-A2E"
>
<objects>
<viewController
id=
"01J-lp-oVM"
sceneMemberID=
"viewController"
>
<layoutGuides>
<viewControllerLayoutGuide
type=
"top"
id=
"Llm-lL-Icb"
/>
<viewControllerLayoutGuide
type=
"bottom"
id=
"xb3-aO-Qok"
/>
</layoutGuides>
<view
key=
"view"
contentMode=
"scaleToFill"
id=
"Ze5-6b-2t3"
>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"600"
height=
"600"
/>
<autoresizingMask
key=
"autoresizingMask"
widthSizable=
"YES"
heightSizable=
"YES"
/>
<subviews>
<label
opaque=
"NO"
clipsSubviews=
"YES"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
" Copyright © 2016年 kevinzhow. All rights reserved."
textAlignment=
"center"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
minimumFontSize=
"9"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"obG-Y5-kRd"
>
<rect
key=
"frame"
x=
"20"
y=
"559"
width=
"560"
height=
"21"
/>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"17"
/>
<color
key=
"textColor"
red=
"0.0"
green=
"0.0"
blue=
"0.0"
alpha=
"1"
colorSpace=
"calibratedRGB"
/>
<nil
key=
"highlightedColor"
/>
</label>
<label
opaque=
"NO"
clipsSubviews=
"YES"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"PNChartDemo"
textAlignment=
"center"
lineBreakMode=
"middleTruncation"
baselineAdjustment=
"alignBaselines"
minimumFontSize=
"18"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"GJd-Yh-RWb"
>
<rect
key=
"frame"
x=
"20"
y=
"180"
width=
"560"
height=
"43"
/>
<fontDescription
key=
"fontDescription"
type=
"boldSystem"
pointSize=
"36"
/>
<color
key=
"textColor"
red=
"0.0"
green=
"0.0"
blue=
"0.0"
alpha=
"1"
colorSpace=
"calibratedRGB"
/>
<nil
key=
"highlightedColor"
/>
</label>
</subviews>
<color
key=
"backgroundColor"
white=
"1"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"calibratedWhite"
/>
<constraints>
<constraint
firstAttribute=
"centerX"
secondItem=
"obG-Y5-kRd"
secondAttribute=
"centerX"
id=
"5cz-MP-9tL"
/>
<constraint
firstAttribute=
"centerX"
secondItem=
"GJd-Yh-RWb"
secondAttribute=
"centerX"
id=
"Q3B-4B-g5h"
/>
<constraint
firstItem=
"obG-Y5-kRd"
firstAttribute=
"leading"
secondItem=
"Ze5-6b-2t3"
secondAttribute=
"leading"
constant=
"20"
symbolic=
"YES"
id=
"SfN-ll-jLj"
/>
<constraint
firstAttribute=
"bottom"
secondItem=
"obG-Y5-kRd"
secondAttribute=
"bottom"
constant=
"20"
id=
"Y44-ml-fuU"
/>
<constraint
firstItem=
"GJd-Yh-RWb"
firstAttribute=
"centerY"
secondItem=
"Ze5-6b-2t3"
secondAttribute=
"bottom"
multiplier=
"1/3"
constant=
"1"
id=
"moa-c2-u7t"
/>
<constraint
firstItem=
"GJd-Yh-RWb"
firstAttribute=
"leading"
secondItem=
"Ze5-6b-2t3"
secondAttribute=
"leading"
constant=
"20"
symbolic=
"YES"
id=
"x7j-FC-K8j"
/>
</constraints>
</view>
</viewController>
<placeholder
placeholderIdentifier=
"IBFirstResponder"
id=
"iYj-Kq-Ea1"
userLabel=
"First Responder"
sceneMemberID=
"firstResponder"
/>
</objects>
<point
key=
"canvasLocation"
x=
"53"
y=
"375"
/>
</scene>
</scenes>
</document>
...
...
PNChartDemo/PCChartViewController.h
View file @
bf8e109
...
...
@@ -32,6 +32,5 @@
-
(
IBAction
)
rightSwitchChanged
:(
id
)
sender
;
-
(
IBAction
)
leftSwitchChanged
:(
id
)
sender
;
-
(
IBAction
)
rightSwitchChanged
:(
id
)
sender
;
@end
...
...
PNChartDemo/PNChartDemo-Info.plist
View file @
bf8e109
...
...
@@ -9,7 +9,7 @@
<key>
CFBundleExecutable
</key>
<string>
${EXECUTABLE_NAME}
</string>
<key>
CFBundleIdentifier
</key>
<string>
Piner.${PRODUCT_NAME:rfc1034identifier}
</string>
<string>
$(PRODUCT_BUNDLE_IDENTIFIER)
</string>
<key>
CFBundleInfoDictionaryVersion
</key>
<string>
6.0
</string>
<key>
CFBundleName
</key>
...
...
@@ -24,6 +24,8 @@
<string>
1.0
</string>
<key>
LSRequiresIPhoneOS
</key>
<true/>
<key>
UILaunchStoryboardName
</key>
<string>
Launch Screen
</string>
<key>
UIMainStoryboardFile
</key>
<string>
Main
</string>
<key>
UIRequiredDeviceCapabilities
</key>
...
...
PNChartTests/Info.plist
View file @
bf8e109
...
...
@@ -7,7 +7,7 @@
<key>
CFBundleExecutable
</key>
<string>
$(EXECUTABLE_NAME)
</string>
<key>
CFBundleIdentifier
</key>
<string>
vila.$(PRODUCT_NAME:rfc1034identifier
)
</string>
<string>
$(PRODUCT_BUNDLE_IDENTIFIER
)
</string>
<key>
CFBundleInfoDictionaryVersion
</key>
<string>
6.0
</string>
<key>
CFBundleName
</key>
...
...
Please
register
or
login
to post a comment