Skip to content

Commit 9dd1c06

Browse files
New activity sheet and iOS 7 icons
1 parent 87034e1 commit 9dd1c06

27 files changed

+122
-116
lines changed

.gitignore

+4-1
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,7 @@ build/
1818

1919
# Backup files
2020
*~.nib
21-
/ graphics/
21+
/ graphics/
22+
23+
# Cocoapods
24+
Pods

Demo/Podfile

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
platform :ios, '7.0'
2+
3+
pod 'ARChromeActivity', '~> 1.0.1'
4+
pod 'TUSafariActivity', '~> 1.0.0'

Demo/Podfile.lock

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
PODS:
2+
- ARChromeActivity (1.0.1)
3+
- TUSafariActivity (1.0.0)
4+
5+
DEPENDENCIES:
6+
- ARChromeActivity (~> 1.0.1)
7+
- TUSafariActivity (~> 1.0.0)
8+
9+
SPEC CHECKSUMS:
10+
ARChromeActivity: eb9770a933cfe2b914b8e4e22b684eb7f43f24df
11+
TUSafariActivity: bd9da588f5f9136ba445d89f8f86b6dccf4d46ba
12+
13+
COCOAPODS: 0.25.0

Demo/SVWeb.xcodeproj/project.pbxproj

+44-5
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@
1212
1D60589F0D05DD5A006BFB54 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1D30AB110D05D00D00671497 /* Foundation.framework */; };
1313
1DF5F4E00D08C38300B7A737 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1DF5F4DF0D08C38300B7A737 /* UIKit.framework */; };
1414
220F0B9F138E0EF400F59FC3 /* SVWebViewController.bundle in Resources */ = {isa = PBXBuildFile; fileRef = 220F0B9E138E0EF400F59FC3 /* SVWebViewController.bundle */; };
15-
221458A013133B3600ED7D83 /* MessageUI.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2214589F13133B3600ED7D83 /* MessageUI.framework */; };
1615
221C80AF13BBDA2F005F0AB8 /* SVWebViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 221C80AE13BBDA2F005F0AB8 /* SVWebViewController.m */; };
1716
22473B9C133800DD00F497E6 /* MainWindow-iPad.xib in Resources */ = {isa = PBXBuildFile; fileRef = 22473B9B133800DD00F497E6 /* MainWindow-iPad.xib */; };
1817
22F087701458794B003ECD31 /* SVModalWebViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 22F0876F1458794B003ECD31 /* SVModalWebViewController.m */; };
1918
22F0877214587BBF003ECD31 /* README.textile in Resources */ = {isa = PBXBuildFile; fileRef = 22F0877114587BBF003ECD31 /* README.textile */; };
2019
28AD73600D9D9599002E5188 /* MainWindow.xib in Resources */ = {isa = PBXBuildFile; fileRef = 28AD735F0D9D9599002E5188 /* MainWindow.xib */; };
2120
28C286E10D94DF7D0034E888 /* ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 28C286E00D94DF7D0034E888 /* ViewController.m */; };
2221
28F335F11007B36200424DE2 /* ViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = 28F335F01007B36200424DE2 /* ViewController.xib */; };
22+
6854F46C91114217BF1613B7 /* libPods.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 6DAD2E4EAB184F72ACE29999 /* libPods.a */; };
2323
D53D8F1316A8688600711E30 /* SVWebViewController.strings in Resources */ = {isa = PBXBuildFile; fileRef = D53D8F1516A8688600711E30 /* SVWebViewController.strings */; };
2424
D5FA63C516A8707A0087531C /* [email protected] in Resources */ = {isa = PBXBuildFile; fileRef = D5FA63C416A8707A0087531C /* [email protected] */; };
2525
/* End PBXBuildFile section */
@@ -32,7 +32,6 @@
3232
1D6058910D05DD3D006BFB54 /* SVWeb.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = SVWeb.app; sourceTree = BUILT_PRODUCTS_DIR; };
3333
1DF5F4DF0D08C38300B7A737 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; };
3434
220F0B9E138E0EF400F59FC3 /* SVWebViewController.bundle */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.plug-in"; path = SVWebViewController.bundle; sourceTree = "<group>"; };
35-
2214589F13133B3600ED7D83 /* MessageUI.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = MessageUI.framework; path = System/Library/Frameworks/MessageUI.framework; sourceTree = SDKROOT; };
3635
221C80AD13BBDA2F005F0AB8 /* SVWebViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SVWebViewController.h; sourceTree = "<group>"; };
3736
221C80AE13BBDA2F005F0AB8 /* SVWebViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SVWebViewController.m; sourceTree = "<group>"; };
3837
22473B9B133800DD00F497E6 /* MainWindow-iPad.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = "MainWindow-iPad.xib"; path = "Resources-iPad/MainWindow-iPad.xib"; sourceTree = "<group>"; };
@@ -46,7 +45,9 @@
4645
28F335F01007B36200424DE2 /* ViewController.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = ViewController.xib; path = ../ViewController.xib; sourceTree = "<group>"; };
4746
29B97316FDCFA39411CA2CEA /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
4847
431F485D17145A510045AA32 /* fr */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = fr; path = fr.lproj/SVWebViewController.strings; sourceTree = "<group>"; };
48+
6DAD2E4EAB184F72ACE29999 /* libPods.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libPods.a; sourceTree = BUILT_PRODUCTS_DIR; };
4949
8D1107310486CEB800E47090 /* SVWeb-Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = "SVWeb-Info.plist"; plistStructureDefinitionIdentifier = "com.apple.xcode.plist.structure-definition.iphone.info-plist"; sourceTree = "<group>"; };
50+
A0667BBC457D4307AC51AC26 /* Pods.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = Pods.xcconfig; path = Pods/Pods.xcconfig; sourceTree = "<group>"; };
5051
D53D8F1716A868C900711E30 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/SVWebViewController.strings; sourceTree = "<group>"; };
5152
D53D8F1816A8693200711E30 /* es-ES */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "es-ES"; path = "es-ES.lproj/SVWebViewController.strings"; sourceTree = "<group>"; };
5253
D53D8F1916A8693A00711E30 /* es */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = es; path = es.lproj/SVWebViewController.strings; sourceTree = "<group>"; };
@@ -60,7 +61,7 @@
6061
files = (
6162
1D60589F0D05DD5A006BFB54 /* Foundation.framework in Frameworks */,
6263
1DF5F4E00D08C38300B7A737 /* UIKit.framework in Frameworks */,
63-
221458A013133B3600ED7D83 /* MessageUI.framework in Frameworks */,
64+
6854F46C91114217BF1613B7 /* libPods.a in Frameworks */,
6465
);
6566
runOnlyForDeploymentPostprocessing = 0;
6667
};
@@ -92,9 +93,9 @@
9293
children = (
9394
22F0876E1458794B003ECD31 /* SVModalWebViewController.h */,
9495
22F0876F1458794B003ECD31 /* SVModalWebViewController.m */,
96+
220F0B9E138E0EF400F59FC3 /* SVWebViewController.bundle */,
9597
221C80AD13BBDA2F005F0AB8 /* SVWebViewController.h */,
9698
221C80AE13BBDA2F005F0AB8 /* SVWebViewController.m */,
97-
220F0B9E138E0EF400F59FC3 /* SVWebViewController.bundle */,
9899
D53D8F1516A8688600711E30 /* SVWebViewController.strings */,
99100
);
100101
name = SVWebViewController;
@@ -121,6 +122,7 @@
121122
22473B9A133800DC00F497E6 /* Resources-iPad */,
122123
29B97323FDCFA39411CA2CEA /* Frameworks */,
123124
19C28FACFE9D520D11CA2CBB /* Products */,
125+
A0667BBC457D4307AC51AC26 /* Pods.xcconfig */,
124126
);
125127
name = CustomTemplate;
126128
sourceTree = "<group>";
@@ -146,9 +148,9 @@
146148
29B97323FDCFA39411CA2CEA /* Frameworks */ = {
147149
isa = PBXGroup;
148150
children = (
149-
2214589F13133B3600ED7D83 /* MessageUI.framework */,
150151
1DF5F4DF0D08C38300B7A737 /* UIKit.framework */,
151152
1D30AB110D05D00D00671497 /* Foundation.framework */,
153+
6DAD2E4EAB184F72ACE29999 /* libPods.a */,
152154
);
153155
name = Frameworks;
154156
sourceTree = "<group>";
@@ -160,9 +162,11 @@
160162
isa = PBXNativeTarget;
161163
buildConfigurationList = 1D6058960D05DD3E006BFB54 /* Build configuration list for PBXNativeTarget "SVWeb" */;
162164
buildPhases = (
165+
F7D0ADF41914424E8654B4CF /* Check Pods Manifest.lock */,
163166
1D60588D0D05DD3D006BFB54 /* Resources */,
164167
1D60588E0D05DD3D006BFB54 /* Sources */,
165168
1D60588F0D05DD3D006BFB54 /* Frameworks */,
169+
0D38A532869148FABE9BA85B /* Copy Pods Resources */,
166170
);
167171
buildRules = (
168172
);
@@ -223,6 +227,39 @@
223227
};
224228
/* End PBXResourcesBuildPhase section */
225229

230+
/* Begin PBXShellScriptBuildPhase section */
231+
0D38A532869148FABE9BA85B /* Copy Pods Resources */ = {
232+
isa = PBXShellScriptBuildPhase;
233+
buildActionMask = 2147483647;
234+
files = (
235+
);
236+
inputPaths = (
237+
);
238+
name = "Copy Pods Resources";
239+
outputPaths = (
240+
);
241+
runOnlyForDeploymentPostprocessing = 0;
242+
shellPath = /bin/sh;
243+
shellScript = "\"${SRCROOT}/Pods/Pods-resources.sh\"\n";
244+
showEnvVarsInLog = 0;
245+
};
246+
F7D0ADF41914424E8654B4CF /* Check Pods Manifest.lock */ = {
247+
isa = PBXShellScriptBuildPhase;
248+
buildActionMask = 2147483647;
249+
files = (
250+
);
251+
inputPaths = (
252+
);
253+
name = "Check Pods Manifest.lock";
254+
outputPaths = (
255+
);
256+
runOnlyForDeploymentPostprocessing = 0;
257+
shellPath = /bin/sh;
258+
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";
259+
showEnvVarsInLog = 0;
260+
};
261+
/* End PBXShellScriptBuildPhase section */
262+
226263
/* Begin PBXSourcesBuildPhase section */
227264
1D60588E0D05DD3D006BFB54 /* Sources */ = {
228265
isa = PBXSourcesBuildPhase;
@@ -256,6 +293,7 @@
256293
/* Begin XCBuildConfiguration section */
257294
1D6058940D05DD3E006BFB54 /* Debug */ = {
258295
isa = XCBuildConfiguration;
296+
baseConfigurationReference = A0667BBC457D4307AC51AC26 /* Pods.xcconfig */;
259297
buildSettings = {
260298
ALWAYS_SEARCH_USER_PATHS = NO;
261299
CLANG_ENABLE_OBJC_ARC = YES;
@@ -274,6 +312,7 @@
274312
};
275313
1D6058950D05DD3E006BFB54 /* Release */ = {
276314
isa = XCBuildConfiguration;
315+
baseConfigurationReference = A0667BBC457D4307AC51AC26 /* Pods.xcconfig */;
277316
buildSettings = {
278317
ALWAYS_SEARCH_USER_PATHS = NO;
279318
CLANG_ENABLE_OBJC_ARC = YES;

Demo/SVWeb.xcworkspace/contents.xcworkspacedata

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>IDESourceControlProjectFavoriteDictionaryKey</key>
6+
<false/>
7+
<key>IDESourceControlProjectIdentifier</key>
8+
<string>E813A30E-2C77-49AF-A424-EFE0CBF2FF77</string>
9+
<key>IDESourceControlProjectName</key>
10+
<string>SVWeb</string>
11+
<key>IDESourceControlProjectOriginsDictionary</key>
12+
<dict>
13+
<key>5405DCE6-54CE-4B17-83ED-48A2AF405BD4</key>
14+
<string>ssh://github.com/gabrielrinaldi/SVWebViewController.git</string>
15+
</dict>
16+
<key>IDESourceControlProjectPath</key>
17+
<string>Demo/SVWeb.xcworkspace</string>
18+
<key>IDESourceControlProjectRelativeInstallPathDictionary</key>
19+
<dict>
20+
<key>5405DCE6-54CE-4B17-83ED-48A2AF405BD4</key>
21+
<string>../..</string>
22+
</dict>
23+
<key>IDESourceControlProjectURL</key>
24+
<string>ssh://github.com/gabrielrinaldi/SVWebViewController.git</string>
25+
<key>IDESourceControlProjectVersion</key>
26+
<integer>110</integer>
27+
<key>IDESourceControlProjectWCCIdentifier</key>
28+
<string>5405DCE6-54CE-4B17-83ED-48A2AF405BD4</string>
29+
<key>IDESourceControlProjectWCConfigurations</key>
30+
<array>
31+
<dict>
32+
<key>IDESourceControlRepositoryExtensionIdentifierKey</key>
33+
<string>public.vcs.git</string>
34+
<key>IDESourceControlWCCIdentifierKey</key>
35+
<string>5405DCE6-54CE-4B17-83ED-48A2AF405BD4</string>
36+
<key>IDESourceControlWCCName</key>
37+
<string>SVWebViewController</string>
38+
</dict>
39+
</array>
40+
</dict>
41+
</plist>

SVWebViewController.podspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ Pod::Spec.new do |s|
99
s.platform = :ios
1010
s.source_files = 'SVWebViewController/*.{h,m}'
1111
s.resources = 'SVWebViewController/SVWebViewController.bundle'
12-
s.framework = 'MessageUI'
12+
s.dependencies = 'ARChromeActivity', 'TUSafariActivity'
1313
s.requires_arc = true
1414
end
Loading
Loading
Loading
Loading
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

SVWebViewController/SVWebViewController.h

+3-2
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,13 @@
66
//
77
// https://github.com/samvermette/SVWebViewController
88

9-
#import <MessageUI/MessageUI.h>
10-
119
#import "SVModalWebViewController.h"
1210

1311
@interface SVWebViewController : UIViewController
1412

13+
// For "Open in Chrome" action if you are using it
14+
@property (strong, nonatomic) NSURL *callbackURL;
15+
1516
- (id)initWithAddress:(NSString*)urlString;
1617
- (id)initWithURL:(NSURL*)URL;
1718

0 commit comments

Comments
 (0)