Skip to content
This repository has been archived by the owner on Jan 19, 2022. It is now read-only.

Commit

Permalink
move example project to pod instead of local files
Browse files Browse the repository at this point in the history
  • Loading branch information
Luis Padron authored and Luis Padron committed Sep 17, 2016
1 parent cb390ac commit ef62ddf
Show file tree
Hide file tree
Showing 29 changed files with 1,176 additions and 14 deletions.
86 changes: 78 additions & 8 deletions Example/Example.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,43 +7,63 @@
objects = {

/* Begin PBXBuildFile section */
313A64732CCCEDB7E2B7851A /* Pods_Example.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2FC5A73BAE6B47CA6514B52F /* Pods_Example.framework */; };
A00456D11D8CD52E00AC2AAC /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = A00456D01D8CD52E00AC2AAC /* AppDelegate.swift */; };
A00456D31D8CD52E00AC2AAC /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = A00456D21D8CD52E00AC2AAC /* ViewController.swift */; };
A00456D61D8CD52E00AC2AAC /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = A00456D41D8CD52E00AC2AAC /* Main.storyboard */; };
A00456D81D8CD52E00AC2AAC /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = A00456D71D8CD52E00AC2AAC /* Assets.xcassets */; };
A00456DB1D8CD52E00AC2AAC /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = A00456D91D8CD52E00AC2AAC /* LaunchScreen.storyboard */; };
A00456E41D8CD55300AC2AAC /* UICircularProgressRingView.swift in Sources */ = {isa = PBXBuildFile; fileRef = A00456E21D8CD55300AC2AAC /* UICircularProgressRingView.swift */; };
A00456E51D8CD55300AC2AAC /* UICircularProgressRingDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = A00456E31D8CD55300AC2AAC /* UICircularProgressRingDelegate.swift */; };
/* End PBXBuildFile section */

/* Begin PBXFileReference section */
2FC5A73BAE6B47CA6514B52F /* Pods_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; };
82A3863291A912C5EB8F44D1 /* Pods-Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Example.release.xcconfig"; path = "Pods/Target Support Files/Pods-Example/Pods-Example.release.xcconfig"; sourceTree = "<group>"; };
8B2376CF61EB42685EE8039A /* Pods-Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Example.debug.xcconfig"; path = "Pods/Target Support Files/Pods-Example/Pods-Example.debug.xcconfig"; sourceTree = "<group>"; };
A00456CD1D8CD52E00AC2AAC /* Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Example.app; sourceTree = BUILT_PRODUCTS_DIR; };
A00456D01D8CD52E00AC2AAC /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
A00456D21D8CD52E00AC2AAC /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = "<group>"; };
A00456D51D8CD52E00AC2AAC /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
A00456D71D8CD52E00AC2AAC /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
A00456DA1D8CD52E00AC2AAC /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
A00456DC1D8CD52E00AC2AAC /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
A00456E21D8CD55300AC2AAC /* UICircularProgressRingView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = UICircularProgressRingView.swift; sourceTree = "<group>"; };
A00456E31D8CD55300AC2AAC /* UICircularProgressRingDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = UICircularProgressRingDelegate.swift; sourceTree = "<group>"; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
A00456CA1D8CD52E00AC2AAC /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
313A64732CCCEDB7E2B7851A /* Pods_Example.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */

/* Begin PBXGroup section */
4C94A94388021F57926C2C87 /* Pods */ = {
isa = PBXGroup;
children = (
8B2376CF61EB42685EE8039A /* Pods-Example.debug.xcconfig */,
82A3863291A912C5EB8F44D1 /* Pods-Example.release.xcconfig */,
);
name = Pods;
sourceTree = "<group>";
};
72F031BA4F0598F5320D8CE2 /* Frameworks */ = {
isa = PBXGroup;
children = (
2FC5A73BAE6B47CA6514B52F /* Pods_Example.framework */,
);
name = Frameworks;
sourceTree = "<group>";
};
A00456C41D8CD52E00AC2AAC = {
isa = PBXGroup;
children = (
A00456CF1D8CD52E00AC2AAC /* Example */,
A00456CE1D8CD52E00AC2AAC /* Products */,
4C94A94388021F57926C2C87 /* Pods */,
72F031BA4F0598F5320D8CE2 /* Frameworks */,
);
sourceTree = "<group>";
};
Expand All @@ -60,8 +80,6 @@
children = (
A00456D01D8CD52E00AC2AAC /* AppDelegate.swift */,
A00456D21D8CD52E00AC2AAC /* ViewController.swift */,
A00456E21D8CD55300AC2AAC /* UICircularProgressRingView.swift */,
A00456E31D8CD55300AC2AAC /* UICircularProgressRingDelegate.swift */,
A00456D41D8CD52E00AC2AAC /* Main.storyboard */,
A00456D71D8CD52E00AC2AAC /* Assets.xcassets */,
A00456D91D8CD52E00AC2AAC /* LaunchScreen.storyboard */,
Expand All @@ -77,9 +95,12 @@
isa = PBXNativeTarget;
buildConfigurationList = A00456DF1D8CD52E00AC2AAC /* Build configuration list for PBXNativeTarget "Example" */;
buildPhases = (
6FCBFA6D5E6B5B05296AF5AA /* [CP] Check Pods Manifest.lock */,
A00456C91D8CD52E00AC2AAC /* Sources */,
A00456CA1D8CD52E00AC2AAC /* Frameworks */,
A00456CB1D8CD52E00AC2AAC /* Resources */,
ACDAEA5B719693D7E6E65E33 /* [CP] Embed Pods Frameworks */,
52DD19D934475CB6CD2D0205 /* [CP] Copy Pods Resources */,
);
buildRules = (
);
Expand Down Expand Up @@ -138,14 +159,60 @@
};
/* End PBXResourcesBuildPhase section */

/* Begin PBXShellScriptBuildPhase section */
52DD19D934475CB6CD2D0205 /* [CP] Copy Pods Resources */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputPaths = (
);
name = "[CP] Copy Pods Resources";
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-Example/Pods-Example-resources.sh\"\n";
showEnvVarsInLog = 0;
};
6FCBFA6D5E6B5B05296AF5AA /* [CP] Check Pods Manifest.lock */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputPaths = (
);
name = "[CP] Check Pods Manifest.lock";
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "diff \"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n";
showEnvVarsInLog = 0;
};
ACDAEA5B719693D7E6E65E33 /* [CP] Embed Pods Frameworks */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputPaths = (
);
name = "[CP] Embed Pods Frameworks";
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-Example/Pods-Example-frameworks.sh\"\n";
showEnvVarsInLog = 0;
};
/* End PBXShellScriptBuildPhase section */

/* Begin PBXSourcesBuildPhase section */
A00456C91D8CD52E00AC2AAC /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
A00456D31D8CD52E00AC2AAC /* ViewController.swift in Sources */,
A00456E41D8CD55300AC2AAC /* UICircularProgressRingView.swift in Sources */,
A00456E51D8CD55300AC2AAC /* UICircularProgressRingDelegate.swift in Sources */,
A00456D11D8CD52E00AC2AAC /* AppDelegate.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
Expand Down Expand Up @@ -267,6 +334,7 @@
};
A00456E01D8CD52E00AC2AAC /* Debug */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 8B2376CF61EB42685EE8039A /* Pods-Example.debug.xcconfig */;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
DEVELOPMENT_TEAM = 4FNMZ7SN42;
Expand All @@ -280,6 +348,7 @@
};
A00456E11D8CD52E00AC2AAC /* Release */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 82A3863291A912C5EB8F44D1 /* Pods-Example.release.xcconfig */;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
DEVELOPMENT_TEAM = 4FNMZ7SN42;
Expand Down Expand Up @@ -310,6 +379,7 @@
A00456E11D8CD52E00AC2AAC /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */
};
Expand Down
10 changes: 10 additions & 0 deletions Example/Example.xcworkspace/contents.xcworkspacedata

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions Example/Example/Base.lproj/Main.storyboard
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@
<viewControllerLayoutGuide type="bottom" id="wfy-db-euE"/>
</layoutGuides>
<view key="view" contentMode="scaleToFill" id="8bC-Xf-vdC">
<rect key="frame" x="0.0" y="0.0" width="414" height="736"/>
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="cUY-JQ-0vs" customClass="UICircularProgressRingView" customModule="Example" customModuleProvider="target">
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="cUY-JQ-0vs" customClass="UICircularProgressRingView" customModule="UICircularProgressRing">
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
<constraints>
<constraint firstAttribute="height" constant="240" id="9hi-7s-pex"/>
Expand Down Expand Up @@ -48,7 +48,7 @@
</userDefinedRuntimeAttribute>
</userDefinedRuntimeAttributes>
</view>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="vsN-GC-GWg" customClass="UICircularProgressRingView" customModule="Example" customModuleProvider="target">
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="vsN-GC-GWg" customClass="UICircularProgressRingView" customModule="UICircularProgressRing">
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
<constraints>
<constraint firstAttribute="height" constant="180" id="Rkz-dy-FUV"/>
Expand All @@ -75,7 +75,7 @@
</userDefinedRuntimeAttribute>
</userDefinedRuntimeAttributes>
</view>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="gPS-xO-zWD" customClass="UICircularProgressRingView" customModule="Example" customModuleProvider="target">
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="gPS-xO-zWD" customClass="UICircularProgressRingView" customModule="UICircularProgressRing">
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
<constraints>
<constraint firstAttribute="width" constant="120" id="Fc6-0m-vRZ"/>
Expand Down Expand Up @@ -127,14 +127,14 @@
</subviews>
<color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<constraints>
<constraint firstItem="jWR-af-gpB" firstAttribute="centerX" secondItem="gPS-xO-zWD" secondAttribute="centerX" id="5nL-fC-NGs"/>
<constraint firstItem="jWR-af-gpB" firstAttribute="centerX" secondItem="gPS-xO-zWD" secondAttribute="centerX" constant="-141.5" id="5nL-fC-NGs"/>
<constraint firstItem="gPS-xO-zWD" firstAttribute="centerX" secondItem="8bC-Xf-vdC" secondAttribute="centerX" id="AFT-oD-wak"/>
<constraint firstItem="vsN-GC-GWg" firstAttribute="centerX" secondItem="8bC-Xf-vdC" secondAttribute="centerX" id="GK3-hS-ChV"/>
<constraint firstItem="cUY-JQ-0vs" firstAttribute="top" secondItem="y3c-jy-aDJ" secondAttribute="bottom" constant="8" id="JDh-46-Ctc"/>
<constraint firstItem="vsN-GC-GWg" firstAttribute="top" secondItem="cUY-JQ-0vs" secondAttribute="bottom" constant="28" id="bdt-c7-Qqs"/>
<constraint firstItem="gPS-xO-zWD" firstAttribute="top" secondItem="vsN-GC-GWg" secondAttribute="bottom" constant="27" id="hLW-yS-VWx"/>
<constraint firstItem="cUY-JQ-0vs" firstAttribute="centerX" secondItem="8bC-Xf-vdC" secondAttribute="centerX" id="mTq-kk-ASZ"/>
<constraint firstItem="wfy-db-euE" firstAttribute="top" secondItem="jWR-af-gpB" secondAttribute="bottom" constant="67" id="x2G-48-dsv"/>
<constraint firstItem="wfy-db-euE" firstAttribute="top" secondItem="jWR-af-gpB" secondAttribute="bottom" constant="104" id="x2G-48-dsv"/>
</constraints>
</view>
<connections>
Expand Down
1 change: 1 addition & 0 deletions Example/Example/ViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
//

import UIKit
import UICircularProgressRing

class ViewController: UIViewController, UICircularProgressRingDelegate {

Expand Down
10 changes: 10 additions & 0 deletions Example/Podfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Uncomment the next line to define a global platform for your project
# platform :ios, '9.0'

target 'Example' do
# Comment the next line if you're not using Swift and don't want to use dynamic frameworks
use_frameworks!

# Pods for Example
pod 'UICircularProgressRing'
end
12 changes: 12 additions & 0 deletions Example/Podfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
PODS:
- UICircularProgressRing (0.9)

DEPENDENCIES:
- UICircularProgressRing

SPEC CHECKSUMS:
UICircularProgressRing: 9631375cb93135dd44f039319a41c6cce2c484da

PODFILE CHECKSUM: 1d97334167c5158e172614d245a9054c88858825

COCOAPODS: 1.1.0.rc.2
12 changes: 12 additions & 0 deletions Example/Pods/Manifest.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit ef62ddf

Please sign in to comment.