Skip to content

Commit 010ab60

Browse files
committed
update podfile and example
1 parent d08bafe commit 010ab60

9 files changed

Lines changed: 111 additions & 184 deletions

File tree

SIAlertView.podspec

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,6 @@ Pod::Spec.new do |s|
1414
s.requires_arc = true
1515
s.framework = 'QuartzCore'
1616
s.source_files = 'SIAlertView/*.{h,m}'
17+
s.dependency 'SIBaseKit'
18+
1719
end

SIAlertView/SISecondaryWindowRootViewController.h

Lines changed: 0 additions & 16 deletions
This file was deleted.

SIAlertView/SISecondaryWindowRootViewController.m

Lines changed: 0 additions & 75 deletions
This file was deleted.

SIAlertView/UIWindow+SIUtils.h

Lines changed: 0 additions & 20 deletions
This file was deleted.

SIAlertView/UIWindow+SIUtils.m

Lines changed: 0 additions & 46 deletions
This file was deleted.

SIAlertViewExample/Podfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
source 'https://github.com/CocoaPods/Specs.git'
2+
3+
target 'SIAlertViewExample', :exclusive => true do
4+
pod "SIAlertView", :path => "../"
5+
end

SIAlertViewExample/SIAlertViewExample.xcodeproj/project.pbxproj

Lines changed: 53 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
objects = {
88

99
/* Begin PBXBuildFile section */
10+
700D5CFCBF6D6D91C9CC4B51 /* libPods-SIAlertViewExample.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 80D869DE48811422A3FEDF28 /* libPods-SIAlertViewExample.a */; };
1011
72AD5C9217BD1B7200A85539 /* button-cancel-d.png in Resources */ = {isa = PBXBuildFile; fileRef = 72AD5C8617BD1B7200A85539 /* button-cancel-d.png */; };
1112
72AD5C9317BD1B7200A85539 /* [email protected] in Resources */ = {isa = PBXBuildFile; fileRef = 72AD5C8717BD1B7200A85539 /* [email protected] */; };
1213
72AD5C9417BD1B7200A85539 /* button-cancel.png in Resources */ = {isa = PBXBuildFile; fileRef = 72AD5C8817BD1B7200A85539 /* button-cancel.png */; };
@@ -31,17 +32,15 @@
3132
7E23C68C17325EAB00784CF1 /* MainStoryboard_iPhone.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 7E23C68A17325EAB00784CF1 /* MainStoryboard_iPhone.storyboard */; };
3233
7E23C68F17325EAB00784CF1 /* MainStoryboard_iPad.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 7E23C68D17325EAB00784CF1 /* MainStoryboard_iPad.storyboard */; };
3334
7E23C69217325EAB00784CF1 /* ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 7E23C69117325EAB00784CF1 /* ViewController.m */; };
34-
7E23C69D17325EBD00784CF1 /* SIAlertView.m in Sources */ = {isa = PBXBuildFile; fileRef = 7E23C69B17325EBD00784CF1 /* SIAlertView.m */; };
3535
7E23C69F1732606200784CF1 /* QuartzCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 7E23C69E1732606200784CF1 /* QuartzCore.framework */; };
3636
7E23C6A11732775E00784CF1 /* Icon.png in Resources */ = {isa = PBXBuildFile; fileRef = 7E23C6A01732775E00784CF1 /* Icon.png */; };
3737
7E23C6A31732776100784CF1 /* [email protected] in Resources */ = {isa = PBXBuildFile; fileRef = 7E23C6A21732776100784CF1 /* [email protected] */; };
3838
7E23C6A8173277EA00784CF1 /* Icon-72.png in Resources */ = {isa = PBXBuildFile; fileRef = 7E23C6A7173277EA00784CF1 /* Icon-72.png */; };
3939
7E23C6AA173277EE00784CF1 /* [email protected] in Resources */ = {isa = PBXBuildFile; fileRef = 7E23C6A9173277EE00784CF1 /* [email protected] */; };
40-
7E5D24C318ADF36F00B21A14 /* SISecondaryWindowRootViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 7E5D24C218ADF36F00B21A14 /* SISecondaryWindowRootViewController.m */; };
41-
7EEECA69182350B1001FEDF5 /* UIWindow+SIUtils.m in Sources */ = {isa = PBXBuildFile; fileRef = 7EEECA68182350B1001FEDF5 /* UIWindow+SIUtils.m */; };
4240
/* End PBXBuildFile section */
4341

4442
/* Begin PBXFileReference section */
43+
438365DA14CAB62B0C091A86 /* Pods-SIAlertViewExample.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SIAlertViewExample.release.xcconfig"; path = "Pods/Target Support Files/Pods-SIAlertViewExample/Pods-SIAlertViewExample.release.xcconfig"; sourceTree = "<group>"; };
4544
72AD5C8617BD1B7200A85539 /* button-cancel-d.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "button-cancel-d.png"; sourceTree = "<group>"; };
4645
72AD5C8717BD1B7200A85539 /* [email protected] */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "[email protected]"; sourceTree = "<group>"; };
4746
72AD5C8817BD1B7200A85539 /* button-cancel.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "button-cancel.png"; sourceTree = "<group>"; };
@@ -71,17 +70,13 @@
7170
7E23C68E17325EAB00784CF1 /* en */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = en; path = en.lproj/MainStoryboard_iPad.storyboard; sourceTree = "<group>"; };
7271
7E23C69017325EAB00784CF1 /* ViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ViewController.h; sourceTree = "<group>"; };
7372
7E23C69117325EAB00784CF1 /* ViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ViewController.m; sourceTree = "<group>"; };
74-
7E23C69A17325EBD00784CF1 /* SIAlertView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SIAlertView.h; sourceTree = "<group>"; };
75-
7E23C69B17325EBD00784CF1 /* SIAlertView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SIAlertView.m; sourceTree = "<group>"; };
7673
7E23C69E1732606200784CF1 /* QuartzCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = QuartzCore.framework; path = System/Library/Frameworks/QuartzCore.framework; sourceTree = SDKROOT; };
7774
7E23C6A01732775E00784CF1 /* Icon.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = Icon.png; sourceTree = "<group>"; };
7875
7E23C6A21732776100784CF1 /* [email protected] */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "[email protected]"; sourceTree = "<group>"; };
7976
7E23C6A7173277EA00784CF1 /* Icon-72.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Icon-72.png"; sourceTree = "<group>"; };
8077
7E23C6A9173277EE00784CF1 /* [email protected] */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "[email protected]"; sourceTree = "<group>"; };
81-
7E5D24C118ADF36F00B21A14 /* SISecondaryWindowRootViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SISecondaryWindowRootViewController.h; sourceTree = "<group>"; };
82-
7E5D24C218ADF36F00B21A14 /* SISecondaryWindowRootViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SISecondaryWindowRootViewController.m; sourceTree = "<group>"; };
83-
7EEECA67182350B1001FEDF5 /* UIWindow+SIUtils.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "UIWindow+SIUtils.h"; sourceTree = "<group>"; };
84-
7EEECA68182350B1001FEDF5 /* UIWindow+SIUtils.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "UIWindow+SIUtils.m"; sourceTree = "<group>"; };
78+
80D869DE48811422A3FEDF28 /* libPods-SIAlertViewExample.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-SIAlertViewExample.a"; sourceTree = BUILT_PRODUCTS_DIR; };
79+
AF944B3F4BA8E0481A9BC1D2 /* Pods-SIAlertViewExample.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SIAlertViewExample.debug.xcconfig"; path = "Pods/Target Support Files/Pods-SIAlertViewExample/Pods-SIAlertViewExample.debug.xcconfig"; sourceTree = "<group>"; };
8580
/* End PBXFileReference section */
8681

8782
/* Begin PBXFrameworksBuildPhase section */
@@ -93,12 +88,22 @@
9388
7E23C67317325EAA00784CF1 /* UIKit.framework in Frameworks */,
9489
7E23C67517325EAA00784CF1 /* Foundation.framework in Frameworks */,
9590
7E23C67717325EAA00784CF1 /* CoreGraphics.framework in Frameworks */,
91+
700D5CFCBF6D6D91C9CC4B51 /* libPods-SIAlertViewExample.a in Frameworks */,
9692
);
9793
runOnlyForDeploymentPostprocessing = 0;
9894
};
9995
/* End PBXFrameworksBuildPhase section */
10096

10197
/* Begin PBXGroup section */
98+
6CF4A2260EC460D6079DDF3B /* Pods */ = {
99+
isa = PBXGroup;
100+
children = (
101+
AF944B3F4BA8E0481A9BC1D2 /* Pods-SIAlertViewExample.debug.xcconfig */,
102+
438365DA14CAB62B0C091A86 /* Pods-SIAlertViewExample.release.xcconfig */,
103+
);
104+
name = Pods;
105+
sourceTree = "<group>";
106+
};
102107
72AD5C8517BD1B7200A85539 /* Button Images */ = {
103108
isa = PBXGroup;
104109
children = (
@@ -121,10 +126,10 @@
121126
7E23C66617325EAA00784CF1 = {
122127
isa = PBXGroup;
123128
children = (
124-
7E23C69817325EBD00784CF1 /* SIAlertView */,
125129
7E23C67817325EAA00784CF1 /* SIAlertViewExample */,
126130
7E23C67117325EAA00784CF1 /* Frameworks */,
127131
7E23C67017325EAA00784CF1 /* Products */,
132+
6CF4A2260EC460D6079DDF3B /* Pods */,
128133
);
129134
sourceTree = "<group>";
130135
};
@@ -143,6 +148,7 @@
143148
7E23C67217325EAA00784CF1 /* UIKit.framework */,
144149
7E23C67417325EAA00784CF1 /* Foundation.framework */,
145150
7E23C67617325EAA00784CF1 /* CoreGraphics.framework */,
151+
80D869DE48811422A3FEDF28 /* libPods-SIAlertViewExample.a */,
146152
);
147153
name = Frameworks;
148154
sourceTree = "<group>";
@@ -173,20 +179,6 @@
173179
name = "Supporting Files";
174180
sourceTree = "<group>";
175181
};
176-
7E23C69817325EBD00784CF1 /* SIAlertView */ = {
177-
isa = PBXGroup;
178-
children = (
179-
7E23C69A17325EBD00784CF1 /* SIAlertView.h */,
180-
7E23C69B17325EBD00784CF1 /* SIAlertView.m */,
181-
7E5D24C118ADF36F00B21A14 /* SISecondaryWindowRootViewController.h */,
182-
7E5D24C218ADF36F00B21A14 /* SISecondaryWindowRootViewController.m */,
183-
7EEECA67182350B1001FEDF5 /* UIWindow+SIUtils.h */,
184-
7EEECA68182350B1001FEDF5 /* UIWindow+SIUtils.m */,
185-
);
186-
name = SIAlertView;
187-
path = ../SIAlertView;
188-
sourceTree = "<group>";
189-
};
190182
7E23C6A41732776700784CF1 /* Icons */ = {
191183
isa = PBXGroup;
192184
children = (
@@ -226,9 +218,11 @@
226218
isa = PBXNativeTarget;
227219
buildConfigurationList = 7E23C69517325EAB00784CF1 /* Build configuration list for PBXNativeTarget "SIAlertViewExample" */;
228220
buildPhases = (
221+
6F9847BB93C5865F739E0533 /* Check Pods Manifest.lock */,
229222
7E23C66B17325EAA00784CF1 /* Sources */,
230223
7E23C66C17325EAA00784CF1 /* Frameworks */,
231224
7E23C66D17325EAA00784CF1 /* Resources */,
225+
9962F9BD51673430C67AD165 /* Copy Pods Resources */,
232226
);
233227
buildRules = (
234228
);
@@ -297,17 +291,47 @@
297291
};
298292
/* End PBXResourcesBuildPhase section */
299293

294+
/* Begin PBXShellScriptBuildPhase section */
295+
6F9847BB93C5865F739E0533 /* Check Pods Manifest.lock */ = {
296+
isa = PBXShellScriptBuildPhase;
297+
buildActionMask = 2147483647;
298+
files = (
299+
);
300+
inputPaths = (
301+
);
302+
name = "Check Pods Manifest.lock";
303+
outputPaths = (
304+
);
305+
runOnlyForDeploymentPostprocessing = 0;
306+
shellPath = /bin/sh;
307+
shellScript = "diff \"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [[ $? != 0 ]] ; then\n cat << EOM\nerror: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\nEOM\n exit 1\nfi\n";
308+
showEnvVarsInLog = 0;
309+
};
310+
9962F9BD51673430C67AD165 /* Copy Pods Resources */ = {
311+
isa = PBXShellScriptBuildPhase;
312+
buildActionMask = 2147483647;
313+
files = (
314+
);
315+
inputPaths = (
316+
);
317+
name = "Copy Pods Resources";
318+
outputPaths = (
319+
);
320+
runOnlyForDeploymentPostprocessing = 0;
321+
shellPath = /bin/sh;
322+
shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-SIAlertViewExample/Pods-SIAlertViewExample-resources.sh\"\n";
323+
showEnvVarsInLog = 0;
324+
};
325+
/* End PBXShellScriptBuildPhase section */
326+
300327
/* Begin PBXSourcesBuildPhase section */
301328
7E23C66B17325EAA00784CF1 /* Sources */ = {
302329
isa = PBXSourcesBuildPhase;
303330
buildActionMask = 2147483647;
304331
files = (
305332
7E23C67F17325EAA00784CF1 /* main.m in Sources */,
306-
7E5D24C318ADF36F00B21A14 /* SISecondaryWindowRootViewController.m in Sources */,
307333
7E23C68317325EAA00784CF1 /* AppDelegate.m in Sources */,
308334
7E23C69217325EAB00784CF1 /* ViewController.m in Sources */,
309-
7E23C69D17325EBD00784CF1 /* SIAlertView.m in Sources */,
310-
7EEECA69182350B1001FEDF5 /* UIWindow+SIUtils.m in Sources */,
311335
);
312336
runOnlyForDeploymentPostprocessing = 0;
313337
};
@@ -401,6 +425,7 @@
401425
};
402426
7E23C69617325EAB00784CF1 /* Debug */ = {
403427
isa = XCBuildConfiguration;
428+
baseConfigurationReference = AF944B3F4BA8E0481A9BC1D2 /* Pods-SIAlertViewExample.debug.xcconfig */;
404429
buildSettings = {
405430
GCC_PRECOMPILE_PREFIX_HEADER = YES;
406431
GCC_PREFIX_HEADER = "SIAlertViewExample/SIAlertViewExample-Prefix.pch";
@@ -413,6 +438,7 @@
413438
};
414439
7E23C69717325EAB00784CF1 /* Release */ = {
415440
isa = XCBuildConfiguration;
441+
baseConfigurationReference = 438365DA14CAB62B0C091A86 /* Pods-SIAlertViewExample.release.xcconfig */;
416442
buildSettings = {
417443
GCC_PRECOMPILE_PREFIX_HEADER = YES;
418444
GCC_PREFIX_HEADER = "SIAlertViewExample/SIAlertViewExample-Prefix.pch";

SIAlertViewExample/SIAlertViewExample.xcworkspace/contents.xcworkspacedata

Lines changed: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)